Re: Google Summer of Code -- Integratio​n of Apache CXF JAX-RS with EJB (addendum)

2011-08-19 Thread Ryan Zoerner
erner/downloads/code_personal/JSF/basic_login/ http://pages.cs.wisc.edu/~zoerner/downloads/code_personal/css/content2008_css_package/ http://pages.cs.wisc.edu/~zoerner/downloads/code_personal/ant/war/ If anyone throws anything at me... well. Thanks everyone for your help, Ryan Zoerner

JAXRS EJB ResourceProvider and Invoker

2011-08-19 Thread Ryan Zoerner
/~zoerner/downloads/dev/Invoker_bundle/JAXRS_EJB_Invoker.java These files are not guaranteed to not be edited. I will not add future versions of them at some other address. The ExceptionMapper is quite simple to write, and for that reason, I haven't typed it up yet. Thanks, Ryan Zoerner (easy

Re: Stateless EJB's and JAX-WS (no comment necessary)

2011-07-17 Thread Ryan Zoerner
I'm not sure why this is. (in regards to the above specification detail). JAX-WS calls for support for sessions. The web service mechanism should easily allow for the identification of which session, before an instantiated (Client-facing) Business Interface implementing EJB bean is directly engage

Stateless EJB's and JAX-WS (no comment necessary)

2011-07-17 Thread Ryan Zoerner
There were only StatelessSessionBeans in the CXF factory because: === The client of a stateless session bean may be a web service client. Only a *stateless *session bean may provide a web service client view.

Sergey: I've completed my Mid-term evaluation for GSoC.

2011-07-11 Thread Ryan Zoerner
Thanks, Ryan

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-07 Thread Ryan Zoerner
There was a bit of a typo: "because Jonas InvokerFactory only extends, for invocation(..) method calls from AbstractInvoker (including performInvocation)" because Jonas InvokerFactory ( the only other code referenced in EasyBeansCXFInvoker.invoke(4 params) ) extends AbstractInvok

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-07 Thread Ryan Zoerner
>Do you agree or do you still see the need to have custom >JAXRSEJBInvoker & custom EJBResourceProvider ? I'm not sure what >JAXRSEJBInvoker will do ? Then, in order to create the EJBInstance, it would be nice to have some create EJB Instance method, as described before, which would take things

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-05 Thread Ryan Zoerner
Everything below EasyBeansJaxWsServerFactoryBean is available in easybeans without the aid of Jonas. Ryan

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-05 Thread Ryan Zoerner
For reference purposes, here is the call hierarchy up from EasyBeansInvokerFactory: EasyBeansInvokerFactory EasyBeansMethodInvoker EasyBeansJaxWsServerFactoryBean LifeCycleCallback (in Jonas and in easybeans-cxf) (in easybeans-cxf) CXFConfigurationExtension (in Jonas) CXFConfigurationExtension CXF

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-05 Thread Ryan Zoerner
Hi again Sergey, I noticed that there is a CXFResourceInjector class, in Jonas, which does annotation processing, presumably on an ejb-annotated resource class. However, this may be only for integration of cxf with Jonas. Because the easybeans version of the invoker is exactly the same, it seems t

Re: EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-05 Thread Ryan Zoerner
Hi Sergey, I have tested @Stateless in CustomerService.java, from the http basic example in jaxrs-samples. The annotation appears in the list in ServerFactory.Service.ClassResourceInfos[].ResourceClass.annotations. Therefore, sf.setResourceClasses does not interfere with the annotation being pro

EJBInvoker, progress, observations, questions about EJB creation organization, other various questions.

2011-07-05 Thread Ryan Zoerner
Hi Sergey, I am wondering about the 'finally' block in the 'public Object invoke(Exchange exchange, Object request)' method of the JAXRSInvoker class. For me, it is line numbers: 113-139. These lines call the resourceProvider to release the object instance in certain cases. Is this something tha

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-07-05 Thread Ryan Zoerner
Thank you. Ryan Zoerner On Mon, Jul 4, 2011 at 4:40 AM, Florent BENOIT wrote: > Hi, > > If you need details about EasyBeans/CXF integration, you may also ask on > easybe...@ow2.org mailing list > I can also answer on this ML ;-) > > Regards, > > Florent > >

Re: Write attachment on client side

2011-07-03 Thread Ryan Zoerner
Perhaps you didn't ask on the user list. -- View this message in context: http://cxf.547215.n5.nabble.com/Write-attachment-on-client-side-tp4531228p4549012.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-07-01 Thread Ryan Zoerner
Correction, I found it searching for which class instantiates CXFEJBWebserviceEndpoint, which class instantiates that, etc. Ryan

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-07-01 Thread Ryan Zoerner
Hi Sergey, Yes, I've been looking at that package and exploring the same issues. I see that there is an EasyBeansCXFBootstrap. I am unsure whether the bootstrap is what is directly instantiated by a server such as Jetty or Tomcat. I found it, tracing constructor calls out from the CXFEJBWebservice

Re: Write attachment on client side

2011-06-30 Thread Ryan Zoerner
Nudge, nudge. Wink, wink. Know what I mean? -- View this message in context: http://cxf.547215.n5.nabble.com/Write-attachment-on-client-side-tp4531228p4540243.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: Write attachment on client side

2011-06-30 Thread Ryan Zoerner
Perhaps you are not familiar with ASCII http://michaelgoerz.net/blog/2008/09/ascii-table/ascii.gif -- View this message in context: http://cxf.547215.n5.nabble.com/Write-attachment-on-client-side-tp4531228p4539233.html Sent from the cxf-dev mailing list archive at Nabble.com.

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-06-29 Thread Ryan Zoerner
Also, for academic interest's sake, here is, to me, a novel idea for restructuring a class, which implements one subclass for each refactored method, each of which contains all submethods: http://pages.cs.wisc.edu/~zoerner/downloads/dev/samples/EJB/idea_to_simplify_a_class_for_readability/

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-06-29 Thread Ryan Zoerner
Hi Sergey, >>The fact you have seen EJB-related annotations being associated with a >>given CRI instance in debugger simply confirms the fact JVM retains >>them. But the sole responsibility of CRI is to model a JAX-RS root >>resource or subresource. It can not deal with with how a given >>resource

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-06-28 Thread Ryan Zoerner
Sergey, I might be able to prove you wrong about which annotations are scanned from the class for the cri? I had evidence to the contrary. Also, it might be just fine to return the factory, as in this resourceProvider here: http://pages.cs.wisc.edu/~zoerner/downloads/dev/samples/EJB/EJBResourceP

Re: Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-06-27 Thread Ryan Zoerner
When I was debugging the jax-rs example, I placed an @EJB annotation in my Customer class and it showed up in the annotations in cri. Hence, any lifecycle-defining annotations would show up also?

Bean Invoker, Proxy, EasyBeans EJB Remote Home proxy for remote calls

2011-06-27 Thread Ryan Zoerner
value will determine which factory is selected. What do you think about the idea? Thank you. Ryan Zoerner

Re: JAXRS EJBInvoker

2011-06-18 Thread Ryan Zoerner
Here is a link to the rough draft: http://pages.cs.wisc.edu/~zoerner/downloads/dev/samples/EJBInvoker/EJBInvoker.java

JAXRS EJBInvoker

2011-06-18 Thread Ryan Zoerner
It has been a while since I have written to the dev list, but I am working on putting an JAXRSEJBInvoker together. The naive implementation (in this case, that means rough draft), consists of taking JAXRSInvoker, replacing all instances of that word with EJBInvoker, extending AbstractInvoker, and a

Re: some thoughts that I wanted to post, in regards to RP, CRI, Exceptions, and a class scanner

2011-05-24 Thread Ryan Zoerner
you will note that nabble mangled the ); in my email, which is what caused me to think of this. Ryan

Re: some thoughts that I wanted to post, in regards to RP, CRI, Exceptions, and a class scanner

2011-05-24 Thread Ryan Zoerner
and btw, I didn't intend any pun on your initials. Ryan

Re: some thoughts that I wanted to post, in regards to RP, CRI, Exceptions, and a class scanner

2011-05-24 Thread Ryan Zoerner
Also, I suppose that you could just use AnnotationUtils on "o" in the formal params and then find out isEJB() and ejbLifecycle from that. Ryan

Re: some thoughts that I wanted to post, in regards to RP, CRI, Exceptions, and a class scanner

2011-05-24 Thread Ryan Zoerner
Of course, resourceInstance should probably be resoureceProvider. Then you can just call the variable provider from methods where necessary. Ryan

Re: some thoughts that I wanted to post, in regards to RP, CRI, Exceptions, and a class scanner

2011-05-24 Thread Ryan Zoerner
This is what I had in mind for an RP constructor: Incidentally, EJB annotations show up in the cri. under ClassResourceInfo.elementData[i].resourceClass.declaredAnnotations.table[j]. h.type.name and ClassResourceInfo.elementData[i].resourceClass.declaredAnnotations.table[j].h.memberValues.table[k]

some thoughts that I wanted to post, in regards to RP, CRI, Exceptions, and a class scanner

2011-05-23 Thread Ryan Zoerner
I have some thoughts that I wanted to post to the dev list. Here they are: The RP will need to choose between lifecylces, possibly just selecting which existing cxf resourceProvider to choose, based upon annotation. The annotations may be found in the class resource info object, obtainable from t

Re: CustomerService Project

2011-05-15 Thread Ryan Zoerner
I mentioned that it works fine when done a certain way, but unfortunately, it works just fine without the @GET annotated method, without the @GET and without the method. Thanks, Ryan http://pages.cs.wisc.edu/~zoerner/downloads/dev/samples/customerservice/testing/unfortunately_works_fine_like_thi

CustomerService Project

2011-05-15 Thread Ryan Zoerner
Hello all, I am in the middle of trying to get a JAX-RS Client/Server project to work. I am having trouble because I cannot figure out how to get my Customer class to find out about the sub-resource method located in a CustomerState class. I have tried assigning it to a resource provider. I have t

Re: Server output as a result of the CustomInvoker and Client output after parameterization refactoring of Client, CustomerService, and Order

2011-05-13 Thread Ryan Zoerner
Hi, Here is a link to Server.java, CustomerResourceProvider.java, CustomInvoker.java, and, CustomExceptionMapper.java: http://pages.cs.wisc.edu/~zoerner/downloads/dev/samples/jaxrs_basic_http_demo/Server.java http://pages.cs.wisc.edu/~zoerner/downloads/dev/samples/jaxrs_basic_http_demo/CustomRes

Re: Server output as a result of the CustomInvoker and Client output after parameterization refactoring of Client, CustomerService, and Order

2011-05-13 Thread Ryan Zoerner
Here are the links to the CustomerService.java and Client.java files that I have in my development environment. Also, here are the output files from the client and the server. You can see from the header that the 400 status code happens fine. I think that the xml error might be as a result of cx

Re: Questions regarding the implementation of a 2-endpoint Customer and CustomerService CXF JAX-RS web application

2011-05-13 Thread Ryan Zoerner
Thank you for your answer. I'm sorry, I didn't see it before I posted the link. Ryan

Re: Questions regarding the implementation of a 2-endpoint Customer and CustomerService CXF JAX-RS web application

2011-05-13 Thread Ryan Zoerner
The full Customer.java class may be viewed here: http://pages.cs.wisc.edu/~zoerner/downloads/dev/samples/customerservice/Customer.java

Re: Questions regarding the implementation of a 2-endpoint Customer and CustomerService CXF JAX-RS web application

2011-05-13 Thread Ryan Zoerner
Hi Sergey, You mentioned that Customer should display a single customer. Does CustomerService instantiate that Customer? By what mechanism? I created this class to try and get around that problem. In the old demo, Customers were instantiated in CustomerService, however, if you have CustomerService

Questions regarding the implementation of a 2-endpoint Customer and CustomerService CXF JAX-RS web application

2011-05-12 Thread Ryan Zoerner
Sergey, I have the following question regarding the project. - - Customer: - Per-request reso

Re: Basic Http Demo and the refactoring that I did, in the course of figuring out how it worked.

2011-05-12 Thread Ryan Zoerner
Cheers for the suggestion. Ryan On Thu, May 12, 2011 at 4:47 AM, Sergey Beryozkin wrote: > Hi Ryan > > On Thu, May 12, 2011 at 10:42 AM, Ryan Zoerner > wrote: > > In the paragraph, with the hyperlink to the jaxrs

Re: Basic Http Demo and the refactoring that I did, in the course of figuring out how it worked.

2011-05-12 Thread Ryan Zoerner
In the paragraph, with the hyperlink to the jaxrs demo, I said this: --- The client opens a printStream that is associated with the connection, and from that connection the client obtains the return informatio

Server output as a result of the CustomInvoker and Client output after parameterization refactoring of Client, CustomerService, and Order

2011-05-12 Thread Ryan Zoerner
This is follow-up info to the things that I discussed here: http://cxf.547215.n5.nabble.com/Basic-Http-Demo-and-the-refactoring-that-I-did-in-the-course-of-figuring-out-how-it-worked-td4389413.html and here: http://cxf.547215.n5.nabble.com/demo-jaxrs-server-CustomInvoker-td4389484.html --

demo.jaxrs.server.CustomInvoker

2011-05-12 Thread Ryan Zoerner
In the course of the assignment that Sergey provided me with, I augmented the http-demo, which I talked a bit here: http://cxf.547215.n5.nabble.com/Basic-Http-Demo-and-the-refactoring-that-I-did-in-the-course-of-figuring-out-how-it-worked-td4389413.html Now, the purpose of this customInvoker was

Re: general comments about cxf and my progress towards completing integrating JAX-RS CXF with EJB

2011-05-11 Thread Ryan Zoerner
Sergey, Thank you for the instructive assignment and for the more complete information regarding cxf-jaxrs and its implementation. I found both to be helpful. I will be publishing some of the code from them now, in an effort to set a better backdrop for good communication, along with enabling me t

Basic Http Demo and the refactoring that I did, in the course of figuring out how it worked.

2011-05-11 Thread Ryan Zoerner
I've decided that I am not posting enough about my actual coding to the dev list. In an effort to set a better backdrop for conversations about my current progress, and level of learning, I've decided to try and fix that. This email is the first of what will be numerous emails, talking, in a litt

general comments about cxf and my progress towards completing integrating JAX-RS CXF with EJB

2011-05-02 Thread Ryan Zoerner
ave any questions about what I said, or if you have any suggestions. Please feel free to comment. Thank you. Ryan Zoerner

Re: Can't run corba unit tests?

2011-04-25 Thread Ryan Zoerner
If the command is actually listed at the bottom of the report, I didn't know. Sorry.

Re: Can't run corba unit tests?

2011-04-25 Thread Ryan Zoerner
en command resulted in the error report, that would be helpful. Ryan On Mon, Apr 25, 2011 at 8:56 PM, Ryan Zoerner wrote: > Benson, > > The other thing that I just thought of is that when you did eclipse setup, > it should have created a workspace folder, in the same directory as your

Re: Can't run corba unit tests?

2011-04-25 Thread Ryan Zoerner
Benson, The other thing that I just thought of is that when you did eclipse setup, it should have created a workspace folder, in the same directory as your cxf folder. In that folder are two files. One of them is called cxf-checkstyle-corba.xml . If you are using some other workspace, that might b

Re: Can't run corba unit tests?

2011-04-25 Thread Ryan Zoerner
wrote: > Ryan, this isnt' a fastinstall or an eclipse issue, it's the unit tests > failing? > > On Mon, Apr 25, 2011 at 8:56 PM, Ryan Zoerner > wrote: > > Benson, > > > > When you set up the project in eclipse. When you typed 'mvn install > > -Pfast

Re: Can't run corba unit tests?

2011-04-25 Thread Ryan Zoerner
Benson, When you set up the project in eclipse. When you typed 'mvn install -Pfastinstall -fn', there was an error in the corba setup. At the time, I had thought that I needed to put the CORBA plugin into eclipse, so I pulled it down from online, but that was not the error. You actually needed to

new to irc, did not have log file set to log conversation

2011-04-12 Thread Ryan Zoerner
Sergey, Yesterday, when we chatted, I had just downloaded Chatzilla and did not have the logging feature set to be on. Then, when I closed the application, I realized that I had just erased the conversation if the program didn't automatically save it, which it does not. Do you happen to have a co

general project setup and utilization questions

2011-04-12 Thread Ryan Zoerner
Dear Team, I've assembled a small list of questions which I don't have answers to yet. It is probable that some or all of you have encountered these questions in the process of working on this project. Therefore, if you have a quick answer, that would be helpful. Thank you. Ryan eclipse setup

Google Summer of Code -- Integratio​n of Apache CXF JAX-RS with EJB

2011-04-08 Thread Ryan Zoerner
Dear CXF Developer's Mailing List, My name is Ryan Zoerner and I am a Computer Sciences Major at the University of Wisconsin Madison. I am writing to subscribe to this mailing list because I am interested in working on Integrating Apache CXF JAX-RS with EJB, and that, in conjunction with G