Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:

  http://opensource.atlassian.com/projects/xdoclet/secure/ViewIssue.jspa?key=XDT-311


Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XDT-311
    Summary: local-facade
       Type: Improvement

     Status: Assigned
   Priority: Minor

 Time Spent: Unknown
   Estimate: 0 minutes

    Project: XDoclet
  Component: EJB Module

   Assignee: xdoclet-devel (Use for new issues)
   Reporter: Antonio Kantek

    Created: Tue, 18 Feb 2003 6:32 AM
    Updated: Tue, 18 Feb 2003 6:32 AM

Description:
Local-facade is useful when the EJB Container and the Web Container runs in the same 
JVM.

I have used local facade in the following case:

I have implementented the SequenceBlock PK Generator. 
I have 1 Entity Bean called EntittySequenceBean. This entity maps the table with the 
last valid pk for each EJB. The Façade for this Entity Bean is a Session Bean 
Stateful called SessionSequenceBean. This session bean contains the block of valid pk, 
so I can minimize the calls to the database. This session bean contains only local 
interfaces, and I need to share one instance of this session bean / JVM. I can use the 
classics methods of ServiceLocator to store a Session Bean reference (the getServices 
methods) or I can use the local-facade.

Local-facade is a clone of remote-facade, but local :)



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/xdoclet/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to