• RESTful error handling with Tomcat and SpringMVC 3.x

    Updated: 2011-11-08 09:23:41
    Handling errors in a REST way is seemingly simple enough: upon requesting a resource, when an error occurs, a proper status code and a body that contains a parseable message and using the content-type of the request should be returned. The default error pages in Tomcat are ugly. Not only they expose too much of [...]

  • Groovy: Use @Canonical to Get Compiler-generated Equals, HashCode and ToString

    Updated: 2011-11-08 04:06:13
    Groovy makes it extremely easy to create Java beans with getters, setters, equals, hashCode, and toString:@groovy.transform.Canonical class Call { def method def args /* // custom impl. reusing the auto-generated one: String toString() { _toString().replaceFirst("^.*?Call", "") }*/ } You can then do: James Sugrue ...

  • Hibernate OGM Deployment on OpenShift

    Updated: 2011-11-07 22:55:49
    Hibernate Object/Grid Mapper (OGM) is used to provideJava Persistence (JPA) support for NoSQL data stores.  At this year's JUDCon London, Hardy Ferentschik presented a talk on how to deploy this Hibernate variant on JBoss AS 7 and OpenShift Express.  But lucky for you, he posted the code on GitHub - ogm-kitchensink, and gave a link to the README.md Article Type:  ...

  • Using JSR-250's @PostConstruct Annotation to Replace Spring's InitializingBean

    Updated: 2011-11-07 04:59:02
    JSR-250 aka Common Annotations for the Java Platform was introduced as part of Java EE 5 an is usually used to annotated EJB3s. What’s not so well known is that Spring has supported three of the annotations since version 2.5. The annotations supported are: James Sugrue

  • EclipseCon Europe - Java 7 in the Enterprise

    Updated: 2011-11-06 04:55:07
    Yesterday at EclipseCon Europe 2011, I gave two talks about Java 7 use in the enterprise. Both had their attendees (around 40 to 50) and I think the input I gave was quite valuable to them. The motivation of both talks was to actually show, how and where to apply the 55 new things in Java 7 and try to write down what you need to keep in mind doing migration projects. This was also thought of as a...

  • Java Hosting Platform, Jelastic, Delivers More Performance and Efficiency

    Updated: 2011-10-27 05:31:21
    , , Welcome Register Sign-in Search Jump to a Magazine NET AJAX APACHE CLOUD COMPUTING CMS COLDFUSION CRM ECLIPSE FLEX HP IPHONE JAVA LINUX OPEN SOURCE OPEN WEB ORACLE PERL PHP POWERBUILDER PYTHON RED HAT RUBY SAP SEARCH SILVERLIGHT SOA SYMBIAN VIDEO VIRTUALIZATION WEB 2.0 WEBLOGIC WEBSPHERE WIRELESS XML Home Subscribe Advertise Authors Topics Videos Events Webcasts Java : Email Alerts Newsletters Get Java : Homepage Mobile NET AJAX Cloud Eclipse Flex Open Web iPhone Java Linux Open Source Oracle PowerBuilder Security SOA Virtualization Web 2.0 Java Authors : Maureen O'Gara John Anderson Douglas Allen PR.com Newswire Jeremy Geelan Related Topics : Java Open Source Java : Press Release Java Hosting Platform , Jelastic , Delivers More Performance and Efficiency Addition of popular open

Current Feed Items | Previous Months Items

Oct 2011 | Sep 2011 | Aug 2011 | Jul 2011 | Jun 2011 | May 2011