What's the difference between Java Servlet and core Java? Is that difficult to learn Java Servlet assuming some background in Java programming?
Asked
Active
Viewed 272 times
0
-
4possible duplicate of [What is the difference between JSF, Servlet and JSP?](http://stackoverflow.com/questions/2095397/what-is-the-difference-between-jsf-servlet-and-jsp) and eventually [Java Web development, what skills do I need?](http://stackoverflow.com/questions/1958808/java-web-development-what-skills-do-i-need) – BalusC May 10 '11 at 14:14
-
2try doing a search, before you post a question! – R K May 10 '11 at 14:20
-
Have you chosen a server that you would like to use? If all you are trying to make is a simple web application Tomcat may be pretty good to look into. However, Jetty is great for development. – John Kane May 10 '11 at 14:28
2 Answers
2
Java Servlet programming is the use of the javax.servlet.*
family of classes to provide a dynamic java-based web service. You program it using Java and they are not difficult to learn, however it's much easier to implement most functionality using JSP/JSF (which themselves are implemented using Servlets) as it's easier to edit the content.

trojanfoe
- 120,358
- 21
- 212
- 242
2
A servlet is an interface from this package. I think you really are looking for the difference between JavaEE and core Java. Since the implementations of the JavaEE packages are written in java it should not be that difficult to learn.
This gives a fairly good and brief description of the difference between the two.

John Kane
- 4,383
- 1
- 24
- 42