Migrating from Java EE to the Data Grid

From a design and implementation perspective, the data grid shares a lot of patterns with Java Enterprise Edition ecosystem. This section provides a mapping to help migrate your existing JavaEE application to the data grid.

Java EE vs. the Data Grid

Component JEE Data Grid
Persistency JPA Hibernate, JPA
Messaging JMS,MDB JMS
Polling Container Java version | .NET version
Notify Container Java version | .NET version
Native Messaging API, MDB1
Security JAAS, SSL Spring Security, SSL
Web Session Management HttpSession HTTP Session Management
Transaction Management JTA Spring Transaction via Jini Transaction Manager
Data Access JDBC , Session Bean (Stateless or Stateful), Entity Bean JDBC, Space, JPA , Session Bean (Stateless or Stateful)1, Entity Bean1
Remoting EJB, IIOP, RMI Spring remoting over LRMI, EJB1
Web Servlet, JSP Servlet, JSP via Jetty
Packaging and deployment EAR, WAR JAR, WAR, EAR1
Contexts and Dependency Injection JSR 299 Spring IOC
System Management JMX JMX , SNMP, Native Admin API
Java Naming and Directory Service JNDI Jini Lookup Service

1Available via EasyBeans, openejb, embedded jboss or embedded-glassfish.

Messaging Concepts & Patterns

Functionality JEE GigaSpaces
Queue JMS Queue Polling Container Java version | .NET version
Topic JMS Topic Notify Container Java version | .NET version
Unit of Order JMS UOO Unit Of Work
Queue Partitioning JMS Service Activator Aggregator Strategy Parallel Queue
Distributed Priority Queue JMS Quality of Service Priority Based Queue
Compute Grid MDB + Custom code Master-Worker