facade « ejb « Java Enterprise Q&A





1. What is the point of a Facade in Java EE?    stackoverflow.com

I'm not really understanding the point of a facade.

public abstract class AbstractFacade<T> {

private Class<T> entityClass;

public AbstractFacade(Class<T> entityClass) {
    this.entityClass = entityClass;
}

protected abstract EntityManager getEntityManager();

public void create(T entity) {
 ...

2. What should be EJB Service Facade arguments and return types?    stackoverflow.com

I'm on my EJB 3 services design phase right now and wonder about Service Facade pattern usage. Assume I have domain object called "Service". In DB it's configuration data is spreaded among ...

3. Why use facade pattern in EJB?    stackoverflow.com

I've read through this article trying to understand why you want a session bean in between the client and entity bean. Is it because by letting the client access ...