Adam-bien - adam-bien.com
General Information:
Latest News:
maven-release-plugin "Unable to tag SCM" Issue And Solution 27 Aug 2013 | 03:21 pm
maven-release-plugin works only perfectly for nested multi-module project. In case the modules projects are located inside the folder containing the pom.xml with the "pom" packaging. In case the modu...
LightFish v1.2.0 Runs On GlassFish v4 And Is Available For Download 26 Aug 2013 | 06:53 pm
The v1.2.0 version of http://lightfish.adam-bien.com the "Real Time Monitoring Tool" is available for download. They are no major features implemented, but all of external (compile) dependencies remo...
Base64 Encoding With JDK 1.6+ And Java 8 24 Aug 2013 | 08:14 am
The method: javax.xml.bind.DatatypeConverter#printBase64Binary(byte[]) encodes a byte[] into a Base64 encoded string. To encode a String with JDK 1.6+ use the static method printBase64Binary: Java 8...
The Cost Of An "Empty" Transaction--Screencast 13 Aug 2013 | 12:39 am
Is it worth to disable transaction (with e.g. @TransactionAttribute(TransactionAttributeType.NEVER)) on an EJB method for optimization purposes? Such micro-optimizations increase the complexity, but w...
Selecting All JPA Entities As Criteria Query 8 Aug 2013 | 02:17 pm
You could define a NamedQuery "SELECT c FROM ConfigurationEntry c" or use a type safe criteria variant in JPA 2+: This post is bit selfish: now I have a cheat sheet to lookup the first three lines. I...
JSF/ Java EE CSS Styling Simplification with prependId 7 Aug 2013 | 03:54 pm
Without any configuration the JSF form: generates the following HTML output: The JSF ids are translated into hierarchical CSS ids what makes CSS styling harder. JSF 2.2 comes with the prependId att...
NetBeans 7 + TomEE 1.5.2 Integration 1 Aug 2013 | 07:04 pm
NetBeans comes with Tomcat integration already. http://tomee.apache.org is Tomcat On Steroids. TomEE looks and feels like Tomcat. To integrate TomEE with NetBeans: Download and extract TomEE Setup ...
EJB 3.2--Listing All Timers 30 Jul 2013 | 06:42 pm
The useful method: from the class javax.ejb.TimerService returns all javax.ejb.Timer instances from the module. The EJB 3.2 specification (Java EE 7) defines the functionality as: The getAllTimers m...
Airhacks JavaEE Workshops 6th (Winter) Edition 28 Jul 2013 | 09:51 am
The 6th edition of the JavaEE 7 "Code First" workshop at MUC Airport is open for registrations. All slots already reached the minimal amount of registrations--so the event will definitely take place....
EARs, WARs And Size Matters 12 Jul 2013 | 09:06 am
An Enterprise Archive (EAR) is effectively a ZIP archive with predefined structure. An EAR contains one or more WARs and one or more EJB-JARs. However: most of the EARs contain exactly one EJB-JAR and...