Skip to content
Snippets Groups Projects
Commit aef8b42f authored by Falucho's avatar Falucho
Browse files

Se hace deploy con JSF 2.3

parent f7b4a959
No related branches found
No related tags found
No related merge requests found
...@@ -6,7 +6,6 @@ import uy.edu.fing.tse.central.business.BusinessLocal; ...@@ -6,7 +6,6 @@ import uy.edu.fing.tse.central.business.BusinessLocal;
import javax.ejb.EJB; import javax.ejb.EJB;
import javax.enterprise.context.RequestScoped; import javax.enterprise.context.RequestScoped;
import javax.inject.Named; import javax.inject.Named;
import javax.jms.MessageProducer;
@Named @Named
@RequestScoped @RequestScoped
...@@ -15,7 +14,5 @@ public class RequestBean { ...@@ -15,7 +14,5 @@ public class RequestBean {
@EJB @EJB
private BusinessLocal negocio; private BusinessLocal negocio;
@EJB
private MessageProducer mq;
} }
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets">
<head>
<title>BackOffice - feiknius</title>
</head>
<body>
<header>
</header>
<!-- Menús, headers y todo lo que vaya antes del contenido -->
<ui:insert name="contenido">
Contenido por defecto para que no quede en blanco...
</ui:insert>
<!-- Footer y otros componentes que vayan después del contenido -->
<footer>
</footer>
</body>
</html>
\ No newline at end of file
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>TSE 2019 - Práctico</title>
</head>
<body>
<h1>TSE 2019 - Practico</h1>
<br>
<h3>
<a href="jsp">JSP</a>
</h3>
<br>
<h3>
<a href="jsf">JSF</a>
</h3>
<br>
<h3>
<a href="../practico-api/rest/noticias">Rest</a>
</h3>
<br>
<h3>
<a href="../practico-api/SoapAPI?wsdl">SOAP</a>
</h3>
<br>
<h3>
<a href="resources/soapui/TSE-API-soapui-project.xml" download>SoapUI</a>
</h3>
</body>
</html>
\ No newline at end of file
<ui:decorate xmlns="http://www.w3.org/1999/xhtml"
xmlns:ui="http://java.sun.com/jsf/facelets" template="WEB-INF/templates/template.xhtml">
<ui:define name="contenido">
<h1>Contenido que inserta el cliente en el template.</h1>
<h1>FALLER</h1>
</ui:define>
</ui:decorate>
\ No newline at end of file
...@@ -33,6 +33,11 @@ ...@@ -33,6 +33,11 @@
<type>ejb</type> <type>ejb</type>
</dependency> </dependency>
<dependency>
<groupId>uy.edu.fing.tse</groupId>
<artifactId>backoffice</artifactId>
<type>war</type>
</dependency>
</dependencies> </dependencies>
......
...@@ -57,6 +57,13 @@ ...@@ -57,6 +57,13 @@
<type>ejb</type> <type>ejb</type>
</dependency> </dependency>
<dependency>
<groupId>uy.edu.fing.tse</groupId>
<artifactId>backoffice</artifactId>
<version>${project.version}</version>
<type>war</type>
</dependency>
<dependency> <dependency>
<groupId>org.wildfly.bom</groupId> <groupId>org.wildfly.bom</groupId>
<artifactId>wildfly-javaee8-with-tools</artifactId> <artifactId>wildfly-javaee8-with-tools</artifactId>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment