Wrox Programmer Forums
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 software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old June 10th, 2003, 01:47 AM
Registered User
Join Date: Jun 2003
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.

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

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