Java Reference
In-Depth Information
Listing 8.4
Buffering with a facade
package com.bitterjava.bbs.ejb;
public interface BoardFacade extends javax.ejb.EJBObject {
Buffering in
the parameter
list
Vector addPostToDiscussion(String boardName,
int discussionID,
com.bitterjava.bbs.ejb.Post post)
throws javax.ejb.CreateException,
java.rmi.RemoteException,
javax.ejb.FinderException;
Vector addDiscussionToBoard(String boardName, String discussionName)
throws javax.ejb.CreateException,
java.rmi.RemoteException,
javax.ejb.FinderException;
Buffering with
a collection c
com.bitterjava.bbs.Board createBoard(String boardName)
throws javax.ejb.CreateException,
java.rmi.RemoteException,
javax.ejb.FinderException;
com.bitterjava.bbs.Board getBoard(String name)
throws java.rmi.RemoteException, javax.ejb.FinderException;
Buffering
with a
composite
object
collection
java.util.Vector getPostsInDiscussion(String boardName, int
discussionID)
throws java.rmi.RemoteException, javax.ejb.FinderException;
java.util.Vector getDiscussionsInBoard(String boardName)
throws java.rmi.RemoteException, javax.ejb.FinderException;
void removeBoard(String boardName)
throws java.rmi.RemoteException,
javax.ejb.RemoveException,
javax.ejb.FinderException;
Vector removePostFromDiscussion(String boardName,
int discussionID,
com.bitterjava.bbs.ejb.Post post)
throws java.rmi.RemoteException,
javax.ejb.FinderException,
javax.ejb.RemoveException;
Vector removeDiscussionFromBoard(String boardName, Discussion
discussion)
throws java.rmi.RemoteException,
javax.ejb.FinderException,
javax.ejb.RemoveException;
}
Search WWH ::




Custom Search