Emmanuel Hugonnet's Library tagged → View Popular
EJB 3: From legacy technology to secret weapon - JavaWorld
Some say Enterprise JavaBeans earned its reputation for complexity one burned out programmer at a time. But developers today have begun to notice that EJB 3 is an entirely different animal. Convention over configuration, annotations, dependency injection, and aspect orientation make modern EJBs a lean alternative to XML-laden and JAR-heavy frameworks. In this article, Adam Bien explains how EJB 3's new component model and persistence handling help streamline enterprise development -- and even work well for small and midrange applications.
Dependency Injection in EJB 3 | Refcardz
Overview
With EJB 3, dependency injection has greatly simplified accessing EJB, JPA Entity Manager, resources such as JDBC DataSource and JMS Objects, and services such as Timer, User Transaction, and Web Services. You will find this reference card useful when building enterprise Java applications with EJB 3 and JPA. This reference card lists all metadata annotations, describes them and provides examples. It also provides descriptions for XML elements that you can use for injection.
Primary and secondary table with JPA
It‘s the third time I‘ve been asked if in JPA you can persist the attributes of your entity in several tables. The answer is yes. It has a performance impact (each simple query will use joins) but it can be very helpful when you need to map your objects into an existing database.
-
It‘s the third time I‘ve been asked if in JPA you can persist the attributes of your entity in several tables. The answer is yes. It has a performance impact (each simple query will use joins) but it can be very helpful when you need to map your objects into an existing database.
How to Get the Best Performance Out of a Java Persistence Implementation : Enterprise Tech Tips
This tip discusses how to tune the Java Persistence implementation in GlassFish called Toplink Essentials.
Enterprise Java Community: New Features in EJB 3.1
In this first article, I'll cover the two features that have been discussed in detail so far--making interfaces optional for EJBs and Singleton Beans.
Adopting a Java Persistence Framework: Which, When, and What?
Let's begin with the following frameworks that are best known in the Java persistence landscape.
* Entity Enterprise Java Beans
* Java Persistence API
* Hibernate
* TopLink
Let me discuss these frameworks in more detail.
Patterns And Utilities For The Java EE 5 Platform
p4j5 is a collection of samples and reusable templates which demonstrates patterns, approaches and architectural ideas for the Java EE 5 platform. All projects are created with Netbeans 6 and tested with Glassfish v2.
blueprints: Java Persistence BluePrints
The JPA allows the management of persistence and object/relational mapping. This category presents some solutions when using JPA in applications for JEE5. Note, this is a lite version of the catalog and just contains some of the documents online.
Using Annotations on the Java EE 5.0 Platform
In this article, we will first have a look at annotations and annotation types. Then we go on to discuss in detail how annotations support injecting dependencies into resources like data sources, mail sources, environment entries, EJBs, web services, and
Manning: EJB 3 in Action
EJB 3 in Action is a fast-paced tutorial for both novice and experienced Java developers. It will help you learn EJB 3 and the JPA quickly and easily.
EJB 3.0 Timer Services and Timer Services API in EJB 3.0
Before EJB 2.1, one has to manually code for building and deploying time-based workflow systems. But, with the invent of EJB 3.0, thanks to Annotations and Dependency injections, life has become still more easier for creating such applications.
Using EJB3 with Spring
In my previous entry, I talked about how you could easily use Spring from within EJB 3 beans, thanks to the magic of EJB interceptors. But what about the other way? How do you use EJB 3 from Spring?
Testing EJBs without a container
One of the more annoying aspects of testing EJBs has always been the fact you need to bundle them up in a EAR and deploy them to a server to test them. This process makes life generally painful. As of EJB 3, however, it's no longer necessary.
Using Spring with EJB 3
But how do you get a Spring-managed bean from an EJB? The answer: dependency injection, of course. That is, with the aid of a EJB Interceptor.
Migrating from EJB 2.x to EJB 3.0
This article discusses possible migration strategies for moving applications using EJB 2.x to the new EJB 3.0 programming model. With this in mind, it discusses the changes in the new specification in the context of each of the different bean types.
Sorting and Paging with EJB3
In this article we shall use NetBeans to create and deploy an ejb3 application along with a web application. The application has two parts. A) An Enterprise application using ejb3 B) A Web application which displays a data grid with sorting and paging.
Hands-On Java EE
Hands-On Java EE 5 articles describe how to develop advanced web applications with Java Platform, Enterprise Edition 5 (Java EE 5) and open source tools and technologies.
Inside scoop on enterprise java and middleware technologies
Spring/EJB 3 HowTos/Code Examples
Export EJB client jar in NetBeans 5.5
After installing Export EJB Client Jar module you can see new Export EJB Interfaces action in EJB module's context menu. This action does nothing else then it creates new ant script which overrides few targetand executes this new script.
BEA Kodo 4.1: JDO 2.0 and OpenJPA and *
BEA Kodo 4.1 was recently released. I like the fact that openjpa.jar is right in there. Is this blended in action? Incidentally, this now means that developers can patch bits of Kodo themselves by hacking at Apache OpenJPA.
Selected Tags
Related Tags
Sponsored Links
Top Contributors
Highlighter, Sticky notes, Tagging, Groups and Network: integrated suite dramatically boosting research productivity. Learn more »
Join Diigo
