Archive for the ‘java’ Category
Wednesday, July 23rd, 2008
Lately I have been working with Glassfish v2 and local EJB3. Everything worked perfectly until I have decided to leverage the Spring Framework for my web component.
Glassfish only supports @EJB annotation on limited types of classes, namely Servlets and other EJBs. Injection in POJOs are not supported:
"Injection is not supported ...
Posted in java, spring | 2 Comments »
Tuesday, March 18th, 2008
Today I would like to touch a subject which is often trivialized by many software craftsmen - use of white space and coding standards compliance.
I work in an environment where two (or more) subcontractors often work on the same project, many times concurrently; where coding standards and clean coding ...
Posted in coding standards, java, subcontactors | 2 Comments »
Thursday, March 6th, 2008
For a couple of past days I have been struggling with a problem with Spring's PropertyPlaceholderConfigurer. I coudn't get it to work in a way PropertiesFactoryBean is working. I wanted it to act in a similar way:
<bean id="properties" class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
...
Posted in java, spring | 4 Comments »