<target depends="init,compile,compile-jsps,-pre-dist,-do-dist-with-manifest,-do-dist-without-manifest" name="do-dist"/>
<target depends="init" if="dist.ear.dir" name="library-inclusion-in-manifest">
<copyfiles files="${file.reference.jcore.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
- <copyfiles files="${file.reference.jsfcore.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
- <copyfiles files="${file.reference.jshop.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.jcore-ejb.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
+ <copyfiles files="${file.reference.jshop-ejb.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.cdi-api.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.gf-client.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
<copyfiles files="${file.reference.commons-codec-1.10.jar}" iftldtodir="${build.web.dir}/WEB-INF" todir="${dist.ear.dir}/lib"/>
</target>
<target depends="init" name="library-inclusion-in-archive" unless="dist.ear.dir">
<copyfiles files="${file.reference.jcore.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
- <copyfiles files="${file.reference.jsfcore.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
- <copyfiles files="${file.reference.jshop.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+ <copyfiles files="${file.reference.jcore-ejb.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
+ <copyfiles files="${file.reference.jshop-ejb.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.cdi-api.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.gf-client.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
<copyfiles files="${file.reference.commons-codec-1.10.jar}" todir="${build.web.dir}/WEB-INF/lib"/>
file.reference.commons-lang3-3.4.jar=lib/commons-lang3-3.4.jar
file.reference.gf-client.jar=lib/gf-client.jar
file.reference.jcore.jar=lib/jcore.jar
-file.reference.jsfcore.jar=lib/jsfcore.jar
+file.reference.jcore-ejb.jar=lib/jcore-ejb.jar
file.reference.jshop-core.jar=lib/jshop-core.jar
file.reference.jshop.jar=lib/jshop.jar
file.reference.log4j-api-2.3.jar=lib/log4j-api-2.3.jar
jar.compress=false
javac.classpath=\
${file.reference.jcore.jar}:\
- ${file.reference.jsfcore.jar}:\
+ ${file.reference.jcore-ejb.jar}:\
${file.reference.jshop.jar}:\
${file.reference.cdi-api.jar}:\
${file.reference.gf-client.jar}:\
runmain.jvmargs=
source.encoding=UTF-8
source.reference.jcore.jar=../jcore/src/
-source.reference.jsfcore.jar=../jsfcore/src/
+source.reference.jcore-ejb.jar=../jcore-ejb/src/
source.reference.jshop-core.jar=../jshop-core/src/
-source.reference.jshop.jar=../jshop/src/
+source.reference.jshop.jar=../jshop-ejb/src/
source.root=src
src.dir=${source.root}/java
test.src.dir=test
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
- <file>${file.reference.jsfcore.jar}</file>
+ <file>${file.reference.jcore-ejb.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
- <file>${file.reference.jshop.jar}</file>
+ <file>${file.reference.jshop-ejb.jar}</file>
<path-in-war>WEB-INF/lib</path-in-war>
</library>
<library dirs="200">
import javax.enterprise.context.SessionScoped;
import javax.faces.FacesException;
import javax.inject.Named;
-import org.mxchange.jshop.beans.BaseFrameworkBean;
-import org.mxchange.jshop.category.Category;
-import org.mxchange.jshop.product.Product;
import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
+import org.mxchange.jshopejb.beans.BaseFrameworkBean;
+import org.mxchange.jshopejb.model.category.Category;
+import org.mxchange.jshopejb.model.product.Product;
/**
* Main application class
import java.util.Deque;
import java.util.Iterator;
import javax.faces.FacesException;
-import org.mxchange.jshop.beans.FrameworkBean;
-import org.mxchange.jshop.category.Category;
import org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException;
import org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException;
-import org.mxchange.jshop.product.Product;
+import org.mxchange.jshopejb.beans.FrameworkBean;
+import org.mxchange.jshopejb.model.category.Category;
+import org.mxchange.jshopejb.model.product.Product;
/**
*
package org.mxchange.pizzaapplication.beans.customer;
import org.mxchange.jcore.model.contact.gender.Gender;
-import org.mxchange.jshop.beans.FrameworkBean;
+import org.mxchange.jshopejb.beans.FrameworkBean;
/**
* An interface for customer beans
import javax.enterprise.context.SessionScoped;
import javax.inject.Named;
import org.mxchange.jcore.model.contact.gender.Gender;
-import org.mxchange.jshop.beans.BaseFrameworkBean;
-import org.mxchange.jshop.model.customer.Customer;
-import org.mxchange.jshop.model.customer.ShopCustomer;
+import org.mxchange.jshopejb.beans.BaseFrameworkBean;
+import org.mxchange.jshopejb.model.customer.Customer;
+import org.mxchange.jshopejb.model.customer.ShopCustomer;
/**
* A customer bean which hides the customer instance
import java.util.List;
import org.mxchange.jcore.model.contact.gender.Gender;
-import org.mxchange.jshop.beans.FrameworkBean;
+import org.mxchange.jshopejb.beans.FrameworkBean;
/**
* An interface for data beans
import javax.enterprise.context.ApplicationScoped;
import javax.inject.Named;
import org.mxchange.jcore.model.contact.gender.Gender;
-import org.mxchange.jshop.beans.BaseFrameworkBean;
+import org.mxchange.jshopejb.beans.BaseFrameworkBean;
/**
* A customer bean which hides the customer instance
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
<validator>
<validator-id>PrivacyTermsCheckboxValidator</validator-id>
- <validator-class>org.mxchange.jsfcore.validator.bool.privacy_terms.PrivacyTermsCheckboxValidator</validator-class>
+ <validator-class>org.mxchange.jcoreejb.validator.bool.privacy_terms.PrivacyTermsCheckboxValidator</validator-class>
</validator>
<validator>
<validator-id>NameValidator</validator-id>
- <validator-class>org.mxchange.jsfcore.validator.string.names.NameValidator</validator-class>
+ <validator-class>org.mxchange.jcoreejb.validator.string.names.NameValidator</validator-class>
</validator>
</faces-config>
<description>Basket instance, should be the same as the bean</description>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
- <type>org.mxchange.jshop.beans.basket.BasketBean</type>
+ <type>org.mxchange.jshopejb.beans.basket.BasketBean</type>
</attribute>
</tag>
</taglib>
<filter>
<description>A servlet filter for setting character encoding to UTF-8</description>
<filter-name>Utf8ServletFilter</filter-name>
- <filter-class>org.mxchange.jsfcore.filter.servlet.utf8.Utf8ServletFilter</filter-class>
+ <filter-class>org.mxchange.jcoreejb.filter.servlet.utf8.Utf8ServletFilter</filter-class>
</filter>
<filter>
<description>A servlet filter for logging</description>
<filter>
<description>A filter for handling added basket items</description>
<filter-name>BasketItemAddedFilter</filter-name>
- <filter-class>org.mxchange.jshop.filter.servlet.basket.BasketItemAddedFilter</filter-class>
+ <filter-class>org.mxchange.jshopejb.filter.servlet.basket.BasketItemAddedFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>BasketItemAddedFilter</filter-name>
--%>
<%--<%@page errorPage="errorHandler.jsp" %>--%>
-<%@page import="org.mxchange.jshop.category.Category"%>
+<%@page import="org.mxchange.jshopejb.category.Category"%>
<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean"%>
<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaBean"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="java.util.Iterator"%>
<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean"%>
<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaBean"%>
-<%@page import="org.mxchange.jshop.product.Product"%>
+<%@page import="org.mxchange.jshopejb.product.Product"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<jsp:useBean id="controller" scope="session" class="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean" type="PizzaBean" />
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaBean"%>
<%@page import="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean"%>
-<%@page import="org.mxchange.jshop.item.AddableBasketItem"%>
+<%@page import="org.mxchange.jshopejb.item.AddableBasketItem"%>
<jsp:useBean id="controller" scope="session" class="org.mxchange.pizzaapplication.beans.controller.PizzaServiceBean" type="PizzaBean" />
controller.init();
%>
-<jsp:useBean id="item" scope="request" class="org.mxchange.jshop.item.basket.BasketItem" type="AddableBasketItem" />
+<jsp:useBean id="item" scope="request" class="org.mxchange.jshopejb.item.basket.BasketItem" type="AddableBasketItem" />
<jsp:setProperty name="item" property="*" />
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>