Wrox Programmer Forums

Need to download code?

View our list of code downloads.

| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Expert One-on-One J2EE Design and Development
This is the forum to discuss the Wrox book Expert One-on-One J2EE Design and Development by Rod Johnson; ISBN: 9780764543852
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Expert One-on-One J2EE Design and Development 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
Closed Thread
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old June 10th, 2003, 01:47 AM
Registered User
Join Date: Jun 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default the order of beans


As this is my first posting here, I should begin with congratulations to Rod - a very impressive book, packed with excellent and practical advice...

We are using Rod's framework to build an app, using mySql and JBoss.

At the moment I am having a little difficulty with using the ListableBeanFactory.

One problem with creating beans from a properties file is that the beans are not kept in the order that they are listed in the file. I need to keep beans in order, and I am trying to use a properties file like this:


solarSystem.class=com.starfriend.astro.beans.Solar System
solarSystem.planets=sun(ref), moon(ref), merc(ref), venu(ref), mars(ref), jupi(ref), satu(ref), uran(ref), nept(ref), plut(ref), asce(ref), midh(ref)

Rod's code creates beans that have reference to other beans, and you can create beans from a String array, so it shouldn't be too hard to make a bean with an array of references to other beans.

I'll have a go today, but I am open to suggestions!

John Pedersen

PS - I have noticed a few anomalies between the book's jar files and the source code. One class that is in the jar files but not available in the source code is com.interface21.beans.factory.support.BeanFactoryB ootstrap

There are some other classes in the jar file that are not in synch with the source files either, but I haven't kept a record of these.
Closed Thread

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
values between beans cisarp2 JSP Basics 0 June 17th, 2007 05:24 AM
Comparing two beans jophy BOOK: Professional Jakarta Struts 1 January 2nd, 2006 09:01 AM
Connection Pooling with Beans angrycat Apache Tomcat 4 September 16th, 2004 06:11 PM
JSP Beans Errors harshadriswadkar JSP Basics 0 September 30th, 2003 06:22 AM
how to start with JSP Beans sanket_shakyavanshi JSP Basics 1 September 30th, 2003 03:39 AM

All times are GMT -4. The time now is 06:26 PM.

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