Jsp Application Design - servlets? beans? or classes?

free web hosting
Open Discussion > CONTRIBUTE > Computers > Programming Languages > Java, Java Servlets, Java Script, & JSP

Jsp Application Design - servlets? beans? or classes?

vitrus
Hi all,

I just started working with JSP and never really used basic servlets before.
my problem is currently how to deploy a simple webapp? Some people include servlets, others use beans, (or taglib which looks kind of the same to me).

I started with compiling java classes and including them (which did work, untill some point where I started working with sessions and stuff...)..

Whats best to use? and when? Is it okay to use em all together? And does anyone has a good referencce...

Reply

dul
Hi,
I think use the classes. That is best part of any Language to coding.

Reply

vitrus
Well classes are the best way yes indeed...

But using beans is just a special way of initiating your class....

And a servlet is a class that extends a certain deffault class....


So beans and servlets .. are classes smile.gif and I still do not know what is best...

(simply using classes without extending anything is quite hard when you start working with sessions and stuff)...

Reply



Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.

Recent Queries:-
  1. jsp application design - 384.45 hr back. (2)
  2. tutorials for jsp application design - 384.89 hr back. (2)
  3. jsp application trend - 671.43 hr back. (1)
Similar Topics

Keywords : jsp, application, design, servlets, beans, classes

  1. How To Implement Single Instance Application On Java
    (0)
  2. Hosting Struts Application
    I need help here (1)
    I just got web hosting approved and I want to host the site I created using Struts framework.
    I'm a complete newb when it comes to web hosting, so I need a little help. Is there a tutorial
    that covers this subject? Any help with hosting of Java applications will be appreciated.....
  3. The Power Of Java
    the best application that shows java features (14)
    Java technology has various usage from mobile applications to Enterprise applications. I think the
    power of Java technology in web applications and applets is showed in "meez.com" where u can create
    your own 3d avatars. /rolleyes.gif" style="vertical-align:middle" emoid=":rolleyes:" border="0"
    alt="rolleyes.gif" />....
  4. Beans With Netbeans
    does anyone know how to create beans with netBeans? (0)
    does anyone know how to create beans with netBeans5.5 beta? if iam honest i dont realy know what a
    bean is and how to use it but when i create a new JFrame Form there is a treeNode called "Beans" so
    i want to create a bean and then i hope i can drag and drop it into my Frame Form but the
    proplem is that i dont know how to create a bean Correctly i tryed it with: new File-->java gui
    forms-->BeanForm and as super class i used Canvas . but when i try to drag'n drop a someting
    from the "Component List" it just disapears and isnt shown in the DesignModus and....
  5. Whats The Classpath (for The Packages) On Trap17
    I don't want to recompile my classes 20x (2)
    Hi all.... I just moved from my local server to trap17 for testing my JSP and servlets... However I
    am having troubles with my servlet classes... when I put them under the WEB-INF/classes/ I
    don't know what the package on top of my classes should be, and how I include em in the JSP
    files..... Offcource I can find out but I'm to lazy to keep recompiling my classes untill it
    works /tongue.gif' border='0' style='vertical-align:middle' alt='tongue.gif' /> ... Tnx....
  6. Web Container
    with application server (2)
    Hi there. I've been doing J2EE development for a while. On past projects we have always used the
    three tier approach - web container for presentation logic, application server for business logic
    and oracle/sql server as our data storage layer. My current project entails setting up a J2EE
    architecture for casting votes in an election. It must support multiple access methods like SMS,
    IVR, web, idtv, kiosk. After alot of research on the web there seems to be a trend towards not
    always deploying an application server in your setup. The business logic in our application ....
  7. Java Servlets
    Can anyone help me!? (5)
    Can anyone post here one or some examples of Simple Java Servlets please? I need more resources to
    do my assignments. Searching the web takes up too much time. So I am using one of the purpose of a
    forum, sharing ideas....lol....

    1. Looking for jsp, application, design, servlets, beans, classes

*RANDOM STUFF*





*SIMILAR VIDEOS*
Searching Video's for jsp, application, design, servlets, beans, classes

*MORE FROM TRAP17.COM*
advertisement



Jsp Application Design - servlets? beans? or classes?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute your information that might help someone here.
Ask your Doubts & Queries to get answers.. "Together, We enlight each other!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE