Tag: spring

J2EE Java

WSAD doesn’t suck so much after all

The last couple of weeks have been very interesting, as I was in the last stages of a project at work. I no longer hate WSAD (Websphere Studio Application Developer) so much. I still find a lot of missing features from the latest Eclipse releases (WSAD is based on Eclipse 2.x), but I found the […]

Guillermo Castro 
Java

Unit Testing with Mock Objects (and Spring)

I was looking into some information on how to do unit testing using mock objects. Since I’m using Spring, I’m also considering this into the equation. So far, I have found some nice articles, like this one linked from TheServerSide, which talks about unit testing and mock objects in general, and provide some examples. I […]

Guillermo Castro 
Tips

Accessing a Spring bean from a servlet

I’m using Ajaxtags to implement an ajax-enabled form with dynamic dropdown fields. In order to access my DAO object (which is a Spring managed bean)  to get the dropdown options, I had to have access to the Application context from a regular Servlet. The solution is very simple, but since I had some troubles finding […]

Guillermo Castro