Apache CXF Proxy Setting for Client with httpConduit

Many times its required to run the webservice clients from within the company firewall. This require to go through a proxy, in Apache CXF webservice framework you can specify the Proxy setting for client code in cxf.xml file. You will need to place this file in the class path of your client application. Here is the setting one will require put

<beans xmlns="http://www.springframework.org/schema/beans"
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
http://cxf.apache.org/transports/http/configuration http://cxf.apache.org/schemas/configuration/http-conf.xsd">

<http-conf:conduit name="*.http-conduit">
<http-conf:client ProxyServer="http://www-url-to-my-proxy.com" ProxyServerPort="80" />



Why do we need GUICE ?

I was looking at one of the tech videos on GUICE framework. As I am not very familiar with this framework and I had some time on hand , I decided to go ahead and see this presentation.

Here are the important features discussed for Guice in this presentation

1. Dependency Injection
2. Modularize Code
3. Guice Servlet dispatcher
4. AOP – for transactions
5. Introspection for various Modules to see if dependency is broken

We can achieve all this features using Spring Framework and Maven. I guess maven is excellent tool to develop code in Modular fashion. You can divide your application in modules and these can be used across any other applications (if well defined). Plus Spring Framework provides the pretty good dependency injection and AOP.

So overall I am not sure as “Why GUICE ?”, when we can get the better things done through already well established framework. May be I will need to do some hands on to be able to find a better answer to this question



The scripting languages are gaining grounds at much more rapid pace. The scripting languages such as Groovy, and more recently Scala has added advantage as they give a mix of static language, dynamic language and functional language. I have worked on Groovy before during my with Grails framework, (which i believe is pretty good framework) but recently i have come across the Scala language. Currently my understanding of this language is kind of limited. But initial impression of this language seems to be very promising to me. Here is one of the interesting blog post i found, it gives comparision between Scala features and Groovy features. It also discusses other important features of Scala.


Ora 911 invalid characters in sql statement

If you get this error please make sure that the sql statement does not have any special characters in it. One of the most common issue is of adding
a semi colon ; at the end of sql statement.