Posts

Showing posts from March, 2015

Java EE authorization - JACC revisited part III

This is the third and final part of a series where we revisit JACC after taking an initial look at it last year. In the first part we mainly looked at various role mapping strategies, while the main topic of the second part was obtaining the container specific role mapper and the container specific way of how a JACC provider is deployed. In this third and final part we'll be bringing it all together and present a fully working JACC provider for a single application module (e.g. a single war). Architecture As explained before, implementing a JACC provider requires implementing three classes: PolicyConfigurationFactory PolicyConfiguration Policy Zooming into these, the following is what is more accurately required to be implemented: A factory that provides an object that collects permissions A state machine that controls the life-cyle of this permission collector Linking permissions of multiple modules and utilities Collecting and managing permissions Processing p…

The most popular Java EE servers in 2014/2015 according to OmniFaces users

For a little over 3 months (from half of November 2014 to late February 2015) we had a poll on the OmniFaces website asking what AS (Application Server) people used with OmniFaces (people could select multiple servers). The response was quite overwhelming for our little project; no less than 840 people responded, choosing a grand total of 1108 servers. The final results are as follows: PositionServerVotes (Percentage)1JBoss (AS/EAP/WildFly)395 (47%)2GlassFish206 (24%)3Tomcat/Mojarra/Weld186 (22%)4TomEE85 (10%)5WebSphere55 (6%)6WebLogic49 (6%)7Tomcat/MyFaces/OWB33 (3%)8Jetty/Mojarra/Weld19 (2%)9Geronimo13 (1%) 10JEUS11 (1%)11Liberty9 (1%)12Jetty/MyFaces/OWB9 (1%)13JOnAS8 (0%)14NetWeaver8 (0%)15Resin6 (0%)16InforSuite5 (0%)17WebOTX4 (0%)18Interstage AS4 (0%)19(u)Cosminexus3 (0%) As can be seen the clear winner here is JBoss, which gets nearly half of all votes and nearly twice the amount of the runner up; GlassFish. Just slightly below GlassFish at number 3 is Tomcat in the specifi…