Re: [Resteasy-users] NettyJaxrsServer and scanned resources

2013-04-22 Thread Per Norrman
Thanks, I remember having read it! So, the assumption in the second question is valid? I don't forsee classpath scanning as such to be a problem, I'm just trying to grasp the overall Resteasy bootstrap mechanism. If I sub class BootstrapConfiguration and provide a set of URLs to scan, everything

[Resteasy-users] Resteasy 3.0-beta-4 oreilly-workbook-as7 ex11_1 example fails on AS 7.1.1.Final

2013-04-22 Thread Tom Coleman
First let me apologize for all the threads I have the vanilla (not AS7 ) oreilly_workbook ex11_1 example working on 5.1.0.GA and the ejb-integration-test example working on 4.2.3.GA, so at least I've got some basepoints. That's probably all I need for now but the JAX RS 2.0/AS7 integration

Re: [Resteasy-users] NettyJaxrsServer and scanned resources

2013-04-22 Thread Bill Burke
http://scannotation.sourceforge.net/ wrote a blog about this a *LONG* time ago too: http://bill.burkecentral.com/2008/01/14/scanning-java-annotations-at-runtime/ On 4/22/2013 4:15 PM, Per Norrman wrote: > Hi, > > I am looking at using NettyJaxrsServer, but want to scan certain pieces > of the >

[Resteasy-users] NettyJaxrsServer and scanned resources

2013-04-22 Thread Per Norrman
Hi, I am looking at using NettyJaxrsServer, but want to scan certain pieces of the classpath for resources and providers, instead of maintaining them explicitly in an Application class. 1) Is there an example of such usage? It doesn't have to be Netty, but an example of how to scan for resources

Re: [Resteasy-users] Resteasy 2.3.6.Final oreilly-workbook-as7 ex11_1 example fails on EAP 6.1.0

2013-04-22 Thread Bill Burke
Try updating the jboss-as-maven-plugin to 7.4.Final in the pom.xml. I think I had to do that when I was testing against 8.0-alpha so EAP 6.1 may be the same. On 4/22/2013 1:10 PM, Tom Coleman wrote: > > > On Apr 22, 2013, at 9:19 AM, Bill Burke wrote: > >> That's a bad example to use as its a c

[Resteasy-users] Resteasy 2.3.6.Final oreilly-workbook-as7 ex11_1 example fails on EAP 6.1.0

2013-04-22 Thread Tom Coleman
On Apr 22, 2013, at 9:19 AM, Bill Burke wrote: > That's a bad example to use as its a container agnostic example. I > might remove it. Instead look at this example: > > https://github.com/resteasy/Resteasy/tree/3.0-beta-4/jaxrs/examples/oreilly-workbook-as7/ex11_1 > > Using EJBs + JAX-RS is

Re: [Resteasy-users] JAX-RS 2.0: Properties for username and password

2013-04-22 Thread Juergen Zimmermann
Thank you, Bill. -Ursprüngliche Nachricht- Von: Bill Burke [mailto:bbu...@redhat.com] Gesendet: Montag, 22. April 2013 15:08 An: resteasy-users@lists.sourceforge.net Betreff: Re: [Resteasy-users] JAX-RS 2.0: Properties for username and password It didn't make the spec. Stupid right? I

Re: [Resteasy-users] Resteasy 2.3.5/2.3.6.Final ejb-integration-test examples fail on EAP 6.1.0 beta

2013-04-22 Thread Bill Burke
That's a bad example to use as its a container agnostic example. I might remove it. Instead look at this example: https://github.com/resteasy/Resteasy/tree/3.0-beta-4/jaxrs/examples/oreilly-workbook-as7/ex11_1 Using EJBs + JAX-RS is a lot simpler in a EE6+ application server then the ejb-inte

Re: [Resteasy-users] JAX-RS 2.0: Properties for username and password

2013-04-22 Thread Bill Burke
It didn't make the spec. Stupid right? I tried, honestly I tried. I was able to at least get SSL support in there. For Resteasy you can either use Apache HTTp Client and set it up there. I also have implement basic auth in a filter: https://github.com/resteasy/Resteasy/blob/master/jaxrs/re

[Resteasy-users] JAX-RS 2.0: Properties for username and password

2013-04-22 Thread Juergen Zimmermann
As I understand, the new client API of JAX-RS 2.0 provides a properties as follows: ClientBuilder.newClient().target("http://...";).getConfiguration().property(< name>, ); What are the property names for username and password when the server requires BASIC authentication?