Difference
between Servlet, EJB JDBC
I need to know the exact difference.....what a servlet cannot do and EJB can do... Pls explain me in detail....I would appereciate you if u give me a quick response.......... You first note that Servlets are serverside programs. Applets are to clients in such as way servlets are to server. They are typical java programs which must extends and implements some of the javax.servelet... packages. But, EJB is Enterprice Java Beans are middleware components. They are not Java Beans. They can be used as a reusable components. Consider, A database contains data, EJB beans contains datasturctures and logic that will handle the database resources. Servlets can access the database either directly or using a middle such EJB or CORBA. This entire process involves RMI (Remote Method Invocation). Venkatesh I am sushma and new learner about java, could you please help me, the clear picture about servlets and jdbc. Well. Servlets is the Server Side Technology. (One of
the core components of J2EE). Like what Applets are in the client sides,
Servlets are in the Server side. You can do whatever you want to be done
in the SERVER Side with the Servlets.
JDBC stands for Java DataBase Connectivity. Its used to connect with a (any) database through the Java code. There are four types of Drivers namely Type1, Type 2 , Type 3 and Type 4 drivers. They differ in the way they are implemented like native, pure java etc etc... Hope you got some info abt what you asked.
I wish all the members a very Happy and Prosperous New Year. Take Care.
Do you have a Java Problem?
Java Books
Return to : Java Programming Hints and Tips All the site contents are Copyright © www.erpgreat.com
and the content authors. All rights reserved.
|