Skip navigation links
A B C D E F G I L N O P Q R S T U V W 

A

addProduct(Product) - Method in interface ejava.examples.ejbwar.inventory.dao.InventoryDAO
 
addProduct(Product) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
addProduct(Product, String) - Method in class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
 
Application - Class in ejava.examples.ejbwar.inventory.rs
This class triggers JAX-RS behavior in the server and registers all JAX-RS classes below the @ApplicationPath listed here
Application() - Constructor for class ejava.examples.ejbwar.inventory.rs.Application
 
applyBounds(TypedQuery<?>, int, int) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
appURI - Variable in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
Defines the HTTP URL for the WAR that hosts the JAX-RS resources.

B

begin() - Method in class ejava.examples.ejbwar.inventory.rs.TxFilter
 
buildURI(Class<T>, String) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
Helper method that returns a URIBuilder fully initialized to point to the URI that will reach the specified method within the inventory resource classes.

C

Categories - Class in ejava.examples.ejbwar.inventory.bo
This class is used to represent a collection of categories to/from the server.
Categories() - Constructor for class ejava.examples.ejbwar.inventory.bo.Categories
 
Categories(List<Category>, int, int) - Constructor for class ejava.examples.ejbwar.inventory.bo.Categories
 
categories - Variable in class ejava.examples.ejbwar.inventory.bo.Categories
 
CategoriesResource - Class in ejava.examples.ejbwar.inventory.rs
This class implements a web facade for the product catageories in the inventory management.
CategoriesResource() - Constructor for class ejava.examples.ejbwar.inventory.rs.CategoriesResource
 
Category - Class in ejava.examples.ejbwar.inventory.bo
This class represents a product category which has a many-to-many relationship with product.
Category() - Constructor for class ejava.examples.ejbwar.inventory.bo.Category
 
Category(String) - Constructor for class ejava.examples.ejbwar.inventory.bo.Category
 
client - Variable in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
commit() - Method in class ejava.examples.ejbwar.inventory.rs.TxFilter
 
createCategory(Category) - Method in interface ejava.examples.ejbwar.inventory.dao.InventoryDAO
 
createCategory(Category) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
createOrGetCategory(String) - Method in class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
 
createProduct(Product, String) - Method in interface ejava.examples.ejbwar.inventory.client.InventoryClient
 
createProduct(Product, String) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
This method uses HTML FORM mechanism to POST a new product in the inventory.
createProduct(Product, String) - Method in class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
createProduct(String, Integer, Double, String) - Method in class ejava.examples.ejbwar.inventory.rs.ProductsResource
Creates a product

D

dao - Variable in class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
 
deleteCategory(int) - Method in interface ejava.examples.ejbwar.inventory.client.InventoryClient
 
deleteCategory(int) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
deleteCategory(Category) - Method in interface ejava.examples.ejbwar.inventory.dao.InventoryDAO
 
deleteCategory(Category) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
deleteCategory(int) - Method in class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
 
deleteCategory(int) - Method in class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
deleteCategory(int) - Method in class ejava.examples.ejbwar.inventory.rs.CategoriesResource
This method responds to DELETE method calls to (root)/{id} URIs to delete a specific category.
deleteProduct(int) - Method in interface ejava.examples.ejbwar.inventory.client.InventoryClient
 
deleteProduct(int) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
deleteProduct(Product) - Method in interface ejava.examples.ejbwar.inventory.dao.InventoryDAO
 
deleteProduct(Product) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
deleteProduct(Product) - Method in class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
 
deleteProduct(int) - Method in class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
deleteProduct(int) - Method in class ejava.examples.ejbwar.inventory.rs.ProductsResource
Deletes the product identified.
destroy() - Method in class ejava.examples.ejbwar.inventory.rs.TxFilter
 
detachCategory(Category) - Method in interface ejava.examples.ejbwar.inventory.dao.InventoryDAO
 
detachCategory(Category) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class ejava.examples.ejbwar.inventory.rs.TxFilter
 

E

ejava.examples.ejbwar.inventory.bo - package ejava.examples.ejbwar.inventory.bo
 
ejava.examples.ejbwar.inventory.cdi - package ejava.examples.ejbwar.inventory.cdi
 
ejava.examples.ejbwar.inventory.client - package ejava.examples.ejbwar.inventory.client
 
ejava.examples.ejbwar.inventory.dao - package ejava.examples.ejbwar.inventory.dao
 
ejava.examples.ejbwar.inventory.ejb - package ejava.examples.ejbwar.inventory.ejb
 
ejava.examples.ejbwar.inventory.rmi - package ejava.examples.ejbwar.inventory.rmi
 
ejava.examples.ejbwar.inventory.rs - package ejava.examples.ejbwar.inventory.rs
 
ejb - Variable in class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
ejb - Variable in class ejava.examples.ejbwar.inventory.rs.CategoriesResource
 
ejb - Variable in class ejava.examples.ejbwar.inventory.rs.ProductsResource
 
em - Variable in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 

F

FIND_BY_NAME - Static variable in class ejava.examples.ejbwar.inventory.bo.Category
 
FIND_BY_NAME - Static variable in class ejava.examples.ejbwar.inventory.bo.Product
 
FIND_BY_PRODUCT - Static variable in class ejava.examples.ejbwar.inventory.bo.Category
 
findCategoriesByName(String, int, int) - Method in class ejava.examples.ejbwar.inventory.rs.CategoriesResource
This method will respond to a GET of the base resource URI to return categories based on query parameters.
findCategoryByName(String, int, int) - Method in interface ejava.examples.ejbwar.inventory.client.InventoryClient
 
findCategoryByName(String, int, int) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
findCategoryByName(String, int, int) - Method in interface ejava.examples.ejbwar.inventory.dao.InventoryDAO
 
findCategoryByName(String, int, int) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
findCategoryByName(String, int, int) - Method in class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
Returns a list of categories that match the name provided
findCategoryByName(String, int, int) - Method in class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
findProductByName(String, int, int) - Method in class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
 
findProductsByName(String, int, int) - Method in interface ejava.examples.ejbwar.inventory.client.InventoryClient
 
findProductsByName(String, int, int) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
findProductsByName(String, int, int) - Method in interface ejava.examples.ejbwar.inventory.dao.InventoryDAO
 
findProductsByName(String, int, int) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
findProductsByName(String, int, int) - Method in class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
findProductsByName(String, int, int) - Method in class ejava.examples.ejbwar.inventory.rs.ProductsResource
Returns a simple list of products that match provided name

G

getCategories() - Method in class ejava.examples.ejbwar.inventory.bo.Categories
 
getCategory(int) - Method in interface ejava.examples.ejbwar.inventory.client.InventoryClient
 
getCategory(int) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
getCategory(int) - Method in interface ejava.examples.ejbwar.inventory.dao.InventoryDAO
 
getCategory(int) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
getCategory(int) - Method in class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
 
getCategory(int) - Method in class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
getCategory(int) - Method in class ejava.examples.ejbwar.inventory.rs.CategoriesResource
This method will respond to a GET method for (root)/{id} URIs to get a specific category.
getCount() - Method in class ejava.examples.ejbwar.inventory.bo.Categories
 
getCount() - Method in class ejava.examples.ejbwar.inventory.bo.Products
 
getId() - Method in class ejava.examples.ejbwar.inventory.bo.Category
 
getId() - Method in class ejava.examples.ejbwar.inventory.bo.Product
 
getLimit() - Method in class ejava.examples.ejbwar.inventory.bo.Categories
 
getLimit() - Method in class ejava.examples.ejbwar.inventory.bo.Products
 
getName() - Method in class ejava.examples.ejbwar.inventory.bo.Category
 
getName() - Method in class ejava.examples.ejbwar.inventory.bo.Product
 
getOffset() - Method in class ejava.examples.ejbwar.inventory.bo.Categories
 
getOffset() - Method in class ejava.examples.ejbwar.inventory.bo.Products
 
getPrice() - Method in class ejava.examples.ejbwar.inventory.bo.Product
 
getProduct(int) - Method in interface ejava.examples.ejbwar.inventory.client.InventoryClient
 
getProduct(int) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
getProduct(int) - Method in interface ejava.examples.ejbwar.inventory.dao.InventoryDAO
 
getProduct(int) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
getProduct(int) - Method in class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
 
getProduct(int) - Method in class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
getProduct(int) - Method in class ejava.examples.ejbwar.inventory.rs.ProductsResource
Returns a specific product
getProductCount() - Method in class ejava.examples.ejbwar.inventory.bo.Category
 
getProducts() - Method in class ejava.examples.ejbwar.inventory.bo.Category
 
getProducts() - Method in class ejava.examples.ejbwar.inventory.bo.Products
 
getQuantity() - Method in class ejava.examples.ejbwar.inventory.bo.Product
 
getSize(Object, Class<?>, Type, Annotation[], MediaType) - Method in class ejava.examples.ejbwar.inventory.rs.PrettyPrinter
 
getVersion() - Method in class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
This property is added to each entity so that we can have better control over concurrent updates

I

id - Variable in class ejava.examples.ejbwar.inventory.bo.Category
 
id - Variable in class ejava.examples.ejbwar.inventory.bo.Product
 
init() - Method in class ejava.examples.ejbwar.inventory.rs.TxFilter
 
init(FilterConfig) - Method in class ejava.examples.ejbwar.inventory.rs.TxFilter
 
Inventory - Annotation Type in ejava.examples.ejbwar.inventory.cdi
 
InventoryClient - Interface in ejava.examples.ejbwar.inventory.client
Defines a remote interface used by clients of the WAR-deployed EJB.
InventoryClientImpl - Class in ejava.examples.ejbwar.inventory.client
This class implements an HTTP Client interface to the inventory web application.
InventoryClientImpl() - Constructor for class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
InventoryDAO - Interface in ejava.examples.ejbwar.inventory.dao
Defines the interface for the CRUD inventory methods.
InventoryDAOImpl - Class in ejava.examples.ejbwar.inventory.dao
This DAO implementation uses JPA and an injected entity manager to perform CRUD operations on inventory data.
InventoryDAOImpl() - Constructor for class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
inventoryEM - Variable in class ejava.examples.ejbwar.inventory.ejb.InventoryResources
 
InventoryMgmtEJB - Class in ejava.examples.ejbwar.inventory.ejb
This class implements the core transactional business logic for the inventory management.
InventoryMgmtEJB() - Constructor for class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
 
InventoryMgmtRemote - Interface in ejava.examples.ejbwar.inventory.rmi
This interface defines the RMI interface to the Inventory service deployed on the server.
InventoryMgmtRMIEJB - Class in ejava.examples.ejbwar.inventory.rmi
This EJB acts as a remote facade for the InventoryEJB business logic.
InventoryMgmtRMIEJB() - Constructor for class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
InventoryRepresentation - Class in ejava.examples.ejbwar.inventory.bo
This class provides base definition and helper methods for representations within the inventory domain.
InventoryRepresentation() - Constructor for class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
 
InventoryResources - Class in ejava.examples.ejbwar.inventory.ejb
This class is used to provide resources required by the application.
InventoryResources() - Constructor for class ejava.examples.ejbwar.inventory.ejb.InventoryResources
 
isActive() - Method in class ejava.examples.ejbwar.inventory.rs.TxFilter
 
isRollbackOnly() - Method in class ejava.examples.ejbwar.inventory.rs.TxFilter
 
isWriteable(Class<?>, Type, Annotation[], MediaType) - Method in class ejava.examples.ejbwar.inventory.rs.PrettyPrinter
Return true for any JAXB class

L

limit - Variable in class ejava.examples.ejbwar.inventory.bo.Categories
 
limit - Variable in class ejava.examples.ejbwar.inventory.bo.Products
 
log - Static variable in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
log - Static variable in class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
log - Static variable in class ejava.examples.ejbwar.inventory.rs.CategoriesResource
 
log - Static variable in class ejava.examples.ejbwar.inventory.rs.ProductsResource
 
log - Static variable in class ejava.examples.ejbwar.inventory.rs.TxFilter
 

N

name - Variable in class ejava.examples.ejbwar.inventory.bo.Category
 
name - Variable in class ejava.examples.ejbwar.inventory.bo.Product
 
NAMESPACE - Static variable in class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
 

O

offset - Variable in class ejava.examples.ejbwar.inventory.bo.Categories
 
offset - Variable in class ejava.examples.ejbwar.inventory.bo.Products
 

P

PrettyPrinter - Class in ejava.examples.ejbwar.inventory.rs
Put this class in your JAX-RS application to have XML output formatted so that it is easier to read.
PrettyPrinter() - Constructor for class ejava.examples.ejbwar.inventory.rs.PrettyPrinter
 
price - Variable in class ejava.examples.ejbwar.inventory.bo.Product
 
Product - Class in ejava.examples.ejbwar.inventory.bo
This class represents a specific product.
Product() - Constructor for class ejava.examples.ejbwar.inventory.bo.Product
 
Product(String, Integer, Double) - Constructor for class ejava.examples.ejbwar.inventory.bo.Product
 
Product(String) - Constructor for class ejava.examples.ejbwar.inventory.bo.Product
 
productCount - Variable in class ejava.examples.ejbwar.inventory.bo.Category
 
products - Variable in class ejava.examples.ejbwar.inventory.bo.Category
 
Products - Class in ejava.examples.ejbwar.inventory.bo
This class is used to represent a collection of products to/from the server.
Products() - Constructor for class ejava.examples.ejbwar.inventory.bo.Products
 
Products(List<Product>, int, int) - Constructor for class ejava.examples.ejbwar.inventory.bo.Products
 
products - Variable in class ejava.examples.ejbwar.inventory.bo.Products
 
ProductsResource - Class in ejava.examples.ejbwar.inventory.rs
This class implements the JAX-RS interface for the injected inventory management EJB logic.
ProductsResource() - Constructor for class ejava.examples.ejbwar.inventory.rs.ProductsResource
 
providers - Variable in class ejava.examples.ejbwar.inventory.rs.PrettyPrinter
 

Q

quantity - Variable in class ejava.examples.ejbwar.inventory.bo.Product
 

R

request - Variable in class ejava.examples.ejbwar.inventory.rs.CategoriesResource
 
request - Variable in class ejava.examples.ejbwar.inventory.rs.ProductsResource
 
ResourceHelper - Class in ejava.examples.ejbwar.inventory.rs
This class provides common code build and return standard server responses
ResourceHelper() - Constructor for class ejava.examples.ejbwar.inventory.rs.ResourceHelper
 
rollback() - Method in class ejava.examples.ejbwar.inventory.rs.TxFilter
 

S

serialVersionUID - Static variable in class ejava.examples.ejbwar.inventory.bo.Categories
 
serialVersionUID - Static variable in class ejava.examples.ejbwar.inventory.bo.Category
 
serialVersionUID - Static variable in class ejava.examples.ejbwar.inventory.bo.Product
 
serialVersionUID - Static variable in class ejava.examples.ejbwar.inventory.bo.Products
 
serverError(Log, String, Exception) - Static method in class ejava.examples.ejbwar.inventory.rs.ResourceHelper
 
setAppURI(URI) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
setCategories(List<Category>) - Method in class ejava.examples.ejbwar.inventory.bo.Categories
 
setCount(int) - Method in class ejava.examples.ejbwar.inventory.bo.Categories
 
setCount(int) - Method in class ejava.examples.ejbwar.inventory.bo.Products
 
setEntityManager(EntityManager) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
setHttpClient(HttpClient) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
setId(int) - Method in class ejava.examples.ejbwar.inventory.bo.Category
 
setId(int) - Method in class ejava.examples.ejbwar.inventory.bo.Product
 
setLimit(int) - Method in class ejava.examples.ejbwar.inventory.bo.Categories
 
setLimit(int) - Method in class ejava.examples.ejbwar.inventory.bo.Products
 
setName(String) - Method in class ejava.examples.ejbwar.inventory.bo.Category
 
setName(String) - Method in class ejava.examples.ejbwar.inventory.bo.Product
 
setOffset(int) - Method in class ejava.examples.ejbwar.inventory.bo.Categories
 
setOffset(int) - Method in class ejava.examples.ejbwar.inventory.bo.Products
 
setPrice(Double) - Method in class ejava.examples.ejbwar.inventory.bo.Product
 
setProductCount(int) - Method in class ejava.examples.ejbwar.inventory.bo.Category
 
setProducts(List<Product>) - Method in class ejava.examples.ejbwar.inventory.bo.Category
 
setProducts(List<Product>) - Method in class ejava.examples.ejbwar.inventory.bo.Products
 
setQuantity(Integer) - Method in class ejava.examples.ejbwar.inventory.bo.Product
 
setVersion(int) - Method in class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
 

T

toString() - Method in class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
Our toString() implementation will take advantage of the JAXB defintion for the class and marshall the object as an XML string.
tx - Variable in class ejava.examples.ejbwar.inventory.rs.TxFilter
 
TxFilter - Class in ejava.examples.ejbwar.inventory.rs
This class will cause the JTA transaction the determines the scope of how long JPA can communicate with the DB to be extended until after all JAXB marshalling is complete.
TxFilter() - Constructor for class ejava.examples.ejbwar.inventory.rs.TxFilter
 

U

unmarshall(Class<T>, InputStream) - Static method in class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
This method will unmarshall the specified class from the provided XML input stream.
updateProduct(Product) - Method in interface ejava.examples.ejbwar.inventory.client.InventoryClient
 
updateProduct(Product) - Method in class ejava.examples.ejbwar.inventory.client.InventoryClientImpl
 
updateProduct(Product) - Method in interface ejava.examples.ejbwar.inventory.dao.InventoryDAO
 
updateProduct(Product) - Method in class ejava.examples.ejbwar.inventory.dao.InventoryDAOImpl
 
updateProduct(Product) - Method in class ejava.examples.ejbwar.inventory.ejb.InventoryMgmtEJB
 
updateProduct(Product) - Method in class ejava.examples.ejbwar.inventory.rmi.InventoryMgmtRMIEJB
 
updateProduct(int, Product) - Method in class ejava.examples.ejbwar.inventory.rs.ProductsResource
Updates a product with the values of the object passed in
uriInfo - Variable in class ejava.examples.ejbwar.inventory.rs.CategoriesResource
 
uriInfo - Variable in class ejava.examples.ejbwar.inventory.rs.ProductsResource
 

V

version - Variable in class ejava.examples.ejbwar.inventory.bo.InventoryRepresentation
 

W

writeTo(Object, Class<?>, Type, Annotation[], MediaType, MultivaluedMap<String, Object>, OutputStream) - Method in class ejava.examples.ejbwar.inventory.rs.PrettyPrinter
Write the provided JAXB object using formatted output.
A B C D E F G I L N O P Q R S T U V W 
Skip navigation links

Copyright © 2015 John's Hopkins University, Engineering Programs for Professionals. All rights reserved.