J2EE Journal

1. J2EE 4-tier architecture

presentation->business logic->persistence->database

1. building blocks of J2EE are:

  • Servlets
  • Java Server Pages (JSP)
  • Enterprise Java Beans (EJB)
  • Java Messaging Service (JMS)
  • Java Database Connectivity (JDBC)
  • Java Naming and Directory Interface (JNDI)
  • Java Mail
  • Extensible Markup Language (XML)

2. EJB

annotated POJOs

3. EJB local vs remote interfaces.

in distributed applications, Specifically, these are the cases where the client uses different JVM (Java Virtual Machine).

Adv: Internally, J2EE uses the Java Remote Method Invocation over Internet Inter-ORB Protocol (RMI-IIOP — see Resources) to enable remote. it also generates a large amount of overhead, with a corresponding performance hit as stubs are referenced, parameters go through the marshaling process, and objects are tossed around the network.

[Remote: Different VMs, requires JNDI]

4. EJB Types

  1. Session (Sateful and Stateless)
  2. Message Driven
  3. Entity Beans

6. Web Services

Java API Spec for RESTful Web Services: JAX-RS/JAX-RS2 https://jax-rs-spec.java.net/

References

Remote interface: http://www.conceptgo.com/gsejb/ov06.html

What’s new in JAX-RS 2.0? http://www.infoq.com/news/2013/06/Whats-New-in-JAX-RS-2.0

Oracle Tuts: https://docs.oracle.com/javaee/6/tutorial/doc/gijqy.html

Show your support

Clapping shows how much you appreciated Hamzeen Hameem’s story.