|
Re: JAX-RS 2.1 released!
+1. For Java EE users, it's a really needed feature of equal importance.
Regards,
Guillermo González de Agüero
+1. For Java EE users, it's a really needed feature of equal importance.
Regards,
Guillermo González de Agüero
|
By
Guillermo González de Agüero
·
#264
·
|
|
Re: JAX-RS 2.1 released!
Hi,
I would put it this way: alignment with CDI is as important the other major features like reactive and NIO but not more important. All the 3 features have been discussed for a long time, some
Hi,
I would put it this way: alignment with CDI is as important the other major features like reactive and NIO but not more important. All the 3 features have been discussed for a long time, some
|
By
Ondrej Mihályi
·
#263
·
|
|
Re: JAX-RS 2.1 released!
I have the feeling that all CDI experts in this group want is to go total CDI and spend a good portion of the next cycle's time
on getting everything injected really really well the
I have the feeling that all CDI experts in this group want is to go total CDI and spend a good portion of the next cycle's time
on getting everything injected really really well the
|
By
Sergey Beryozkin
·
#262
·
|
|
Re: Clarification of Configuration.getClasses() behavior
I would rather say, we have a charter for JAX-RS 2.2 to provide a more concise phrasing in the spec. :-)
-Markus
I would rather say, we have a charter for JAX-RS 2.2 to provide a more concise phrasing in the spec. :-)
-Markus
|
By
Markus KARG
·
#261
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Configuration is @since 2.0
Application#getClasses() is @since 1.0
I agree that Configuration#getClasses() should return complete config state of the app, so including automatically
Configuration is @since 2.0
Application#getClasses() is @since 1.0
I agree that Configuration#getClasses() should return complete config state of the app, so including automatically
|
By
Pavel Bucek
·
#260
·
|
|
Re: Clarification of Configuration.getClasses() behavior
I saw a wink there all right, but did not assume it was there to change the meaning of sentence. Perhaps it means I lack a sense of humour :-).
Looks like RestEasy got it right
I saw a wink there all right, but did not assume it was there to change the meaning of sentence. Perhaps it means I lack a sense of humour :-).
Looks like RestEasy got it right
|
By
Sergey Beryozkin
·
#259
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Yes automatic discovery is to be considered for Configuration.get*, so it returns more than Application.getClasses.
Yes automatic discovery is to be considered for Configuration.get*, so it returns more than Application.getClasses.
|
By
Markus KARG
·
#258
·
|
|
Re: Clarification of Configuration.getClasses() behavior
IIRC…
* Application.getClasses() is implemented by the application developer to let the JAX-RS engine know which components (= resources and providers) are to be loaded. It exists since JAX-RS
IIRC…
* Application.getClasses() is implemented by the application developer to let the JAX-RS engine know which components (= resources and providers) are to be loaded. It exists since JAX-RS
|
By
Markus KARG
·
#257
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Sergey,
seems you missed the irony smiley at the end of my posting.
-Markus
Sergey,
seems you missed the irony smiley at the end of my posting.
-Markus
|
By
Markus KARG
·
#256
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Should automatic discovery play a part in this too? I.e. return the value of Application.getClasses() unless that that returns an empty collection. If empty, return the set of classes marked with
Should automatic discovery play a part in this too? I.e. return the value of Application.getClasses() unless that that returns an empty collection. If empty, return the set of classes marked with
|
By
Andy McCright
·
#255
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Yes, sorry, I was thinking only about resources. There is indeed an intersection. Returning resources from the configuration seems a bit strange, though, but ultimately is whatever we define it to be.
Yes, sorry, I was thinking only about resources. There is indeed an intersection. Returning resources from the configuration seems a bit strange, though, but ultimately is whatever we define it to be.
|
By
Santiago Pericas-Geertsen
·
#254
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Hi Santiago
Thanks, but Application.getClasses can return provider classes...
Cheers, Sergey
Hi Santiago
Thanks, but Application.getClasses can return provider classes...
Cheers, Sergey
|
By
Sergey Beryozkin
·
#253
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Pavel, Sergey,
My recollection is that the Configuration#getClasses() is not related to resources, but only providers and features. So I think the results returned by the two #getClasses() mentioned
Pavel, Sergey,
My recollection is that the Configuration#getClasses() is not related to resources, but only providers and features. So I think the results returned by the two #getClasses() mentioned
|
By
Santiago Pericas-Geertsen
·
#252
·
|
|
Re: JAX-RS 2.1 released!
I'll do my best! :-)
I was hoping to have at least some of the functionality delivered in our upcoming beta, but due to a build snafu, it didn't make it. We should have something "tangible" to
I'll do my best! :-)
I was hoping to have at least some of the functionality delivered in our upcoming beta, but due to a build snafu, it didn't make it. We should have something "tangible" to
|
By
Andy McCright
·
#251
·
|
|
Re: Clarification of Configuration.getClasses() behavior
I'd guess Configuration#getClasses() needs clarification.
To be honest, for me, it mirrors Application#getClasses(), but on the runtime side (so I'd say that it can contain more classes than
I'd guess Configuration#getClasses() needs clarification.
To be honest, for me, it mirrors Application#getClasses(), but on the runtime side (so I'd say that it can contain more classes than
|
By
Pavel Bucek
·
#250
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Hi Pavel
Thanks
For the record, in Configuration.getClasses(), on the server side, CXF returns the Application.getClasses() if Application is available, empty set
Hi Pavel
Thanks
For the record, in Configuration.getClasses(), on the server side, CXF returns the Application.getClasses() if Application is available, empty set
|
By
Sergey Beryozkin
·
#249
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Thanks Sergey and +1 to that statement ;)
Thanks Sergey and +1 to that statement ;)
|
By
Pavel Bucek
·
#248
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Putting aside the fact RI is obviously of high quality, the following may shock you but: RI may also have bugs, some of them related to the interpretation of the spec/API...
Putting aside the fact RI is obviously of high quality, the following may shock you but: RI may also have bugs, some of them related to the interpretation of the spec/API...
|
By
Sergey Beryozkin
·
#247
·
|
|
Re: Clarification of Configuration.getClasses() behavior
Due to the fact that Jersey is the RI and RESTEasy is not, what Jersey does is inherently correct, and what RESTEasy does is not. ;-)
-Markus
Due to the fact that Jersey is the RI and RESTEasy is not, what Jersey does is inherently correct, and what RESTEasy does is not. ;-)
-Markus
|
By
Markus KARG
·
#246
·
|
|
Clarification of Configuration.getClasses() behavior
Hey all,
I've quick question. The javadocs of Configuration.getClasses() state:
My question is whether the returned set of classes is supposed to contain resource classes or not.
I'm asking this
Hey all,
I've quick question. The javadocs of Configuration.getClasses() state:
My question is whether the returned set of classes is supposed to contain resource classes or not.
I'm asking this
|
By
Christian Kaltepoth
·
#245
·
|