Skip to content

Commit

Permalink
Feat Convertidores Ejercicio
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-emarquez committed Sep 3, 2021
1 parent 1830634 commit 8cae063
Show file tree
Hide file tree
Showing 23 changed files with 643 additions and 0 deletions.
49 changes: 49 additions & 0 deletions BolsaTrabajoV2/.classpath
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" output="target/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" path="target/generated-sources/annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="target/generated-test-sources/test-annotations">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="ignore_optional_problems" value="true"/>
<attribute name="m2e-apt" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/classes"/>
</classpath>
34 changes: 34 additions & 0 deletions BolsaTrabajoV2/.project
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>HolaMundoJSF</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
</natures>
<filteredResources>
<filter>
<id>1628118827407</id>
<name></name>
<type>30</type>
<matcher>
<id>org.eclipse.core.resources.regexFilterMatcher</id>
<arguments>node_modules|.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments>
</matcher>
</filter>
</filteredResources>
</projectDescription>
5 changes: 5 additions & 0 deletions BolsaTrabajoV2/.settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/main/resources=UTF-8
encoding//src/test/java=UTF-8
encoding/<project>=UTF-8
3 changes: 3 additions & 0 deletions BolsaTrabajoV2/.settings/org.eclipse.jdt.apt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
eclipse.preferences.version=1
org.eclipse.jdt.apt.aptEnabled=true
org.eclipse.jdt.apt.genSrcDir=target\\generated-sources\\annotations
9 changes: 9 additions & 0 deletions BolsaTrabajoV2/.settings/org.eclipse.jdt.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.problem.enablePreviewFeatures=disabled
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
org.eclipse.jdt.core.compiler.problem.reportPreviewFeatures=ignore
org.eclipse.jdt.core.compiler.processAnnotations=enabled
org.eclipse.jdt.core.compiler.release=disabled
org.eclipse.jdt.core.compiler.source=1.8
4 changes: 4 additions & 0 deletions BolsaTrabajoV2/.settings/org.eclipse.m2e.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
activeProfiles=
eclipse.preferences.version=1
resolveWorkspaceProjects=true
version=1
168 changes: 168 additions & 0 deletions BolsaTrabajoV2/diagram.bpmn
Original file line number Diff line number Diff line change
@@ -0,0 +1,168 @@
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:omgdi="http://www.omg.org/spec/DD/20100524/DI" xmlns:omgdc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="sid-38422fae-e03e-43a3-bef4-bd33b32041b2" targetNamespace="http://bpmn.io/bpmn" exporter="bpmn-js (https://demo.bpmn.io)" exporterVersion="8.7.1">
<process id="Process_1" isExecutable="false">
<startEvent id="StartEvent_1y45yut" name="Inicio">
<outgoing>SequenceFlow_0h21x7r</outgoing>
</startEvent>
<task id="Task_1hcentk" name="Capa Cliente">
<incoming>SequenceFlow_0h21x7r</incoming>
<outgoing>Flow_1u8r72d</outgoing>
</task>
<sequenceFlow id="SequenceFlow_0h21x7r" sourceRef="StartEvent_1y45yut" targetRef="Task_1hcentk" />
<task id="Activity_0mown8x" name="Capa Web(JSF)">
<incoming>Flow_1u8r72d</incoming>
<outgoing>Flow_0lv4jls</outgoing>
</task>
<sequenceFlow id="Flow_1u8r72d" sourceRef="Task_1hcentk" targetRef="Activity_0mown8x" />
<task id="Activity_1aprv6i" name="Capa de Negocio">
<incoming>Flow_0lv4jls</incoming>
<outgoing>Flow_01iw2ax</outgoing>
</task>
<sequenceFlow id="Flow_0lv4jls" sourceRef="Activity_0mown8x" targetRef="Activity_1aprv6i" />
<task id="Activity_1b54hn6" name="Capa de Datos">
<incoming>Flow_01iw2ax</incoming>
<outgoing>Flow_1xcree9</outgoing>
<dataOutputAssociation id="DataOutputAssociation_0msie9x">
<targetRef>DataStoreReference_03ahy16</targetRef>
</dataOutputAssociation>
</task>
<dataStoreReference id="DataStoreReference_03ahy16" name="JDBC" />
<endEvent id="Event_1j71att" name="Fin">
<incoming>Flow_1xcree9</incoming>
</endEvent>
<sequenceFlow id="Flow_1xcree9" sourceRef="Activity_1b54hn6" targetRef="Event_1j71att" />
<sequenceFlow id="Flow_01iw2ax" sourceRef="Activity_1aprv6i" targetRef="Activity_1b54hn6" />
<textAnnotation id="TextAnnotation_120t5om">
<text>HTML, CSS Y JS</text>
</textAnnotation>
<association id="Association_07wvgbs" sourceRef="Task_1hcentk" targetRef="TextAnnotation_120t5om" />
<textAnnotation id="TextAnnotation_076ukt9">
<text>Managed Beans (Controlador)</text>
</textAnnotation>
<association id="Association_1kcgtdx" sourceRef="Activity_0mown8x" targetRef="TextAnnotation_076ukt9" />
<textAnnotation id="TextAnnotation_15ui8kn">
<text>JavaBeans(Modelo)</text>
</textAnnotation>
<association id="Association_190s6mo" sourceRef="Activity_0mown8x" targetRef="TextAnnotation_15ui8kn" />
<textAnnotation id="TextAnnotation_1759ajl">
<text>Facelets JSPt ags (Vista)</text>
</textAnnotation>
<association id="Association_0cl2qhh" sourceRef="Activity_0mown8x" targetRef="TextAnnotation_1759ajl" />
<textAnnotation id="TextAnnotation_113co8h">
<text>Objetos de negocio</text>
</textAnnotation>
<association id="Association_1qjuslb" sourceRef="Activity_1aprv6i" targetRef="TextAnnotation_113co8h" />
<textAnnotation id="TextAnnotation_12wua9t">
<text>Objetos Entidad</text>
</textAnnotation>
<association id="Association_06pkh92" sourceRef="Activity_1b54hn6" targetRef="TextAnnotation_12wua9t" />
</process>
<bpmndi:BPMNDiagram id="BpmnDiagram_1">
<bpmndi:BPMNPlane id="BpmnPlane_1" bpmnElement="Process_1">
<bpmndi:BPMNShape id="TextAnnotation_1759ajl_di" bpmnElement="TextAnnotation_1759ajl">
<omgdc:Bounds x="720" y="180" width="100" height="40" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_15ui8kn_di" bpmnElement="TextAnnotation_15ui8kn">
<omgdc:Bounds x="560" y="120" width="100" height="40" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_076ukt9_di" bpmnElement="TextAnnotation_076ukt9">
<omgdc:Bounds x="520" y="413" width="100" height="54" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_120t5om_di" bpmnElement="TextAnnotation_120t5om">
<omgdc:Bounds x="310" y="405" width="100" height="40" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_113co8h_di" bpmnElement="TextAnnotation_113co8h">
<omgdc:Bounds x="830" y="450" width="100" height="40" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="TextAnnotation_12wua9t_di" bpmnElement="TextAnnotation_12wua9t">
<omgdc:Bounds x="1090" y="425" width="100" height="30" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="SequenceFlow_0h21x7r_di" bpmnElement="SequenceFlow_0h21x7r">
<omgdi:waypoint x="218" y="250" />
<omgdi:waypoint x="269" y="250" />
<omgdi:waypoint x="269" y="320" />
<omgdi:waypoint x="350" y="320" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1u8r72d_di" bpmnElement="Flow_1u8r72d">
<omgdi:waypoint x="450" y="320" />
<omgdi:waypoint x="510" y="320" />
<omgdi:waypoint x="510" y="260" />
<omgdi:waypoint x="560" y="260" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0lv4jls_di" bpmnElement="Flow_0lv4jls">
<omgdi:waypoint x="660" y="260" />
<omgdi:waypoint x="690" y="260" />
<omgdi:waypoint x="690" y="300" />
<omgdi:waypoint x="830" y="300" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1xcree9_di" bpmnElement="Flow_1xcree9">
<omgdi:waypoint x="1190" y="300" />
<omgdi:waypoint x="1230" y="300" />
<omgdi:waypoint x="1230" y="490" />
<omgdi:waypoint x="1352" y="490" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_01iw2ax_di" bpmnElement="Flow_01iw2ax">
<omgdi:waypoint x="930" y="300" />
<omgdi:waypoint x="1090" y="300" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Task_1hcentk_di" bpmnElement="Task_1hcentk">
<omgdc:Bounds x="350" y="280" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0mown8x_di" bpmnElement="Activity_0mown8x">
<omgdc:Bounds x="560" y="220" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="StartEvent_1y45yut_di" bpmnElement="StartEvent_1y45yut">
<omgdc:Bounds x="182" y="232" width="36" height="36" />
<bpmndi:BPMNLabel>
<omgdc:Bounds x="188" y="275" width="26" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1b54hn6_di" bpmnElement="Activity_1b54hn6">
<omgdc:Bounds x="1090" y="260" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1j71att_di" bpmnElement="Event_1j71att">
<omgdc:Bounds x="1352" y="472" width="36" height="36" />
<bpmndi:BPMNLabel>
<omgdc:Bounds x="1362" y="515" width="16" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1aprv6i_di" bpmnElement="Activity_1aprv6i">
<omgdc:Bounds x="830" y="260" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="DataStoreReference_03ahy16_di" bpmnElement="DataStoreReference_03ahy16">
<omgdc:Bounds x="1115" y="105" width="50" height="50" />
<bpmndi:BPMNLabel>
<omgdc:Bounds x="1125" y="81" width="29" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Association_0cl2qhh_di" bpmnElement="Association_0cl2qhh">
<omgdi:waypoint x="656" y="222" />
<omgdi:waypoint x="720" y="170" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_190s6mo_di" bpmnElement="Association_190s6mo">
<omgdi:waypoint x="610" y="220" />
<omgdi:waypoint x="610" y="160" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_1kcgtdx_di" bpmnElement="Association_1kcgtdx">
<omgdi:waypoint x="600" y="300" />
<omgdi:waypoint x="574" y="413" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_07wvgbs_di" bpmnElement="Association_07wvgbs">
<omgdi:waypoint x="384" y="360" />
<omgdi:waypoint x="366" y="405" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_1qjuslb_di" bpmnElement="Association_1qjuslb">
<omgdi:waypoint x="880" y="340" />
<omgdi:waypoint x="880" y="450" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Association_06pkh92_di" bpmnElement="Association_06pkh92">
<omgdi:waypoint x="1140" y="340" />
<omgdi:waypoint x="1140" y="425" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="DataOutputAssociation_0msie9x_di" bpmnElement="DataOutputAssociation_0msie9x">
<omgdi:waypoint x="1141" y="260" />
<omgdi:waypoint x="1144" y="155" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
6 changes: 6 additions & 0 deletions BolsaTrabajoV2/faces-config.NavData
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scene Scope="Project" version="2">
<Scope Scope="Faces Configuration Only"/>
<Scope Scope="Project"/>
<Scope Scope="All Faces Configurations"/>
</Scene>
22 changes: 22 additions & 0 deletions BolsaTrabajoV2/nb-configuration.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>1.8-web</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_j2eeVersion>
<org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>gfv5ee8</org-netbeans-modules-maven-j2ee.netbeans_2e_hint_2e_deploy_2e_server>
<netbeans.hint.jdkPlatform>JDK_1.8</netbeans.hint.jdkPlatform>
<org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>ide</org-netbeans-modules-maven-jaxws.rest_2e_config_2e_type>
<org-netbeans-modules-projectapi.jsf_2e_language>Facelets</org-netbeans-modules-projectapi.jsf_2e_language>
</properties>
</project-shared-configuration>
58 changes: 58 additions & 0 deletions BolsaTrabajoV2/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.learningjava</groupId>
<artifactId>BolsaTrabajoV1</artifactId>
<version>1.0</version>
<packaging>war</packaging>
<name>BolsaTrabajoV1</name>

<properties>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>
<endorsed.dir>${project.build.directory}/endorsed</endorsed.dir>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<failOnMissingWebXml>false</failOnMissingWebXml>
<jakartaee>8.0</jakartaee>
</properties>

<dependencies>
<dependency>
<groupId>javax</groupId>
<artifactId>javaee-api</artifactId>
<version>8.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.14.1</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.14.1</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<version>3.3.1</version>
<configuration>
<failOnMissingWebXml>false</failOnMissingWebXml>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
</plugins>
</build>
</project>
14 changes: 14 additions & 0 deletions BolsaTrabajoV2/readame.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
## CicloVidaJSFEjercicio

```java
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<version>2.14.1</version>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.14.1</version>
</dependency>
```
Loading

0 comments on commit 8cae063

Please sign in to comment.