EJB question - OO related (I think)

T

tim

I was looking at an EJB example for Weblogic 9.1 with programs
Client.java and
AccountBean.java.
In it they are showing how to find beans and create new beans. They are

also showing how to use aggregate functions such as total number of
distinct balances.
In order to do this (use the aggregate methods) though, you must have
an account bean and in order to have an account bean, as I understand
it, you must have a specific account ID.
How is this handled in the "real world"? I can't believe you would have

to get an instance of a bean for a real life account before doing any
of these aggregate functions.
Do the banks set up dummy accounts for this purpose?

Thanks,
Tim
 
?

=?ISO-8859-1?Q?Arne_Vajh=F8j?=

I was looking at an EJB example for Weblogic 9.1 with programs
Client.java and
AccountBean.java.
In it they are showing how to find beans and create new beans. They are

also showing how to use aggregate functions such as total number of
distinct balances.
In order to do this (use the aggregate methods) though, you must have
an account bean and in order to have an account bean, as I understand
it, you must have a specific account ID.
How is this handled in the "real world"? I can't believe you would have
to get an instance of a bean for a real life account before doing any
of these aggregate functions.
Do the banks set up dummy accounts for this purpose?

I do not know the WL examples.

But to use SQL aggregate functions I would assume that
you would call a method in a stateless session bean
not use entity beans.

Arne
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top