[JBoss-user] Design Question

2001-05-16 Thread Hunter Hillegas
Okay... Starting the design on my first ever EJB/JBoss project. It's only going to be accessible via the Web... I want to make sure I make an educated decision on the design. This is what I'm thinking: Requests come in via a servlet, which invokes methods on a stateless session bean that uses C

[JBoss-user] Design question

2001-07-02 Thread VASQUEZ_JASON
All, We often think of using Entity beans to represent rows or entities in a database, but not much else.  Is it a good idea to use an entity bean to represent entries in an LDAP directory?  I was thinking aboutu throwing together a BMP entity bean to do this.  It would always be in a read-only m

[JBoss-user] Design Question...

2001-07-30 Thread Tim Yates
Hi there!! When a user hits the site, they get allocated a unique 48 character session ID (allocated by me). If they then login, I tie that sessionId to a userId (both rows in seperate tables) But I have a design question... They can log-out, but many do not (obviously), so what would be the b

[JBoss-user] design question

2001-10-02 Thread Tahir Awan
Hi, (sorry for this rePost but I think someone should be able to answer this). For a new project, I need to decide whether its suitable to use session beans or a servlet/jsp approach is enough. The java application talks to a legacy C++ application and all the communication is XML over Https

[JBoss-user] Design Question

2002-07-09 Thread Jon Swinth
What is the best way to keep a object bound in memory for stateless session bean use? Specifically, I have a java.security.Key that I need to make available to very specific stateless session bean. Since the key is the private RSA key for the credit card database, I do not want to put it in the

[JBoss-user] design question

2003-09-22 Thread harm
Hi all, I have a J2EE application running in JBoss. In my application I need some configuration. For instance, we have to email certain recepients when a action occurs. (For instance, when a certain entity bean is removed we have to send an email to a person). In this email we need to have a c

Re: [JBoss-user] Design Question

2001-05-16 Thread danch (Dan Christopherson)
Hunter Hillegas wrote: > Okay... Starting the design on my first ever EJB/JBoss project. It's only > going to be accessible via the Web... > > I want to make sure I make an educated decision on the design. > > This is what I'm thinking: > > Requests come in via a servlet, which invokes methods

RE: [JBoss-user] Design Question

2001-05-16 Thread DeGreef, Chris J. (AIT)
r Hillegas [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 16, 2001 1:03 PM To: JBoss 2 Subject: [JBoss-user] Design Question Okay... Starting the design on my first ever EJB/JBoss project. It's only going to be accessible via the Web... I want to make sure I make an educated decision on the d

Re: [JBoss-user] Design Question

2001-05-16 Thread Dovan Nguyen
od place to put all of the business logic. > > The entity beans are a good place to handle all of the data mapping issues. > > Has anyone had experience implementing this pattern on a large scale? (large > volume?) > > -Original Message- > From: Hunter Hillegas [mailto:

RE: [JBoss-user] Design Question

2001-05-16 Thread marc fleury
|Something to note. I found that "useBean" is kind of misleading for EJB |developers because it doesn't refer to Entreprise Beans to me. I sure does refers to EJB to me, javabeans as EJB is a standard pattern (hide the EJB semantics), marc ___ JBo

Re: [JBoss-user] Design Question

2001-05-17 Thread Hunter Hillegas
d the value objects? Hunter > From: "DeGreef, Chris J. (AIT)" <[EMAIL PROTECTED]> > Reply-To: [EMAIL PROTECTED] > Date: Wed, 16 May 2001 15:39:04 -0400 > To: "'[EMAIL PROTECTED]'"<[EMAIL PROTECTED]> > Subject: RE: [JBoss-user] Design Ques

Re: [JBoss-user] Design question

2001-07-02 Thread Adam Young
If you want to make it read only, will JBoss allow you to write the remote interface such that it only has getters?The M-H book suggests not even exposing the remote interface for enitity beans. Certainly it would be preferable to have on the getters available to most clients. [EMAIL PR

Re: [JBoss-user] Design question

2001-07-02 Thread danch
Adam Young wrote: > If you want to make it read only, will JBoss allow you to write the > remote interface such that it only has getters?The M-H book suggests > not even exposing the remote interface for enitity beans. Certainly it > would be preferable to have on the getters available to

[JBoss-user] Design question - Singleton

2001-07-05 Thread Hermann RANGAMANA
Hi all, I have a session bean, which number of instance should be limited to 1 (Singleton). How can i implement this with ejb? --hermann ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Design Question...

2001-07-30 Thread Tim Yates
Sorry, by "the site", I meant "our website" - Original Message - From: Tim Yates <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 30, 2001 4:45 PM Subject: [JBoss-user] Design Question... > When a user hits the site, they get allocated

Re: [JBoss-user] Design Question...

2001-07-30 Thread Mike Abney
e session.) ~Mike - Original Message - From: "Tim Yates" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 30, 2001 10:45 AM Subject: [JBoss-user] Design Question... > Hi there!! > > When a user hits the site, they get allocated a unique 48 charact

Re: [JBoss-user] Design Question...

2001-07-30 Thread Mike Abney
> When a user hits the site, they get allocated a unique 48 character session > ID (allocated by me). If they then login, I tie that sessionId to a userId > (both rows in seperate tables) > > But I have a design question... They can log-out, but many do not > (obviously), so what would be the be

Re: [JBoss-user] Design Question...

2001-07-30 Thread Tim Yates
rk on any of the four major browsing devices... - Original Message - From: Mike Abney <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, July 30, 2001 5:28 PM Subject: Re: [JBoss-user] Design Question... > Sorry, just re-read this. So... you're making your own

Re: [JBoss-user] Design Question...

2001-07-30 Thread C Murphy @ Intechtual
Hey Tim, If I correctly understand your qutestion, this is more of a servlet type session management issue. Take a look at the javax.servlet.http.HttpSessionBindingListener interface. It's basically a callback interface for when a session expires. Objects in the session, that implement the

Re: [JBoss-user] Design Question...

2001-07-30 Thread Toby Hede
lt;[EMAIL PROTECTED]> Sent: Tuesday, July 31, 2001 3:15 AM Subject: Re: [JBoss-user] Design Question... > Hey Tim, > > If I correctly understand your qutestion, this is more of a servlet type session management issue. Take a look at the javax.servlet.http.HttpSessionBindingListen

RE: [JBoss-user] Design Question...

2001-07-30 Thread Dan - Blue Lotus Software
2001 11:34 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Design Question... another way to approach this is through the datbase itself, writing a trigger to remove the data and setting a schedule for processing. most modern rdbms systems have similar implementations - Original Me

Re: [JBoss-user] Design Question...

2001-07-31 Thread Richard Kasperowski
Tim Yates wrote: > Yeah, the reason we do it this way (and not via HTTP sessions or cookies), > is that it was decided early on that it should be possible to style the site > differently dependant on the device that was accessing it, and we couldn't > guarantee that storing the HTTPSession, or us

RE: [JBoss-user] design question

2001-10-02 Thread Craig Johannsen
Original Message: From: Tahir Awan <[EMAIL PROTECTED]> To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Date: Tue, 2 Oct 2001 12:04:11 -0400 Subject: [JBoss-user] design question Hi, (sorry for this rePost but I think someone should be able to answer this). F

RE: [JBoss-user] Design Question

2002-07-09 Thread Brian Topping
. -b > -Original Message- > From: Jon Swinth [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, July 09, 2002 8:41 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Design Question > > > What is the best way to keep a object bound in memory for > stateless session bean

Re: [JBoss-user] Design Question

2002-07-10 Thread Marc Zampetti
t;key escrow" that is managed more securely... since the private key >isn't needed for operation within the business objects. > >-b > > > >>-----Original Message- >>From: Jon Swinth [mailto:[EMAIL PROTECTED]] >>Sent: Tuesday, July 09, 2002 8:41

RE: [JBoss-user] Design Question

2002-07-10 Thread Brian Topping
[Just got Jon's email as I typed this, so I guess it's academic, but still interesting...] > -Original Message- > From: Marc Zampetti [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, July 10, 2002 10:15 AM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Design

Re: [JBoss-user] design question

2003-09-22 Thread Tim McAuley
Check out this framework. We're currently using it and it does the job quite nicely. http://opensymphony.com/propertyset/ Hope it helps, Tim - To make the coding a little easier we just added in one extra class file "SettingsProxy" which allowed settings retrieval like this: SettingsPr

Re: [JBoss-user] Design question - Singleton

2001-07-05 Thread Alex . Devine
| | cc: | | Subject: [JBoss-user] Design question - Singleton | >---| Hi all, I have a session bean,

RE: [JBoss-user] Design question - Singleton

2001-07-05 Thread Frank Marx
Hi, is it not possible to have a static field in the Session Bean, I mean it is not made persistent anyway. Have you tried this approach with the static field ? Frank ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/li

RE: [JBoss-user] Design question - Singleton

2001-07-05 Thread Frank Marx
] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Thursday, July 05, 2001 12:23 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: [JBoss-user] Design question - Singleton It sounds like there is a problem with your design if you are trying to do this - the EJB

Re: [JBoss-user] Design question - Singleton

2001-07-05 Thread Fred Loney
The EJB spec forbids an enterprise Bean to use read/write static fields. This restriction is part of the contract with the EJB Container to control the bean lifecycle, e.g. by transparently distributing bean instances across multiple JVMs. I understand GemStone was big on spawning JVMs. The st

RE: [JBoss-user] Design question - Singleton

2001-07-05 Thread Frank Marx
: [JBoss-user] Design question - Singleton The EJB spec forbids an enterprise Bean to use read/write static fields. This restriction is part of the contract with the EJB Container to control the bean lifecycle, e.g. by transparently distributing bean instances across multiple JVMs. I understand

[JBoss-user] Design question with DTO

2004-06-30 Thread dmeyer
Hi There! I posted this to three forums and I got no Feedback. Now it's up to you! As the post was read 40 times the first 4 days it seems to be interesting to more users. Hi, we have an database design problem on mySQL using JBoss. We are using CMP, Autoincrement and InnoDB relationships. The Pr

[JBoss-user] Design question, CMP, EJB 2.0

2001-05-21 Thread Haug Bürger
Hi, we have the following problem. class ShipBean { intu,v; CabinBean[]cabins; } class CabinBean { intx,y,z;; } My first guess was to use entity beans for both of them. But my information is that the EJB 1.1 spec desn't support containers. That means i can use an ent

[JBoss-user] Design question: Entity bean implementing custom interfaces

2001-05-19 Thread Aaron M. Stromas
Hi, I'm tinkering with JBoss by extending the CMB CD example from the documentation. One idea is to make the individual CD track an fairly complex object. Say, the most simple track has only two properties - a title and length. However, it may also have additional properties, for example, a compo