JBoss Seam: Simplicity and Power Beyond Java? EE

Product Description This is the eBook version of the printed book. A new edition of this title is available, ISBN-10: 0137129394 ISBN-13: 9780137129393 Discover JBoss Seam: the Unified Framework for Simpler, More Powerful Web Development � JBoss Seam integrates EJB 3. 0 and JSF components under a unified framework that simplifies and accelerates Java EE … Read more

JSP + Servlets + EJB: Java EE 6 & GlassFish 3 using NetBeans 6.9 (Part 1 of 5)

This multi-part screencast series shows how NetBeans 6.9 provides comprehensive tooling for Java EE 6 & GlassFish 3. The different parts show: 1. A simple Java EE 6 application (JSP, Servlets, EJB) 2. Reading database table using Java Persistence API 2 3. Using Facelets with Java Server Faces 2 4. Contexts & Dependency Injection with … Read more

Techniques For Integrating Hibernate Into Legacy Java Code – Part 1

If you’re like me, you spend a lot of time dealing with legacy code that, for whatever reason, does not take advantage of modern methodologies and libraries. I’ve taken over Java projects that contain hundreds of thousands of lines of code and not a single third-party jar other than a JDBC driver! One of the most common examples of this is the implementation of the data access layer. These days, the de facto methodology involves Hibernate and DAOs, usually managed by Spring.

This article will detail the steps I recently took to covert a large application from custom-written data access to Hibernate and Spring using the refactoring facilities in Eclipse. The key with this refactorization is to get the existing business logic code (Struts Actions, JSPs, Delegate classes, Business Service classes, etc. ) to access the datastore using Hibernate, managed by Spring, without manually changing any of that code directly. Part 1 will include creating the Hibernate data object classes, DAOs, and refactoring the existing code to work with these newly created types. Part 2 will conclude the project with integration of the Hibernate DAOs and wiring everything up with Spring.

Read more

NetBeans IDE 6.7 Conexión y consulta de BBDD MySql (Java EE 6)

Veamos como preparar NetBeans para que detecte nuestro SGBD MySQL donde tenemos las tablas con las que vamos a trabajar en nuestraa aplicación distribuida Java EE 6. En otros videotutoriales veremos como recuperar información desde esas tablas mediante técnicas avanzadas de mapeo Objeto-Relacional aprovechando las ayudas incluidas en el IDE. La idea es ir construyendo … Read more

Java Programming Basics

If you are interested in learning a computer language, then I recommend JAVA. This language is one of the most commonly used languages in the world and can be fitted to almost any application. In this tutorial I will show the installation all the way to your very first program. So get ready to learn … Read more

Java EE – Hello world EJB3 in Netbeans

This is an introduction to Java EE Enterprise Java Bean (EJB 3) technology. It’s just an hello world example and this is part1. This series of posts will cover: How to create a simple ejb, How to write an standalone client application for that bean, How to deploy it on a real server etc. And … Read more

Java EE 5 for Elvis

Product Description Traditionally, Enterprise Java (J2EE, now Java EE) has been viewed as a complex, high performance technology. As a result average developers (Elvis) have looked to alternatives like Spring and Hibernate. This has lead to exaggerated reports that Java EE is dead. Java EE 5 will change the game. Difficult boilerplate code is gone, … Read more