Jspare Vert.x CDI

Improve your Vert.x experience with JSpare Framework

License

License

Categories

Categories

Jakarta Server Pages Jakarta EE The Web Tier
GroupId

GroupId

org.jspare.vertx
ArtifactId

ArtifactId

vertx-jspare-cdi
Last Version

Last Version

3.2.0
Release Date

Release Date

Type

Type

jar
Description

Description

Jspare Vert.x CDI
Improve your Vert.x experience with JSpare Framework
Project Organization

Project Organization

JSpare.org

Download vertx-jspare-cdi

How to add to project

<!-- https://jarcasting.com/artifacts/org.jspare.vertx/vertx-jspare-cdi/ -->
<dependency>
    <groupId>org.jspare.vertx</groupId>
    <artifactId>vertx-jspare-cdi</artifactId>
    <version>3.2.0</version>
</dependency>
// https://jarcasting.com/artifacts/org.jspare.vertx/vertx-jspare-cdi/
implementation 'org.jspare.vertx:vertx-jspare-cdi:3.2.0'
// https://jarcasting.com/artifacts/org.jspare.vertx/vertx-jspare-cdi/
implementation ("org.jspare.vertx:vertx-jspare-cdi:3.2.0")
'org.jspare.vertx:vertx-jspare-cdi:jar:3.2.0'
<dependency org="org.jspare.vertx" name="vertx-jspare-cdi" rev="3.2.0">
  <artifact name="vertx-jspare-cdi" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.jspare.vertx', module='vertx-jspare-cdi', version='3.2.0')
)
libraryDependencies += "org.jspare.vertx" % "vertx-jspare-cdi" % "3.2.0"
[org.jspare.vertx/vertx-jspare-cdi "3.2.0"]

Dependencies

compile (10)

Group / Artifact Type Version
ch.qos.logback : logback-classic jar 1.1.6
org.jspare : jspare-core jar 3.0.1
io.vertx : vertx-core jar 3.4.1
io.vertx : vertx-service-proxy jar 3.4.1
com.fasterxml.jackson.core : jackson-core jar 2.8.4
com.fasterxml.jackson.module : jackson-module-parameter-names jar 2.8.4
com.fasterxml.jackson.datatype : jackson-datatype-jdk8 jar 2.8.4
com.fasterxml.jackson.datatype : jackson-datatype-jsr310 jar 2.8.4
com.xebia : jackson-lombok jar 1.1
commons-beanutils : commons-beanutils jar 1.9.3

provided (2)

Group / Artifact Type Version
org.projectlombok : lombok jar 1.16.8
io.vertx : vertx-codegen jar 3.4.1

test (1)

Group / Artifact Type Version
junit : junit jar 4.12

Project Modules

There are no modules declared in this project.

Vertx Jspare

Status

Build Status Javadocs

Description

If you stay here, that is because you know about of the incredible thinks that the Vert.x can do. I have no doubt that it is amazing and extremely versatile for their tasks. But, what if I say that we can extract more! And we can! The Jspare Vert.x will improve your experience with your Vert.x applications. We persue conventions and we seek to make bright ideas of Vert.x are used and improved. Try it, I'm sure your team and you will not regret.

  • Reactive and Scallable applications.
  • Develop Web applications with agility and intuitively.
  • Lightweight IoC and DI (JSR-330 support).
  • Easy way to create components and resources, uncoupling your architecture.
  • Components based.
  • Simple conventions, for improve your experience.
  • Minimalist api to mock unit tests with vertx-jspare-uni.

Visit the official web site of Vert.x Jspare

Installation and Getting Started

The reference documentation includes detailed installation instructions as well as a comprehensive getting started guide.

Here is a quick sample of a simple usage of Vertx Jspare

For maven:

<parent>
  <groupId>org.jspare.vertx</groupId>
  <artifactId>vertx-jspare</artifactId>
  <version>3.3.0</version>
</parent>

For gradle:

sourceCompatibility = 1.8
targetCompatibility = 1.8

dependencies {
    compile "org.jspare.vertx:vertx-jspare:3.3.0"
}

We can play wiyh one simple http api example (kotlin is fun too:

import org.jspare.vertx.JspareVerticle
import org.jspare.vertx.annotation.Module
import org.jspare.vertx.annotation.Modules
import org.jspare.vertx.web.annotation.module.Routes
import org.jspare.vertx.web.module.HttpServerModule

@Routes(scanClasspath = true)
@Modules(Module(HttpServerModule::class))
class RestModule : JspareVerticle(){

  @Get
  @Handler
  fun getAccounts(ctx : RoutingContext) = ctx?.response().end(
    JsonArray().add(
      JsonObject().put("hello", "world").encode()
    ))   
}

ok... in java:

import org.jspare.vertx.JspareVerticle;
import org.jspare.vertx.annotation.Module;
import org.jspare.vertx.annotation.Modules;
import org.jspare.vertx.web.annotation.module.Routes;
import org.jspare.vertx.web.module.HttpServerModule;

@Routes(scanPackages = true)
@Modules({
  @Module(HttpServerModule.class)
})
class RestModule extends JspareVerticle{

  @Get
  @Handler
  void getAccounts(RoutingContext ctx) {
    ctx.response().end(new JsonArray().add(
      new JsonObject().put("name", "Paulo").encode()
    ));
  } 
}

This is a very simple example, use your imagination to create awesome api's and services, this project is designed to improve your vert.x experience.

Documentation

You can find the vertx-jspare documentation here which has extended usage instructions and other useful information. Substantial usage information can be found in the API documentation.

We are writting one complete documentation, but this consumes long time, just we ask patience and your help. I'll be a commiter. Please enjoy with us. =)

Getting help and Reporting Issues

Having trouble with Jspare Container? We’d like to help!

Other Projects

Be sure to visit our other projects, jspare-container is the basis of all our frameworks and solutions. See it at: http://jspare.org/ or here on github: https://github.com/jspare-projects/

License

All Jspare projects are Open Source software released under the Apache 2.0 license.

org.jspare.vertx

Jspare

A new way to make it simple just be simple!

Versions

Version
3.2.0
3.1.1
3.1.0
3.0.4
3.0.3
3.0.2
3.0.1
3.0.0