[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

[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

Re: [JBoss-user] Design Question

2002-07-10 Thread Marc Zampetti
-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 use? Specifically, I have a java.security.Key that I

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 Question I'm not sure I

[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

RE: [JBoss-user] Design Question

2002-07-09 Thread Brian Topping
- 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 use? Specifically, I have a java.security.Key that I need to make

[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

RE: [JBoss-user] design question

2001-10-02 Thread Craig Johannsen
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). For a new project, I need to decide whether its

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 using

[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

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 a unique 48 character session ID (allocated

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

2001-07-30 Thread Mike Abney
- 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 character session ID (allocated by me). If they then login, I tie that sessionId

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 best

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

2001-07-30 Thread Tim Yates
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 session IDs and storing them

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

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

2001-07-30 Thread Dan - Blue Lotus Software
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 Message

[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 - Singleton

2001-07-05 Thread Alex . Devine
: | | Subject: [JBoss-user] Design question - Singleton | ---| Hi all, I have a session bean, which number of instance should be limited to 1

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]

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

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

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

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

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, 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

[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

Re: [JBoss-user] Design Question

2001-05-17 Thread Hunter Hillegas
and 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 Question I have had good luck with a similar design. Here is what I do in cases

[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

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 on a

RE: [JBoss-user] Design Question

2001-05-16 Thread DeGreef, Chris J. (AIT)
[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 design

Re: [JBoss-user] Design Question

2001-05-16 Thread Dovan Nguyen
this pattern on a large scale? (large volume?) -Original Message- From: Hunter 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

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 ___