Side Projects
Want to generate your own T-shirt with a customized QRCode on it? Get yours here!
Meta
Tags
-
Recent Posts
Recent Comments
- Sam on Configuring a static IP on Debian Wheezy for Raspberry Pi
- Asvini on DeploymentScanner timeouts on OpenShift JBoss AS7
- Peter Arnhem on Configuring a static IP on Debian Wheezy for Raspberry Pi
- poorna.sg on DeploymentScanner timeouts on OpenShift JBoss AS7
- Juan Carlos on Installing and hosting a Joomla site on OpenShift
Archives
- May 2013 (1)
- April 2013 (1)
- March 2013 (1)
- February 2013 (7)
- January 2013 (10)
- December 2012 (14)
- November 2012 (18)
- October 2012 (8)
- September 2012 (3)
- August 2012 (5)
- July 2012 (14)
- June 2012 (11)
- May 2012 (12)
- April 2012 (12)
- March 2012 (27)
- February 2012 (11)
- January 2012 (9)
- December 2011 (3)
- November 2011 (7)
- October 2011 (8)
- September 2011 (1)
- August 2011 (5)
- July 2011 (5)
- June 2011 (5)
- May 2011 (4)
- April 2011 (3)
- March 2011 (15)
- February 2011 (5)
- January 2011 (8)
- December 2010 (7)
- November 2010 (4)
- October 2010 (4)
- September 2010 (2)
- August 2010 (3)
- July 2010 (8)
- June 2010 (2)
- May 2010 (3)
- April 2010 (1)
- March 2010 (7)
- February 2010 (4)
- January 2010 (9)
- December 2009 (13)
- November 2009 (18)
- October 2009 (15)
- September 2009 (17)
- August 2009 (24)
- July 2009 (23)
- June 2009 (18)
- May 2009 (12)
- November 2007 (20)
- October 2007 (26)
- September 2007 (5)
- August 2007 (13)
- July 2007 (7)
- June 2007 (9)
- May 2007 (14)
- April 2007 (4)
- March 2007 (18)
- February 2007 (11)
- January 2007 (14)
- December 2006 (10)
- November 2006 (38)
- October 2006 (29)
- September 2006 (25)
- August 2006 (44)
- July 2006 (36)
- June 2006 (37)
- May 2006 (38)
- April 2006 (27)
- March 2006 (52)
- February 2006 (43)
- January 2006 (38)
- December 2005 (33)
- November 2005 (33)
- October 2005 (15)
- September 2005 (22)
- August 2005 (40)
- July 2005 (19)
- June 2005 (18)
- May 2005 (10)
- April 2005 (8)
- March 2005 (25)
- February 2005 (26)
- January 2005 (24)
- December 2004 (13)
- November 2004 (7)
- October 2004 (12)
- September 2004 (7)
- August 2004 (7)
- July 2004 (10)
- June 2004 (7)
- May 2004 (9)
- April 2004 (13)
- March 2004 (14)
- February 2004 (8)
- January 2004 (11)
- December 2003 (12)
- November 2003 (12)
- March 2003 (18)
- February 2003 (15)
- January 2003 (5)
Categories
Tag Archives: java
Spring Roo @RooEntity from 1.1.x replaced in 1.2.x
If you have an older Spring Roo project created from Spring Roo 1.1.x and you’re trying to imported it to a more recent STS version and/or trying to upgrade to a later 1.2.x version of Spring Roo, you may be … Continue reading
Adding jars to your OpenShift remote Maven repo
If your OpenShift app has dependencies on other Jars that are not publicly available in the usual maven repos (for example, other Jars from your own projects), you can push them to your remote Maven repo used when your app … Continue reading
Accessing Glassfish server admin when you’ve forgotten your admin password
For my own development I frequently rotate between different app servers and different versions, Tomcat, JBoss AS, Glassfish, trouble is when you work with one for a while and then go back to one of the others, you forget key … Continue reading
Using Spring 3.1 Profiles
Profiles in Spring 3.1+ give you the ability to define conditional bean configurations based on a profile name, where one of your defined profiles is selected at runtime based on a selected profile name. For example, if you have certain … Continue reading
Forge app error “No mime type could be found for file favicon.ico”
Apps generated using JBoss Forge get this error showing up in the server log: JSF1091: No mime type could be found for file favicon.ico. To resolve this, add a mime-type mapping to the applications web.xml This is described in this … Continue reading
EE6 @Schedule Timer Service on JBoss AS 7.1
It seems that @Schedule methods won’t execute on JBoss AS7.1 unless you specify at least both the hours and minutes values on the scheduled method. For example, to execute a method every 30 seconds: @Schedule(seconds="*/30") public void doSomething() { …} … Continue reading
Core Spring – continued (2) – SpEL, Annotation based bean defs, Java-based configuration
Spring Expression Language (SpEL) introduced in Spring 3.0 introduces EL style language for referencing beans and properties, and gives a standard syntax for doing property replacement into beans. Annotation based bean definition component scan allows you to configure annotated beans … Continue reading
Using Spring with JPA and Hibernate
Spring + Hibernate HibernateTemplate is now obsolete (Spring 3.x +) – create bean for SessionFactory and wire it into Hibernate-based Repository beans Use the Hibernate Session api directly This approach has zero dependency on Spring APIs How to configure: Configure … Continue reading
Useful Database Maven dependencies
MySql Connector: <dependency> <groupId>mysql</groupId> <artifactId>mysql-connector-java</artifactId> <version>5.1.21</version> </dependency> HSQL: <dependency> <groupId>org.hsqldb</groupId> <artifactId>hsqldb</artifactId> <version>2.2.8</version> </dependency> H2: <dependency> <groupId>com.h2database</groupId> … Continue reading
Spring JDBC & Transaction Support
General Spring data access uses concept of templates to: provide consistent error handling approach provide consistent api In the past, your DAOs previously extended base Spring DAO classes – this approach is no longer used/recommended (Spring 3.x +) - use … Continue reading