JCA Remote System Connector

A base implementation of a JEE Connector that provides Url, Username and Password properties. With this base implementation you should be able to create simple url based resource adapters without coding much overhead.

Лицензия

Лицензия

Группа

Группа

com.java-adventures.rsc
Идентификатор

Идентификатор

remote-system-connector-parent
Последняя версия

Последняя версия

1.1.0
Дата

Дата

Тип

Тип

pom
Описание

Описание

JCA Remote System Connector
A base implementation of a JEE Connector that provides Url, Username and Password properties. With this base implementation you should be able to create simple url based resource adapters without coding much overhead.
Система контроля версий

Система контроля версий

https://github.com/scheuchzer/outbound-connector

Скачать remote-system-connector-parent

Имя Файла Размер
remote-system-connector-parent-1.1.0.pom 5 KB
Обзор

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/com.java-adventures.rsc/remote-system-connector-parent/ -->
<dependency>
    <groupId>com.java-adventures.rsc</groupId>
    <artifactId>remote-system-connector-parent</artifactId>
    <version>1.1.0</version>
    <type>pom</type>
</dependency>
// https://jarcasting.com/artifacts/com.java-adventures.rsc/remote-system-connector-parent/
implementation 'com.java-adventures.rsc:remote-system-connector-parent:1.1.0'
// https://jarcasting.com/artifacts/com.java-adventures.rsc/remote-system-connector-parent/
implementation ("com.java-adventures.rsc:remote-system-connector-parent:1.1.0")
'com.java-adventures.rsc:remote-system-connector-parent:pom:1.1.0'
<dependency org="com.java-adventures.rsc" name="remote-system-connector-parent" rev="1.1.0">
  <artifact name="remote-system-connector-parent" type="pom" />
</dependency>
@Grapes(
@Grab(group='com.java-adventures.rsc', module='remote-system-connector-parent', version='1.1.0')
)
libraryDependencies += "com.java-adventures.rsc" % "remote-system-connector-parent" % "1.1.0"
[com.java-adventures.rsc/remote-system-connector-parent "1.1.0"]

Зависимости

provided (1)

Идентификатор библиотеки Тип Версия
org.glassfish.main.extras : glassfish-embedded-all jar 3.1.2.2

test (2)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.11
org.mockito : mockito-all jar 1.9.5

Модули Проекта

  • remote-system-connector-api
  • remote-system-connector
  • examples/urlbased/echo
  • examples/urlbased/extended-echo

Build Status

#outbound-connector

A base implementation of an outbound-connector that uses the connection properties url, username and password.

This project comes with:

  • A base connector api
  • A base connector implementation
  • Sample echo connectors consisting out of
    • echo connector api
    • echo connector implementation
    • extended connector with additional config parameter
  • Demo REST applications that uses different instances of the echo connectors

This project demonstrates how easily new external system can be accessed in your applications. The major achievement of the connector approach is that connectivity information like url and password are configured at container level and not at application level like your war or ejb-jar. The developer of the business logic does not have to care about the connection and it's configuration exactly as it's done with JDBC connections.

This project is still work in progress. More features will follow.

##Build and deploy

###Glassfish

Build: mvn clean install

Deploy: examples/urlbased/echo/deployResourceAdapter.sh glassfish

Undeploy: ./undeployResourceAdapter.sh glassfish

###JBoss/Wildfly

Build:

mvn clean install

Deploy:

export JBOSS_HOME=...
examples/urlbased/echo/deployResourceAdapter.sh jboss

Undeploy:

examples/urlbased/echo/undeployResourceAdapter.sh jboss    

##Test

./test1.sh
./test2.sh

or

http://localhost:8080/demo-app/rest/echo/HelloWorld
http://localhost:8080/demo-app/rest/echo2/HelloWorld

Версии библиотеки

Версия
1.1.0