hi!! I am developing an intranet based application. Currently I am using jsp as front end and oracle as back end. Am i doing the right thing??
Also, in the front end i am calling a swing applet (becuase the gui needs to be good). Now I m in a confusion as to what technology should I be using on the server side to retrieve the values from the swing applet.
Should i be using (a) another JSP page (b) a servlet (c) a bean (d) something else that i m not aware of.
1) Will anyone please help me as to what server side techology to use. 2) What is the exact difference between using jsp and servlet on the server side, cause eventually jsp is going to be complied to a servlet 3) And how to do the communication between the applet and the jsp/servlet/bean.
I know a bit about http tunelling and serialization, but I dont know exactly what to use and how?? Can anyone please explain me what should be used to make the application more efficent. [ March 09, 2005: Message edited by: Bear Bibeault ]
Answer: B, and C. You would have no need for JSP if you are using a Swing client. JSP is there to make it easy for a web designer to work with your view in an HTML like environment.
Use a servlet to handle the requests and responses and put all of your JDBC code in a bean. If you're tunnelling, you'll probably want to put the results from your JDBC calls into another bean and stream that down to your Swing client.
I think you should use Bean for your Business logic.All the requests and response you can handle through Servlets.Yes,If you are not using swing client then you can use JSP pages for this.. All the best.
WHAT is your favorite color? Blue, no yellow, ahhhhhhh! Tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop