org.books.util
Class BookstoreLocator

java.lang.Object
  extended by org.books.util.BookstoreLocator

public class BookstoreLocator
extends java.lang.Object

CAS Enterprise Application Development mit Java EE (EADJ) - 2007
Modul: Business-Tier (EJB 3)
Uebung: 2 (Hilfklasse)
Beschreibung:
Helper class to hide the lookup to the facade bean for the client.
Note:
With EJB 3.0 there is no need for a business deleate class anymore, since the remote interface can directly be delivered to the client.

Copyright (c) 2007 bouquet dot ch, 3032 Hinterkappelen. All rights reseved.

Version:
1.0 - 25.06.2007
Author:
Marc Bouquet ( marc at bouquet dot ch, Switzerland )

Constructor Summary
BookstoreLocator()
           
 
Method Summary
static AdminManagerLocal getAdminManagerLocal()
          This method create a lookup on the AdminManagerBean
static AdminManagerRemote getAdminManagerRemote()
          This method create a lookup on the AdminManagerBean
static CatalogManagerLocal getCatalogManagerLocal()
          This method create a lookup on the CatalogManager
static CatalogManagerRemote getCatalogManagerRemote()
          This method create a lookup on the CatalogManager
static OrderManagerLocal getOrderManagerLocal()
          This method create a lookup on the OrderManagerBean
static OrderManagerRemote getOrderManagerRemote()
          This method create a lookup on the OrderManagerBean
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BookstoreLocator

public BookstoreLocator()
Method Detail

getCatalogManagerLocal

public static CatalogManagerLocal getCatalogManagerLocal()
This method create a lookup on the CatalogManager

Returns:
CatalogManagerLocal

getCatalogManagerRemote

public static CatalogManagerRemote getCatalogManagerRemote()
This method create a lookup on the CatalogManager

Returns:
CatalogManagerRemote

getOrderManagerLocal

public static OrderManagerLocal getOrderManagerLocal()
This method create a lookup on the OrderManagerBean

Returns:
OrderManagerLocal

getOrderManagerRemote

public static OrderManagerRemote getOrderManagerRemote()
This method create a lookup on the OrderManagerBean

Returns:
OrderManagerRemote

getAdminManagerLocal

public static AdminManagerLocal getAdminManagerLocal()
This method create a lookup on the AdminManagerBean

Returns:
AdminManagerLocal

getAdminManagerRemote

public static AdminManagerRemote getAdminManagerRemote()
This method create a lookup on the AdminManagerBean

Returns:
AdminManagerRemote


Copyright © 2007 - bouquet dot ch, 3032 Hinterkappelen. All Rights Reserved.