forked from srve4/pragmatic-microservices-lab
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ejb-jar.xml
20 lines (20 loc) · 987 Bytes
/
ejb-jar.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?xml version="1.0" encoding="UTF-8"?>
<ejb-jar version = "3.2"
xmlns = "http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation = "http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/ejb-jar_3_2.xsd">
<!-- These are some of the few cases where XML descriptors for component
meta-data still continue to make sense. -->
<enterprise-beans>
<!-- URL configuration in XML while the rest of the component metadata
is in annoations -->
<session>
<ejb-name>ExternalRoutingService</ejb-name>
<env-entry>
<env-entry-name>graphTraversalUrl</env-entry-name>
<env-entry-type>java.lang.String</env-entry-type>
<env-entry-value>http://localhost:8080/path-finder/rest/graph-traversal/shortest-path</env-entry-value>
</env-entry>
</session>
</enterprise-beans>
</ejb-jar>