Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
razie committed Mar 16, 2012
1 parent c2533a5 commit 19e2eaa
Show file tree
Hide file tree
Showing 4 changed files with 86 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .classpath
@@ -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>
18 changes: 18 additions & 0 deletions .project
@@ -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>
12 changes: 12 additions & 0 deletions .settings/org.eclipse.jdt.core.prefs
@@ -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
45 changes: 45 additions & 0 deletions README.markdown
@@ -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>



0 comments on commit 19e2eaa

Please sign in to comment.