» tagged pages
» logout

sorted by: recent | see : popular
Content Tagged with tips + Java

How to deploy JSR181 annotated class in Apache Axis2

JAX-WS (Java API for XML Web Services) provides support for annotating Java classes with metadata to indicate that the Java class is a Web service. With the annotations, you can expose java classes as web services with minimum effort. Apache Axis2 ships with JAX-WS support since its 1.4 release. This post explains the simplest possible scenario of JAX-WS support, how you can deploy an annotated class in Axis2.

JAX-WS: del.icio.us/tag/jax-ws

Google Testing Blog: To "new" or not to "new"... - Vimperator

Dependency injection asks us to separate the new operators from the application logic. This separation forces your code to have factories which are responsible for wiring your application together. However, better than writing factories, we want to use automatic dependency injection such as GUICE to do the wiring for us. But can DI really save us from all of the new operators? Lets look at two extremes. Say you have a class MusicPlayer which needs to get a hold of AudioDevice. Here we want to use DI and ask for the AudioDevice in the constructor of the MusicPlayer. This will allow us to inject a test friendly AudioDevice which we can use to assert that correct sound is coming out of our MusicPlayer. If we were to use the new operator to instantiate the BuiltInSpeakerAudioDevice we would have hard time testing....

PicoContainer: del.icio.us tag/picocontainer

In Relation To... Handling failure with Hibernate

Hibernate does have the features to allow you to avoid failure and anti-patterns

Hibernate: del.icio.us tag/hibernate

Eclipse - Open the windows explorer with a file

Create an external tool with location ${env_var:SystemRoot}\explorer.exe and arguments /select,${resource_loc} . Any selected file or directory can now be shown in the windows explorer.

Eclipse: del.icio.us/tag/eclipse

Page 1 | Next >>