Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
428 views
in Technique[技术] by (71.8m points)

jakarta ee - Relationship between JSP and Java EE

Is JSP part of the whole Java EE package? How are they related?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Java EE is a very big box. It includes:

  1. Servlets and JSPs for the web tier,
  2. EJBs - stateless and stateful session, entity, and message driven beans,
  3. RMI for Java-to-Java remoting (also part of Java SE),
  4. JDBC for relational database access (also part of Java SE),
  5. JMS for messaging,
  6. JTA for transaction monitoring,
  7. JNDI naming and directory services,
  8. Web services - SOAP, REST, RPC-XML,
  9. E-mail,
  10. Maybe others that I'm forgetting.

Plus containers that handle pooling, threading, lifecycle, etc.

As you can see, JSPs are just a small part of the larger whole.

You can accomplish a great deal with just a servlet/JSP engine (e.g., Tomcat or Jetty), servlets/JSPs, and JDBC. Any web app that exposes database CRUD via the web can be written with just these technologies.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...