Blog

Showing posts with label seam. Show all posts
Showing posts with label seam. Show all posts

Monday, 16 June 2014

Generating PDFs with Apache FOP and Velocity

Generating PDF files is a common thing in web applications. For a long time I was using iText to accomplish this task but writing PDF’s content in Java code was a struggle. Nowadays iText is free for non-commercial use only which makes it even less sensible choice.

Monday, 23 July 2012

Reliable mail delivery in Seam

If you need to send emails form your application then there is nice seam-mail, a CDI extension. However frequently you need to assure that some email gets delivered. Let's consider registration process. User fills in their email and new password, the application should then send him mail with activation code. What if the mail server is currently down or for some other reason the mail cannot be delivered at the moment?

Thursday, 31 May 2012

seam3-persistence-framework 1.0.2 is out

We've fixed problems with DynEntityQuery not being refreshed when dynamic parameter value change. Artifacts are available at: http://artifactory.it-crowd.com.pl/repo

Thursday, 19 April 2012

AS7 Seam2 LoggingFilter

Seam2 allows us to add user name to each server log entry triggered by that user. This is described id "Identity Logging" chapter. We only need to enable logging-filter in components.xml and add %X{username} to log pattern.

But what if we want more, like IP ?

Tuesday, 28 February 2012

Seam3-persistence-framework comes to town

Seam2 had great "framework-in-framework" set of classes to speed up CRUD development. I'm talking about EntityHome and EntityQuery. If you miss that stuff a lot in Seam3, don't you worry, cause IT Crowd has migrated EntityHomes and such successfully to seam3 and we use it in production.