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
/~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
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
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.
Thanks,
Ryan
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
>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
Everything below EasyBeansJaxWsServerFactoryBean is available in easybeans
without the aid of Jonas.
Ryan
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
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
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
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
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
>
>
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.
Correction, I found it searching for which class instantiates
CXFEJBWebserviceEndpoint,
which class instantiates that, etc.
Ryan
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
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.
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.
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/
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
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
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?
value will determine which
factory is selected.
What do you think about the idea?
Thank you.
Ryan Zoerner
Here is a link to the rough draft:
http://pages.cs.wisc.edu/~zoerner/downloads/dev/samples/EJBInvoker/EJBInvoker.java
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
you will note that nabble mangled the ); in my email, which is what caused
me to think of this.
Ryan
and btw, I didn't intend any pun on your initials.
Ryan
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
Of course, resourceInstance should probably be resoureceProvider. Then you
can just call the variable provider from methods where necessary.
Ryan
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]
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
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
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
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
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
Thank you for your answer. I'm sorry, I didn't see it before I posted the
link.
Ryan
The full Customer.java class may be viewed here:
http://pages.cs.wisc.edu/~zoerner/downloads/dev/samples/customerservice/Customer.java
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
Sergey,
I have the following question regarding the project.
-
-
Customer:
-
Per-request reso
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
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
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
--
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
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
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
ave any questions about what I
said, or if you have
any suggestions. Please feel free to comment.
Thank you.
Ryan Zoerner
If the command is actually listed at the bottom of the report, I didn't
know. Sorry.
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
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
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
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
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
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
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
54 matches
Mail list logo