AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

What's better? Bean vs. Class instantiation

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JavaBeans
View previous topic :: View next topic  
Author Message
mazdotnet
Guest





PostPosted: Tue Dec 09, 2008 2:29 am    Post subject: What's better? Bean vs. Class instantiation Reply with quote



Hi all,

I'm very new to Java and JSP (ASP.NET and PHP background) and I was
wondering which of the following 2 ways are the preferred way using
objects.


After you write a class,


1. To instantiate it and use object x = new object()


or


2. Use it as a bean? <jsp:useBean>


Thanks
Maz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> JavaBeans All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.