which bean it is ?

G

gk

Hi,

i want to make an EJB project(banking project).

so,I want to make CUSTOMER.

Now, i have a simple question...should i make CUSTOMER a session bean
or Entity Bean ?

How do i decide ?

thanks
 
?

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

gk said:
i want to make an EJB project(banking project).

so,I want to make CUSTOMER.

Now, i have a simple question...should i make CUSTOMER a session bean
or Entity Bean ?

How do i decide ?

data => entity
synchronous service => session
asynchronous service => message

To me Customer sound as data.

Arne
 
G

gk

Arne said:
data => entity
synchronous service => session
asynchronous service => message

To me Customer sound as data.

Arne


hi thanks for the response.

can you please provide an example, what do you meant by "synchronise
service".

Say, a customer wants to deposit some cash.......is it a 'synchronise
service' .....is it a session bean ?


and also please explain 'asynchronous service 'by an example.
 
?

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

can you please provide an example, what do you meant by "synchronise
service".

Say, a customer wants to deposit some cash.......is it a 'synchronise
service' .....is it a session bean ?

and also please explain 'asynchronous service 'by an example.

In this context:

synchronous = you call and wait for response while processing is done
asynchronous = you call and does not wait for processing to complete

To me deposit sound as synchronous.

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
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top