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
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
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
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
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
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
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
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
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:
|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
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
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
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
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
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
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
> 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
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
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
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
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
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
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
.
-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
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
[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
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
|
| cc:
|
| Subject: [JBoss-user] Design question - Singleton
|
>---|
Hi all,
I have a session bean,
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
]
[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
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
: [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
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
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
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
35 matches
Mail list logo