Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > Pro JSP
Password Reminder
Register
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Pro JSP Advanced JSP coding questions. Beginning questions will be redirected to the Beginning JSP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro JSP section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old March 19th, 2008, 12:55 AM
Registered User
 
Join Date: May 2007
Location: Mysore, Karnataka, India.
Posts: 8
Thanks: 0
Thanked 0 Times in 0 Posts
Default which one is fast: java Bean implementation Or Arr

Hi,
iam doing a web based project using servlets and jsp.This application will be use around 30 users.
Iam writing all my business logic in a jsp page. There will be a common java bean file for database connection.
Just calling that bean file in all the jsp pages using the jsp:usebean tag.
Now i want to write all my bussiness logics(database querys) in a separate java file.
so wheather i have to write that in a java bean file or using ArrayList Or is there any other methods.
which method is good.Please help me in this.


Regards,
Dhruthi

Reply With Quote
  #2 (permalink)  
Old April 1st, 2008, 03:07 AM
jomet
Guest
 
Posts: n/a
Default


use packages
http://72.5.124.55/docs/books/tutori...age/index.html

write all your business logics in that package

and include that package in your jsp page
u can then create objects of classes contained in that package
and can call its methods
just we do in a java program



jomet.
---------------------------------------------
Once you start a working on something,
dont be afraid of failure and dont abandon it.
People who work sincerely are the happiest.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
java.lang.IllegalArgumentException: No bean specif vijayks EJB 0 June 1st, 2007 05:37 AM
connecting DB with JSP using Java Bean Q4Java Java Databases 1 May 7th, 2007 03:44 AM
java bean file not found / cannot resolve symbol r Calverstine JSP Basics 4 July 3rd, 2006 05:38 AM
Can/How i use Java Bean & Tag Library in servlet nigam.anand Servlets 0 May 9th, 2006 09:40 PM
java bean VS ejb kishore.dyn J2EE 0 February 20th, 2006 01:58 AM



All times are GMT -4. The time now is 12:25 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.