polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Merlin <p...@nosphere.org>
Subject Re: Restlet library
Date Sun, 02 Aug 2015 11:31:02 GMT
Hey Niclas,

I added the missing dependencies, the library now compiles.

First thought: File-EntityStore and RDF-IndexQuery dependencies are
hardcoded, how can one use this with other ES/IQ ?


Niclas Hedhman a écrit :
> One more thing;
>   * Deployable either with embeddde HTTP server or as Servlet on containers.
>
>
> committed.
>
> On Sun, Aug 2, 2015 at 6:29 PM, Niclas Hedhman <niclas@hedhman.org> wrote:
>
>> Gang,
>>
>> I have been adapting my Restlet library to Zest 3.0, and it is coming
>> along quite well.
>>
>> * CRUD handling of Entities if one so chooses.
>> * Resources for 'anything'
>> * Link traversals
>> * Autobuilding the EntryPoint (bookmarkable) document.
>> * Invocation of methods on resources or entities.
>> * Support for www-form-urlencoded to ValueComposite
>> * Security support (want to use Shiro library, yet integrate with
>> Restlet's)
>>
>> * Application structure support. Predefined, but replaceable, layers are;
>>     - Connectivity
>>     - Resource
>>     - Domain
>>     - Infrastructure
>>     - Configuration
>>
>> I am not yet done, but about to commit what I have so far, including the
>> beginning of a TestApplication.
>>
>> public static void main( String[] args )
>>     throws Exception
>> {
>>     RestApplicationAssembler assembler = new RestApplicationAssembler( NAME, VERSION,
MODE,
>>         ConfigurationLayer.class,
>>         InfrastructureLayer.class,
>>         DomainLayer.class,
>>         ResourceLayer.class,
>>         ConnectivityLayer.class
>>     );
>>
>>     assembler.initialize();
>>
>>     ModuleAssembly configModule = assembler.layer( ConfigurationLayer.class ).module(
ConfigurationModule.NAME );
>>
>>     assembler.layer( InfrastructureLayer.class,
>>                      new FileStorageModule( configModule )
>>     );
>>
>>     assembler.layer( DomainLayer.class,
>>                      new OrdersModule()
>>     );
>>
>>     assembler.start();
>>     assembler.addShutdownHook();
>> }
>>
>>
>>
>> Feedback is welcome, as usual.
>>
>>
>> Cheers
>> --
>> Niclas Hedhman, Software Developer
>> http://zest.apache.org - New Energy for Java
>>
>
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message