Can I use JavaSE to write a web application?

I know that J2EE can be used for JSP + Servlets. However, can I use J2SE for JSP and servlet?

+5
source share
3 answers

J2EE is a set of APIs. JSPs and servlets are technologies and APIs in the J2EE domain. So I think this question is a bit confusing.

People often use J2EE as shorthand for EJBs and application containers (WebSphere / WebLogic, etc.). Instead, you can run a servlet container (e.g. Tomcat / Jetty, etc.) that handles web technologies, but a little more using standard J2SE with (say) Servlet API and nothing more. I suspect you are behind him.

+9
source

, . Java SE JSP/Servlet (-), Apache Tomcat Oracle GlassFish ( Oracle Java EE ).

: Java EE Oracle, webapps Tomcat. Java SE JDK . Java EE - , () Java EE, "GlassFish", , , , IDE Netbeans.

+9

All Articles