Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

JSP vs Swing

  Asked By: Bill    Date: Aug 30    Category: Java    Views: 2214
  

I need some information from u guys.Now I have a project in swing
application using JApplet(web based) .We want to implement same in JSP.Could
u tell me wht is the adv of JSP than swing components?

Share: 

 

3 Answers Found

 
Answer #1    Answered By: Landra Schmidt     Answered On: Aug 30

I have not yet programmed a JSP program but I think a big
advantage of using JSP is that your code is not 'sandboxed'
and has no browser restrictions ie. opening streams to
arbitary sites. Also, the browser dosnt have to have a java
plug-in installed as most (?all GPL distros?) linux distros
dont because java isnt open source.

 
Answer #2    Answered By: Alexander Bouchard     Answered On: Aug 30

I worked both swing  and JSP.could u tell me what are
the things could not be done on JSP than swing?.I will come to my problem.I
have an swing application which is developed using JApplet and JTree and
JFrame.This will displays data's from database as tree structure and using
frames.

 
Answer #3    Answered By: Erika Evans     Answered On: Aug 30

I would need some insight into what the current applet does and what you
expect to do with JSP before I could make any useful comparison. I don't
really know how to compare these two very different technologies. I suspect
from the way that your question was worded that you have a bit of a
misunderstanding about what JSP gives you. The basic differences are:

- Applets run on the client side and are used primarily to do things that can
not be done using just HTML.

- JSP runs on the server and generates HTML.

Given that, if you already have an applet, I am assuming that it was written
because you wanted to do something that could not be done (or at least done
as well) with HTML. If that is the case, JSP is not going to solve your
problem.

 
Didn't find what you were looking for? Find more on JSP vs Swing Or get search suggestion and latest updates.




Tagged: