Tag: GlassFish
-
Getting the correct timezone in a web application
I support a web application that is hosted on a virtual private server. The application architecture is JavaEE running under GlassFish on CentOS. Like most ISP’s, my hosting provider builds vanilla Linux boxes that can be configured with various flavors of the OS. Out of the box these images have their timezone set to UTC,…
-
JPA and Maven and multiple persistence units
I needed to convert an existing Netbeans build to use Maven in order to stabilize the code and support Test Driven Development. Generally this was a fairly simple process: just move all the source files and resources to the right folders in a new Maven project, and add the dependencies. Everything was going swimmingly until…