Fast Development

  • Both SQL and NoSQL approaches (JSON column type)
     
  • Minimal code with SQL/JavaScript templates.
     
  • Not a single unnecessary line of code.

High performance

SQL to JavaScript Streaming :

  • better response time
  • much higher Time To First Byte (TTFB)
  • lower memory consumption

For big data sets, compared to traditional layered architecture.

 

More then plain REST

Direct JavaScript API with advanced features:

  • progressive loading (show first page immediately while remaining data is loading in background)
  • advanced security: automatic CSRF token, token auto-renewal on session expiration

Java runtime

  • Runs on any Java App Server (jdk7+).
  • Compatible with any JDBC driver
  • Integrates with Spring or JEE architectures.
  • Supports Batch updates, Stored Procedures (in/out parameters), custom JDBC types, JTA, custom SSO/Auth integration... just like any other Java platform

Introducing SQL/JavaScript templates

Not a line too many !

Fully featured service in just few lines

  • Server-side developmentmuch faster
  • Clear and maintainable code
  • Focus on essential
  • DBA-friendly
  • Just copy-paste and run/optimize it in your SQL Client

 

 

The smallest learning curve

The only required skills are :
- JavaScript fundamentals and good SQL

 

 

Fast, very fast !

Streaming approach:

JSON data is transfered to the browser concurrently with data reception from the database.

  • Improved response time
  • Low latency
  • No memory bottlenecks
  • Higher concurrency
  • Data volume can even exceed the heap size

 

Progressive XHR loading

 

  • Display the first page immediately and keep loading the rest of data in backgournd
  • Callbacks for partial and complete result sets
  • Per-call configurable block sizes

Enterprise Security

SQL Injection prevented: parameters binding

XSS prevented: automatic HTML-escaping option for safe display

CSRF token-based protection

Overload Protection prevents the client from sending too many concurrent requests

SSO / Custom authentication modules integration... just like you do it in Java

 

 

 

Server-Side JavaScript Debugging !

With IntelliJ, Netbeans or just in browser

(in-browser debugging is for development only, not available in production mode for security reasons)

  • See translated code, set breakpoints, evaluate expressions
  • Trace client-side AND server-side code in the single debugger
  • Transparent JavaScript-to-Java methods invocation with Nashorn (JavaScript of Oracle JVM) syntax. This is useful when calling Java classes from SQL/JavaScript templates

Downloads

Binaries, Source code:

Core library (classes, sources, javadocs) : https://oss.sonatype.org/content/groups/public/io/lightlink/lightlink-core/

Sample WAR (the one used for the demo ) : https://oss.sonatype.org/content/groups/public/io/lightlink/war-spring-rest/

 

Maven:

pom.xml dependency declaration

<dependency>
    <groupId>io.lightlink</groupId>
    <artifactId>lightlink-core</artifactId>
    <version>1.0.5</version>
</dependency>

 

Source code on GitHub

https://github.com/lightlink-io/java

 

License

LGPL 3.0