Java EE is a very big box. It includes:
- Servlets and JSPs for the web tier,
- EJBs - stateless and stateful session, entity, and message driven beans,
- RMI for Java-to-Java remoting (also part of Java SE),
- JDBC for relational database access (also part of Java SE),
- JMS for messaging,
- JTA for transaction monitoring,
- JNDI naming and directory services,
- Web services - SOAP, REST, RPC-XML,
- E-mail,
- 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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…