Welcome Guest ( Log In | Register)



 
Reply to this topicStart new topic
> Jsp Application Design, servlets? beans? or classes?
vitrus
post Oct 15 2005, 01:21 PM
Post #1


Newbie [Level 3]
***

Group: Members
Posts: 42
Joined: 8-October 05
From: Haarlem, The Netherlands
Member No.: 12,672



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...
Go to the top of the page
 
+Quote Post
dul
post Oct 19 2005, 12:20 AM
Post #2


Member [Level 1]
****

Group: Members
Posts: 73
Joined: 21-September 05
Member No.: 12,113



Hi,
I think use the classes. That is best part of any Language to coding.
Go to the top of the page
 
+Quote Post
vitrus
post Oct 20 2005, 08:46 AM
Post #3


Newbie [Level 3]
***

Group: Members
Posts: 42
Joined: 8-October 05
From: Haarlem, The Netherlands
Member No.: 12,672



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)...
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Whats The Classpath (for The Packages) On Trap17(2)
  2. Beans With Netbeans(0)
  3. The Power Of Java(14)
  4. Hosting Struts Application(1)
  5. How To Implement Single Instance Application On Java(0)


 



- Lo-Fi Version Time is now: 6th October 2008 - 06:12 PM