Initial checkin of webservice for OraMon
Showing
12 changed files
with
118 additions
and
0 deletions
JavaMonWeb/.classpath
0 → 100644
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <classpath> | ||
3 | <classpathentry kind="src" path="src"/> | ||
4 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"> | ||
5 | <attributes> | ||
6 | <attribute name="owner.project.facets" value="java"/> | ||
7 | </attributes> | ||
8 | </classpathentry> | ||
9 | <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/> | ||
10 | <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/> | ||
11 | <classpathentry combineaccessrules="false" kind="src" path="/LILOM Library"/> | ||
12 | <classpathentry kind="output" path="build/classes"/> | ||
13 | </classpath> |
JavaMonWeb/.project
0 → 100644
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <projectDescription> | ||
3 | <name>JavaMonWeb</name> | ||
4 | <comment></comment> | ||
5 | <projects> | ||
6 | </projects> | ||
7 | <buildSpec> | ||
8 | <buildCommand> | ||
9 | <name>org.eclipse.wst.jsdt.core.javascriptValidator</name> | ||
10 | <arguments> | ||
11 | </arguments> | ||
12 | </buildCommand> | ||
13 | <buildCommand> | ||
14 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
15 | <arguments> | ||
16 | </arguments> | ||
17 | </buildCommand> | ||
18 | <buildCommand> | ||
19 | <name>org.eclipse.wst.common.project.facet.core.builder</name> | ||
20 | <arguments> | ||
21 | </arguments> | ||
22 | </buildCommand> | ||
23 | <buildCommand> | ||
24 | <name>org.eclipse.wst.validation.validationbuilder</name> | ||
25 | <arguments> | ||
26 | </arguments> | ||
27 | </buildCommand> | ||
28 | </buildSpec> | ||
29 | <natures> | ||
30 | <nature>org.eclipse.jem.workbench.JavaEMFNature</nature> | ||
31 | <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature> | ||
32 | <nature>org.eclipse.wst.common.project.facet.core.nature</nature> | ||
33 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
34 | <nature>org.eclipse.wst.jsdt.core.jsNature</nature> | ||
35 | </natures> | ||
36 | </projectDescription> |
JavaMonWeb/.settings/.jsdtscope
0 → 100644
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <classpath> | ||
3 | <classpathentry kind="src" path="WebContent"/> | ||
4 | <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/> | ||
5 | <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject"> | ||
6 | <attributes> | ||
7 | <attribute name="hide" value="true"/> | ||
8 | </attributes> | ||
9 | </classpathentry> | ||
10 | <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/> | ||
11 | <classpathentry kind="output" path=""/> | ||
12 | </classpath> |
1 | eclipse.preferences.version=1 | ||
2 | org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
3 | org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7 | ||
4 | org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | ||
5 | org.eclipse.jdt.core.compiler.compliance=1.7 | ||
6 | org.eclipse.jdt.core.compiler.debug.lineNumber=generate | ||
7 | org.eclipse.jdt.core.compiler.debug.localVariable=generate | ||
8 | org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
9 | org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
10 | org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
11 | org.eclipse.jdt.core.compiler.source=1.7 |
1 | <?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0"> | ||
2 | <wb-module deploy-name="JavaMonWeb"> | ||
3 | <wb-resource deploy-path="/" source-path="/WebContent" tag="defaultRootSource"/> | ||
4 | <wb-resource deploy-path="/WEB-INF/classes" source-path="/src"/> | ||
5 | <property name="context-root" value="JavaMonWeb"/> | ||
6 | <property name="java-output-path" value="/JavaMonWeb/build/classes"/> | ||
7 | </wb-module> | ||
8 | </project-modules> |
1 | <?xml version="1.0" encoding="UTF-8"?> | ||
2 | <faceted-project> | ||
3 | <fixed facet="wst.jsdt.web"/> | ||
4 | <fixed facet="java"/> | ||
5 | <fixed facet="jst.web"/> | ||
6 | <installed facet="java" version="1.7"/> | ||
7 | <installed facet="jst.web" version="3.0"/> | ||
8 | <installed facet="wst.jsdt.web" version="1.0"/> | ||
9 | </faceted-project> |
1 | org.eclipse.wst.jsdt.launching.baseBrowserLibrary | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | Window | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
JavaMonWeb/WebContent/META-INF/MANIFEST.MF
0 → 100644
JavaMonWeb/WebContent/OraMon.jsp
0 → 100644
1 | <%@page import="se.lil.om.Registry"%> | ||
2 | <%@page import="se.lil.om.OraMon"%> | ||
3 | <%@page import="java.util.ArrayList"%> | ||
4 | <%@ page language="java" contentType="text/html; charset=ISO-8859-1" | ||
5 | pageEncoding="ISO-8859-1"%> | ||
6 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> | ||
7 | <html> | ||
8 | <head> | ||
9 | <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> | ||
10 | <title>Insert title here</title> | ||
11 | </head> | ||
12 | <body> | ||
13 | <% ArrayList<OraMon> monList = Registry.getList(); %> | ||
14 | <h1>OraMon Status</h1> | ||
15 | <p>Number of monitors: <% monList.size(); %> | ||
16 | </body> | ||
17 | </html> | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
-
Please register or sign in to post a comment