Quantcast
Channel: OCPsoft » Java
Browsing latest articles
Browse All 13 View Live

Image may be NSFW.
Clik here to view.

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 Article

Image may be NSFW.
Clik here to view.

Setting 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 Article

Image may be NSFW.
Clik here to view.

Migrating 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 Article

Image may be NSFW.
Clik here to view.

160+ 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 Article


Image may be NSFW.
Clik here to view.

Rewrite 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 Article

Image may be NSFW.
Clik here to view.

Creating 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 Article

Image may be NSFW.
Clik here to view.

PrettyTime 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 Article


Image may be NSFW.
Clik here to view.

Simple 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 Article


Image may be NSFW.
Clik here to view.

SEO-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
Browsing latest articles
Browse All 13 View Live




Latest Images