This may not answer all of your questions, but I hope it's a start.

I know the documentation for DeltaSpike isn't the greatest, unfortunately
most (all?) of the developers are currently being pulled away due to the
demands of our day jobs. Any help you're able to give in documentation
would be a tremendous help.

With regards to the documentation about the data module, have you seen the
readme at
https://github.com/apache/deltaspike/blob/master/deltaspike/modules/data/README.adoc
(or
the other git address)? If I remember correctly, it makes use of the
partial bean support and works similar to what is listed in the quick start
you mentioned. It also goes beyond that and provides as simpler abstraction
to the JPA criteria query, audit logging, it's own extension mechanism,
pagination, etc.

The second question you had about an InvocationHandler and multiple
interfaces: you should be able to that, though it may be a little tricky
especially if the params differ in types


On Mon, Oct 7, 2013 at 2:33 PM, David Hooker <[email protected]> wrote:

> Hi list-
>
> I'm using Weld as part of building a custom platform in Java SE.  I've been
> pointed to deltaspike for some of the things I want to incorporate.
>
> First, one of the things I'm looking for is declarative data queries,
> pretty much exactly as seen here:
>
> https://github.com/jboss-developer/jboss-wfk-quickstarts/blob/master/deltaspike-partialbean-advanced/src/main/java/org/jboss/as/quickstart/deltaspike/partialbeanadvanced/queryservice/PersonQueryService.java
>
> This is based on the partial bean stuff, which I'm trying to decipher from
> the examples since I can't find any docs or blogs anywhere.
>
> So first, can someone tell me the difference between the approach here and
> the data module (which I can find even less on)?
>
> Secondly, on the partial bean stuff:  it seems that what it does is allow
> me to annotate an interface and provide an InvocationHandler which will
> "implement" the interface - bound together through the
> PartialBeanBinding... is that right?
> Can I have multiple interfaces use the same partial bean binding, having
> all of them be "implemented" by the same handler?
>
> That should get me started :-)
>
> -David-
>



-- 
Jason Porter
http://en.gravatar.com/lightguardjp

Reply via email to