Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
86 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="core/src/main/scala"/> | ||
<classpathentry kind="src" path="core/src/test/scala"/> | ||
<classpathentry kind="con" path="org.scala-ide.sdt.launching.SCALA_CONTAINER"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/> | ||
<classpathentry combineaccessrules="false" kind="src" path="/razbase"/> | ||
<classpathentry kind="lib" path="lib_managed/jars/org.json/json/json-20090211.jar"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/> | ||
<classpathentry kind="output" path="bin"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<projectDescription> | ||
<name>lightsoa</name> | ||
<comment></comment> | ||
<projects> | ||
</projects> | ||
<buildSpec> | ||
<buildCommand> | ||
<name>org.scala-ide.sdt.core.scalabuilder</name> | ||
<arguments> | ||
</arguments> | ||
</buildCommand> | ||
</buildSpec> | ||
<natures> | ||
<nature>org.scala-ide.sdt.core.scalanature</nature> | ||
<nature>org.eclipse.jdt.core.javanature</nature> | ||
</natures> | ||
</projectDescription> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#Mon Dec 12 14:46:07 EST 2011 | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6 | ||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | ||
org.eclipse.jdt.core.compiler.compliance=1.6 | ||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate | ||
org.eclipse.jdt.core.compiler.debug.localVariable=generate | ||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/** ____ __ ____ ____ ____/___ ____ __ __ ____ | ||
* ( _ \ /__\ (_ )(_ _)( ___) __) ( _ \( )( )( _ \ | ||
* ) / /(__)\ / /_ _)(_ )__)\__ \ )___/ )(__)( ) _ < | ||
* (_)\_)(__)(__)(____)(____)(____)___/ (__) (______)(____/ | ||
* | ||
* Copyright (c) Razvan Cojocaru, 2007+, Creative Commons Attribution 3.0 | ||
*/ | ||
|
||
What? | ||
------- | ||
|
||
Lightsoa is a simple set of annotations for remote methods. | ||
|
||
|
||
|
||
Roadmap | ||
------- | ||
|
||
- have a servlet implementation | ||
|
||
|
||
Why "lightsoa" ? | ||
=============== | ||
|
||
While it is normal design practice of having corresponding service/methods represented by Java/Scala classes/methods, I have yet to see a very easy way to just annotate them and have them remoted via REST or whatever... | ||
|
||
Besides, I have quite a number of classes using these annotations since '07 that it's easier this way... | ||
|
||
How? | ||
---- | ||
|
||
In the sbt Project file for your project (project/build/Project.scala), add the dependency: | ||
|
||
val lsoa = "com.razie" %% "lightsoa" % "0.1-SNAPSHOT" | ||
|
||
Or Maven style: | ||
|
||
<dependency> | ||
<groupId>com.razie</groupId> | ||
<artifactId>lightsoa_2.9.1</artifactId> | ||
<version>0.1-SNAPSHOT</version> | ||
</dependency> | ||
|
||
|
||
|