Migrating from Java EE to the XAP Data Grid

From a design and implementation perspective, the XAP 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 XAP.

Java EE vs. XAP Data Grid

Component JEE XAP 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 XAP
Queue JMS Queue Polling Container Java version | .NET version
Topic JMS Topic Notify Container Java version | .NET version
Unit of Order JMS UOO XAP Unit Of Work
Queue Partitioning JMS Service Activator Aggregator Strategy XAP Parallel Queue
Distributed Priority Queue JMS Quality of Service XAP Priority Based Queue
Compute Grid MDB + Custom code XAP Master-Worker