Book Review: “Java EE 7 Developer Handbook” by PACKT / Pilgrim

Posted in Java / JEE on November 26th, 2013 by Kai Wähner

Java EE 7 Developer Handbook is a book for experienced Java developers, published by PACKT. Author is Peter A. Pilgrim.

Content
The books introduces many important Java EE 7 specifications: CDI, EJB, JPA, Servlets, JMS, Bean Validation, JAX-RS and some other stuff such as WebSockets, HTML5 support and Java Transaction API. Each chapter contains an introduction, source code examples and explanations of most important features and configurations. Source code examples can be downloaded, too.

Cool side note
Introduces and uses Gradle as build system and Arquillian for writing integration tests.

Tags: , , , , , , , ,

Why I will use Java EE (JEE, and not J2EE) instead of Spring in new Enterprise Java Projects in 2012

Posted in Application Server, Java / JEE on November 21st, 2011 by Kai Wähner

The question comes up often. It came up in my new project in November 2011, too. I will use Java EE (JEE) instead of the Spring framework in this new Enterprise Java project.

I know: Several articles, blogs and forum discussions are available regarding this topic. Why is there a need for one more? Because many blogs talk about older versions of Java EE or because they are not neutral (I hope to be neutral). And because many people still think thank EJBs are heavy! And because the time has changed: It is Java EE 6 time now, J2EE is dead. Finally! Finally, because not only JEE 6 is available, but also several application servers (not just Glassfish as reference implementation). I do not want to start a flame war (too many exist already), I just want to describe my personal opinion of the JEE vs. Spring „fight“…

Tags: , , , , , , , , , ,

MyBatis (formerly called iBatis) – Examples and Hints using @SELECT, @INSERT and @UPDATE Annotations

Posted in Java / JEE, Persistence on October 25th, 2010 by Kai Wähner

MyBatis (formerly called iBatis) – Examples and Hints using SELECT, INSERT and UPDATE Annotations

MyBatis (http://www.mybatis.org/) is a lightweight persistence framework for Java and .NET. This blog entry addresses the Java side. MyBatis is an alternative positioned somewhere between plain JDBC and ORM frameworks (e.g. EclipseLink or Hibernate). MyBatis usually uses XML, but it also supports annotations since version 3.

Tags: , , , , , , , , , , , , , , , ,

10 interesting Statements of Adam Bien about the Java Enterprise Edition 6 (JEE 6)

Posted in Application Server, ESB, Java / JEE on September 10th, 2010 by Kai Wähner

Yesterday, I visited the one-day conference “DOAG SIG Java”, because I presented about applicability and limits of Java Server Faces 2.0 (JSF 2.0). The main subject was the Java Enterprise Edition 6 (JEE 6). I wrote a report about it in another blog entry: One-Day Conference “DOAG SIG Java 2010″ about Java Enterprise Edition (JEE) 6.

The final track included a live demo of Adam Bien, a well-known JEE expert, author and speaker (also involved in the JEE specs). A very nice “live show” of the JEE 6 features!
The participants (including me) asked a lot of questions crititcally, Adam Bien always had very good answers and explanations because of his excessive experiences with Java technologies for several years.

Tags: , , , , , , , , , , , , , , , , , , , , ,

Report: One-Day Conference “DOAG SIG Java 2010″ about Java Enterprise Edition 6 (JEE 6)

Posted in Application Server, ESB, IT Conferences, Java / JEE on September 9th, 2010 by Kai Wähner

Today, I visited the one-day conference “DOAG SIG Java”. The main subject was the Java Enterprise Edition 6 (JEE 6).

I presented about applicability and limits of Java Server Faces 2.0 (JSF 2.0). You can download my (german) presentation slides:  DOAG SIG Java (Sept2010) – Einsatz und und Grenzen von Java Server Faces 2.0

“DOAG SIG Java” – What’s that?

The DOAG is a very large, german, independent Oracle-Usergroup. After the acqisition of Sun, the SIG Java was established to demarcate the Java technology from other business units (database, administration, …). Conferences are organized several times a year, the number of participants varies from 50 to 2000.

Tags: , , , , , , , , , , , , , , , , ,

JEE Development using JRebel with IBM WebSphere (WAS) 6.1 and RAD 7.0

Posted in Application Server, Java / JEE on August 14th, 2010 by Kai Wähner

JEE Development using JRebel with IBM WebSphere (WAS) 6.1 and RAD 7.0

I want to share my experiences with JRebel (http://www.zeroturnaround.com/jrebel/). If you need some neutral information about this product to ease development with J2EE / JEE applications and application servers, this blog entry is for you!

Problems with JEE Application Servers

If you develop with WAS, no matter if it is version 5 / 6 / 6.1 / 7, deployment takes a very long time. Even changing a single line of code (e.g. to add a System.out.println) takes about 15 minutes in our project for publishing the changes, because you always have to do a build and redeployment. So, sometimes you have to wait 50 percent of your working time until WebSphere is ready again.

Tags: , , , , , , , , , , , , , , , , , ,