Tag: Java EE
Double the speed of (some of) your JSF pages (and dodge bugs too)
There was a thread on the JSF LinkedIn group about JSF performance and a number of people complained about the fact that as part of the restore view phase, JSF reconstructs the component tree including binding data to data tables causing unnecessary fetches of data from the database. This article looks at one way of […]
Continue Reading...Shrinkwrap DSLs Makes Building Config Files Easy
If you’ve used Shrinkwrap you might have noticed that creating configuration files can be a bit of a burden requiring you to manually build XML configuration files yourself as strings. This article shows how the DSLs being added to Shrinkwrap will make configuring your deployments far easier.
Continue Reading...JBoss Java EE 6 spec dependency in Maven
Adam Bien wrote about the Troubled with the crippled Java EE 6 APIs in Maven and a solution for them. Another solution has presented itself now that JBoss has finalized the Java EE 6 spec pom and added it to their public repositories as of early January 2011. You can include the spec in your […]
Continue Reading...A Little Less Conversation…
One thing that I wrote that I haven’t really gotten around to examining and verifying in closer detail and validating my position on is the production of the conversational entity manager in the Knappsack archetypes. This article looks at this and re-evaluates my thinking on the use of conversational contexts in CDI.
Continue Reading...Can Arquillian boost Java EE container quality?
Arquillian, JBoss’ foray into providing in-container testing for Java EE projects, could be used to give Java EE container developers the ability to test their containers using a set of tests based on expected Java EE behavior. Such tests will enable developers of the next generation of application servers to not only run unit and […]
Continue Reading...Handling missing resources with CDI Events
In part 1, we created a simple application that made use of string resource bundles in JSF and in part 2 we extended it by using CDI to inject the resource provider into beans so we can re-use our code for accessing locale specific string based resources.
Continue Reading...JBoss 6.0 CR1 is Released
JBoss has put out a CR1 release for JBoss 6.0 which implements the Java EE 6 specification. I don’t normally cover product releases, but I thought I may as well mention it since nobody else has (not even their blog). I only found out when I was sniffing around in their Maven Repositories and found […]
Continue Reading...Injecting String Resource Services with CDI
In this post we looked at adding String resource bundles to our JSF applications to move our string constants into external resources that we can define for different locales. Now I want to extend that example to show how you can expand on that by using injection to access those resources.
Continue Reading...Considering Thick Client Javascript Applications
A post on Javalobby (Are Serverside Web Frameworks Becoming Irrelevant?) got me thinking again about javascript based web apps also called SOFEA or SOUI applications. While I don’t believe that the end is near for server side frameworks, (after all a similar post was written 3 years ago), I think it there is a growing […]
Continue Reading...CDI @Alternative Info
The @Alternative CDI annotation allows you to have multiple matching dependencies for a given injection point. This means you can define beans that provide implementations for the same interface without worrying about ambigious dependency errors. When you mark a class with the @Alternative annotation, it is effectively disabled and cannot be considered for injection. The […]
Continue Reading...