Hello, I have a doubt
   I am building a WebApp that interact with an EJB (BMP), but I have
somme doubts about my architecture:

   1) I have a WebApp project that basically list and manage users
from my DBMS.
   2) I have an EJB-BMP named 'user' that maps an user from DB and
allow update/insert/delete data's user.

   My doubt is that I want to list all users from DB with all his data
and I don't know where do that. I think in two possibilities but maybe
they are not elegant or maybe there are another best solution for my
requirement. Here is what I am thinking:
   1) Write in my user EJB a method 'Hashtable<String, String> getUsers
(Vector<integer> users)' for get it back all users.
   2) Write a new EJB that manage more that one user for do this job.
   3) Change name of my EJB to 'users' and manage all my users from
this EJB.

Hope somebody can help me.

Greetings

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to