How to @Inject Enum values into CDI beans
I was recently asked how to Inject a Java Enum into a bean constructor using CDI. This turns out to be a fairly interesting situation, because enums are not usually available for Injection. The first...
View Article[podcast] Lincoln Baxter and Kito Mann on Java
Join Lincoln Baxter of OCPsoft and Kito Mann of Virtua, Inc. as they discuss several emerging projects in Java. The transcript and MP3 can be found at Virtua’s site. This podcast was recorded at...
View ArticleSetting up Google OAuth2 with Java
For all of you who are trying to figure out how to integrate with Google’s single sign-on functionality, this article might be for you. I’ve taken the liberty of condensing all of the actual logic...
View ArticleMigrating from PrettyFaces to Rewrite – Simplicity meets power
Hi Java web-developers. I hope you are already familiar with PrettyFaces. If not, I will give you a very short introduction taken from the project documentation: PrettyFaces is: “The open-source...
View Article160+ Java EE 7 Samples and Quickstarts
If you are looking for examples on how to use some of the new or improved features of Java EE 7, I highly recommend checking out this git repository from Arun Gupta....
View ArticleRewrite 2.0.7.Final Released – Bug fixes and enhancements
We are glad to announce the latest version of Rewrite, servlet toolkit and URL-rewriting extensions. This release includes serveral bug fixes and enhancements: Simplified Configuration We heard you! It...
View ArticleCreating a simple static file server with Rewrite
Today, I’d like to take a quick moment to demonstrate how to make a simple file server using Rewrite, and any Servlet Container, such as Tomcat, Wildfly, or Jetty. This can enable much easier file...
View ArticlePrettyTime 3.2.7.Final Released (Social-style time formatting for Java)
Happy Holidays! I am proud to announce the immediate availability of OCPsoft PrettyTime 3.2.7.Final, the open-source social-style time formatting library for Java. PrettyTime allows you to create...
View ArticleSimple Java EE (JSF) Login Page with JBoss PicketLink Security
Several years ago I wrote a tutorial about using Acegi/Spring Security with JavaServer Faces (JSF) to create a simple authentication / Login page. Times have changed, however, and Java EE is back in...
View ArticleSEO-friendly AngularJS with HTML5 pushState(), Rewrite, and twelve lines of code
While migrating an e-commerce application (piqchocolates.com) from Grails and Tomcat to an AngularJS, Java EE (JAX-RS), and JBoss WildFly stack, I had to make sure that the new platform has feature...
View Article
More Pages to Explore .....