Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Expert One-on-One J2EE Design and Development
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 January 7th, 2004, 02:36 AM
Registered User
Join Date: Jan 2004
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Accessing application objects from session EJBs

I read about the application configuration framework described in the book and I am very impressed with the design idea behind it. I got a question, though, behind my mind. That is, how can a session EJB gain access the the application objects which are probably initialised in the web tier?

Take for example, the Calendar and BoxOffice objects mentioned in the sample application. If we were to design some EJBs that need access to these two objects, how best can it be achieved?

Passing these objects via the method parameters might not be a very pragmatic way of doing things, as that would mean passing the objects at every method call. On the other hand, creating these objects using the BeanFactory within the EJBs might not be very efficient.

Similar Threads
Thread Thread Starter Forum Replies Last Post
Accessing Drawing Objects from code isuru Excel VBA 0 August 29th, 2005 11:45 PM
Storing objects in Session variables mega ASP.NET 1.0 and 1.1 Basics 8 November 16th, 2004 02:38 PM
Why is it bad to put Objects into Session Vars? treycarroll Beginning PHP 3 August 18th, 2003 12:44 PM

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