You can subscribe to this list here.
2008 |
Jan
|
Feb
|
Mar
(16) |
Apr
(18) |
May
(13) |
Jun
(100) |
Jul
(165) |
Aug
(53) |
Sep
(41) |
Oct
(84) |
Nov
(113) |
Dec
(171) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2009 |
Jan
(84) |
Feb
(30) |
Mar
(75) |
Apr
(113) |
May
(87) |
Jun
(96) |
Jul
(127) |
Aug
(106) |
Sep
(191) |
Oct
(142) |
Nov
(106) |
Dec
(83) |
2010 |
Jan
(62) |
Feb
(93) |
Mar
(92) |
Apr
(58) |
May
(52) |
Jun
(104) |
Jul
(109) |
Aug
(94) |
Sep
(75) |
Oct
(54) |
Nov
(65) |
Dec
(38) |
2011 |
Jan
(53) |
Feb
(84) |
Mar
(95) |
Apr
(24) |
May
(10) |
Jun
(49) |
Jul
(74) |
Aug
(23) |
Sep
(67) |
Oct
(21) |
Nov
(62) |
Dec
(50) |
2012 |
Jan
(26) |
Feb
(7) |
Mar
(9) |
Apr
(5) |
May
(13) |
Jun
(7) |
Jul
(18) |
Aug
(48) |
Sep
(58) |
Oct
(79) |
Nov
(19) |
Dec
(15) |
2013 |
Jan
(33) |
Feb
(21) |
Mar
(10) |
Apr
(22) |
May
(39) |
Jun
(31) |
Jul
(15) |
Aug
(6) |
Sep
(8) |
Oct
(1) |
Nov
(4) |
Dec
(3) |
2014 |
Jan
(17) |
Feb
(18) |
Mar
(15) |
Apr
(12) |
May
(11) |
Jun
(3) |
Jul
(10) |
Aug
(2) |
Sep
(3) |
Oct
(4) |
Nov
(4) |
Dec
(1) |
2015 |
Jan
|
Feb
(6) |
Mar
(5) |
Apr
(13) |
May
(2) |
Jun
(3) |
Jul
(1) |
Aug
(2) |
Sep
(6) |
Oct
(12) |
Nov
(12) |
Dec
(12) |
2016 |
Jan
(10) |
Feb
(3) |
Mar
(8) |
Apr
(4) |
May
(2) |
Jun
(1) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
(6) |
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
|
2020 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
From: Weinan Li <we...@re...> - 2016-03-11 13:35:00
|
I guess Ron will update it when he has time :-) - Weinan Li > On Mar 11, 2016, at 5:47 PM, Andrei Ivanov <and...@gm...> wrote: > > Hi, > Trying to start a new project with Resteasy so I've looked at > http://resteasy.jboss.org/ > > The news section indicates the last release is 3.0.12 > The downloads page has 3.0.13 as the latest. > > After checking the Maven repo I notice that 3.0.16 is really the latest. > > Reading the latest available docs online, > https://docs.jboss.org/resteasy/docs/3.0.13.Final/userguide/html_single/#upgrading-as7, > I see I need to obtain resteasy-jboss-modules-3.0.13.Final.zip > > Can you please update the site? :-) > I would like to use the latest release. > > Thank you and have a nice day. > > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers |
From: Andrei I. <and...@gm...> - 2016-03-11 09:47:19
|
Hi, Trying to start a new project with Resteasy so I've looked at http://resteasy.jboss.org/ The news section indicates the last release is 3.0.12 The downloads page has 3.0.13 as the latest. After checking the Maven repo I notice that 3.0.16 is really the latest. Reading the latest available docs online, https://docs.jboss.org/resteasy/docs/3.0.13.Final/userguide/html_single/#upgrading-as7, I see I need to obtain resteasy-jboss-modules-3.0.13.Final.zip Can you please update the site? :-) I would like to use the latest release. Thank you and have a nice day. |
From: Weinan Li <we...@re...> - 2016-02-23 02:48:19
|
Hi, We have released 3.0.16.Final. We found some regressions in 3.0.15.Final, so please don't use it. - Weinan Li |
From: Weinan Li <we...@re...> - 2016-02-06 02:35:55
|
Thanks for the info Jerome! Sorry we are working on some TCK failures and EAP customers feedback issues these days, so our reply on mailing-list is slow. - Weinan Li > On Feb 4, 2016, at 6:29 PM, Jérôme Blanchard <jay...@gm...> wrote: > > After investigation, it seems the problem comes from JDK. We were using jdk 1.8.0_51 and moving to 1.8.0_72 solves the bandwith problem... > I have no idea of what was the problem but it was happening only with SSL (https). > For now, upload and download speed increased from 10x (~3Mo/s to 35Mo/s) !! > > Thanls for you support, best regards, Jérôme. > > Le mar. 12 janv. 2016 à 06:38, Weinan Li <we...@re...> a écrit : > I’ll check it and let you know my findings :-) > > -- > Weinan Li / JBoss > > > > > On Jan 12, 2016, at 12:11 AM, Jérôme Blanchard <jay...@gm...> wrote: > > > > Hi Weinan Li, > > > > I've extracted the code I'm using from my app and put it in a github in order to have a deployable war that shows the slow download and upload speed. > > This project is available at : https://github.com/jayblanc/download > > According to my tests, the slow download speed appears in method 2 and seems to be due to the use of CacheControl... > > Nevertheless, for the upload, I can't face what happens and why transfert rate is so slow (3Mo/s) > > > > Thanks for your intrest in this problem, Best regards, Jérôme. > > > > Le sam. 9 janv. 2016 à 04:28, Weinan Li <we...@re...> a écrit : > > Hi Jérôme, > > > > Could you please provide some codes for your download function? > > > > -- > > Weinan Li / JBoss > > > > > > > > > On Jan 7, 2016, at 5:08 PM, Jérôme Blanchard <jay...@gm...> wrote: > > > > > > Hi, > > > > > > I'm facing a strange problem : > > > In my REST API, I have a download fonction allowing clients to retreive files. > > > Previously I was using a simple way which was to open the file and copy the stream in the ServletOutputStream in the resource method. > > > In order to gather range base download capability, I'v move my code to use the built in resteasy functionnality and now my code consists of putting a File object as a response entity and let resteasy to do the stuff. > > > The problem is that my download speed fall down from about 50Mo/s to 3Mo/s and I have not seen any reason for that. > > > > > > Does anybody already faced this problem and have an idea of what's happening ?? > > > > > > Best regards, Jérôme. > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > Resteasy-developers mailing list > > > Res...@li... > > > https://lists.sourceforge.net/lists/listinfo/resteasy-developers > > > |
From: Jérôme B. <jay...@gm...> - 2016-02-04 10:29:30
|
After investigation, it seems the problem comes from JDK. We were using jdk 1.8.0_51 and moving to 1.8.0_72 solves the bandwith problem... I have no idea of what was the problem but it was happening only with SSL (https). For now, upload and download speed increased from 10x (~3Mo/s to 35Mo/s) !! Thanls for you support, best regards, Jérôme. Le mar. 12 janv. 2016 à 06:38, Weinan Li <we...@re...> a écrit : > I’ll check it and let you know my findings :-) > > -- > Weinan Li / JBoss > > > > > On Jan 12, 2016, at 12:11 AM, Jérôme Blanchard <jay...@gm...> > wrote: > > > > Hi Weinan Li, > > > > I've extracted the code I'm using from my app and put it in a github in > order to have a deployable war that shows the slow download and upload > speed. > > This project is available at : https://github.com/jayblanc/download > > According to my tests, the slow download speed appears in method 2 and > seems to be due to the use of CacheControl... > > Nevertheless, for the upload, I can't face what happens and why > transfert rate is so slow (3Mo/s) > > > > Thanks for your intrest in this problem, Best regards, Jérôme. > > > > Le sam. 9 janv. 2016 à 04:28, Weinan Li <we...@re...> a écrit : > > Hi Jérôme, > > > > Could you please provide some codes for your download function? > > > > -- > > Weinan Li / JBoss > > > > > > > > > On Jan 7, 2016, at 5:08 PM, Jérôme Blanchard <jay...@gm...> > wrote: > > > > > > Hi, > > > > > > I'm facing a strange problem : > > > In my REST API, I have a download fonction allowing clients to > retreive files. > > > Previously I was using a simple way which was to open the file and > copy the stream in the ServletOutputStream in the resource method. > > > In order to gather range base download capability, I'v move my code to > use the built in resteasy functionnality and now my code consists of > putting a File object as a response entity and let resteasy to do the stuff. > > > The problem is that my download speed fall down from about 50Mo/s to > 3Mo/s and I have not seen any reason for that. > > > > > > Does anybody already faced this problem and have an idea of what's > happening ?? > > > > > > Best regards, Jérôme. > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > > > Resteasy-developers mailing list > > > Res...@li... > > > https://lists.sourceforge.net/lists/listinfo/resteasy-developers > > > > |
From: Weinan Li <we...@re...> - 2016-01-25 05:28:53
|
- Work on WADL module Merged PRs: - PR726: RESTEASY-1249 - PR727: Related with JBEAP-136 - PR729 - RESTEASY-1251: Response entity cannot be read with getEntity() after readEntity() is used (IllegalStateException is thrown) Resolved Bugs: - https://issues.jboss.org/browse/RESTEASY-762 Maintanance Work: Bug 1291983 - [GSS](6.4.z) ConcurrentModificationException in MediaTypeMap.convert() (edit) Checked: https://github.com/jbossas/redhat-resteasy/pull/4 These issues are moved to QA: - https://issues.jboss.org/browse/JBEAP-1737 - https://issues.jboss.org/browse/JBEAP-135 - https://issues.jboss.org/browse/JBEAP-1722 In Progress: - Check customer feature request: https://github.com/jayblanc/download - RESTEASY-1165 - RESTEASY-1211 - defaultProduces does not affect Accept header if any @Produces annotation is present. - PR659: RESTEASY-1212 SpringBeanProcessor didn't find methods in super-class any more - RESTEASY-1272 InternalDispatcher forwards requests with wrong UriInfo on EAP - RESTEASY-1280 ClientErrorBadMediaTypeTest shouldn't ignore configuration errors - RESTEASY-1282 Resource annotated with @Consumes(MediaType.APPLICATION_OCTET_STREAM returns response with the same type automatically - JBEAP-2268 resteasy jose-jwt is public, should be private - Weinan Li |
From: Weinan Li <we...@re...> - 2016-01-18 14:57:50
|
> On Jan 18, 2016, at 10:50 PM, Weinan Li <we...@re...> wrote: > > Last Week: > > - Work on WADL module > Merged PRs: > - PR726: RESTEASY-1249 > - PR727: Related with JBEAP-136 > In Progress: > - Check customer feature request: https://github.com/jayblanc/download > - JBEAP-2268 resteasy jose-jwt is public, should be private > - RESTEASY-1165 > - RESTEASY-1280 ClientErrorBadMediaTypeTest shouldn't ignore configuration errors > > > This Week: > > We have multiple bug reports coming from EAP team, so we’ll prioritise these bugs firstly this week. > ------------------------------------------------------------------------------ > Site24x7 APM Insight: Get Deep Visibility into Application Performance > APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month > Monitor end-to-end web transactions and take corrective actions now > Troubleshoot faster and improve end-user experience. Signup Now! > http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140 Not sure why the above Ad added in my email :( Sorry for the noise. > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers |
From: Weinan Li <we...@re...> - 2016-01-18 14:50:47
|
Last Week: - Work on WADL module Merged PRs: - PR726: RESTEASY-1249 - PR727: Related with JBEAP-136 In Progress: - Check customer feature request: https://github.com/jayblanc/download - JBEAP-2268 resteasy jose-jwt is public, should be private - RESTEASY-1165 - RESTEASY-1280 ClientErrorBadMediaTypeTest shouldn't ignore configuration errors This Week: We have multiple bug reports coming from EAP team, so we’ll prioritise these bugs firstly this week. |
From: Weinan Li <we...@re...> - 2016-01-12 05:39:02
|
I’ll check it and let you know my findings :-) -- Weinan Li / JBoss > On Jan 12, 2016, at 12:11 AM, Jérôme Blanchard <jay...@gm...> wrote: > > Hi Weinan Li, > > I've extracted the code I'm using from my app and put it in a github in order to have a deployable war that shows the slow download and upload speed. > This project is available at : https://github.com/jayblanc/download > According to my tests, the slow download speed appears in method 2 and seems to be due to the use of CacheControl... > Nevertheless, for the upload, I can't face what happens and why transfert rate is so slow (3Mo/s) > > Thanks for your intrest in this problem, Best regards, Jérôme. > > Le sam. 9 janv. 2016 à 04:28, Weinan Li <we...@re...> a écrit : > Hi Jérôme, > > Could you please provide some codes for your download function? > > -- > Weinan Li / JBoss > > > > > On Jan 7, 2016, at 5:08 PM, Jérôme Blanchard <jay...@gm...> wrote: > > > > Hi, > > > > I'm facing a strange problem : > > In my REST API, I have a download fonction allowing clients to retreive files. > > Previously I was using a simple way which was to open the file and copy the stream in the ServletOutputStream in the resource method. > > In order to gather range base download capability, I'v move my code to use the built in resteasy functionnality and now my code consists of putting a File object as a response entity and let resteasy to do the stuff. > > The problem is that my download speed fall down from about 50Mo/s to 3Mo/s and I have not seen any reason for that. > > > > Does anybody already faced this problem and have an idea of what's happening ?? > > > > Best regards, Jérôme. > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Resteasy-developers mailing list > > Res...@li... > > https://lists.sourceforge.net/lists/listinfo/resteasy-developers > |
From: Jérôme B. <jay...@gm...> - 2016-01-11 16:11:19
|
Hi Weinan Li, I've extracted the code I'm using from my app and put it in a github in order to have a deployable war that shows the slow download and upload speed. This project is available at : https://github.com/jayblanc/download According to my tests, the slow download speed appears in method 2 and seems to be due to the use of CacheControl... Nevertheless, for the upload, I can't face what happens and why transfert rate is so slow (3Mo/s) Thanks for your intrest in this problem, Best regards, Jérôme. Le sam. 9 janv. 2016 à 04:28, Weinan Li <we...@re...> a écrit : > Hi Jérôme, > > Could you please provide some codes for your download function? > > -- > Weinan Li / JBoss > > > > > On Jan 7, 2016, at 5:08 PM, Jérôme Blanchard <jay...@gm...> wrote: > > > > Hi, > > > > I'm facing a strange problem : > > In my REST API, I have a download fonction allowing clients to retreive > files. > > Previously I was using a simple way which was to open the file and copy > the stream in the ServletOutputStream in the resource method. > > In order to gather range base download capability, I'v move my code to > use the built in resteasy functionnality and now my code consists of > putting a File object as a response entity and let resteasy to do the stuff. > > The problem is that my download speed fall down from about 50Mo/s to > 3Mo/s and I have not seen any reason for that. > > > > Does anybody already faced this problem and have an idea of what's > happening ?? > > > > Best regards, Jérôme. > > > ------------------------------------------------------------------------------ > > _______________________________________________ > > Resteasy-developers mailing list > > Res...@li... > > https://lists.sourceforge.net/lists/listinfo/resteasy-developers > > |
From: Weinan Li <we...@re...> - 2016-01-11 01:46:40
|
Last Week: - PR720: Fix Arquillian tests - PR723: RESTEASY-1269 Disable SerializableProvider by default due to security risk - PR722: RESTEASY-1276 Internationalize resteasy-wadl - PR724: Fix Httpclient-Connectionleak for InputStream or Reader and Content-Length 0 This week we’ll focus on fixing bugs reported on JIRA and review PRs backed by JIRA issues. -- Weinan Li / JBoss |
From: Weinan Li <we...@re...> - 2016-01-09 03:28:45
|
Hi Jérôme, Could you please provide some codes for your download function? -- Weinan Li / JBoss > On Jan 7, 2016, at 5:08 PM, Jérôme Blanchard <jay...@gm...> wrote: > > Hi, > > I'm facing a strange problem : > In my REST API, I have a download fonction allowing clients to retreive files. > Previously I was using a simple way which was to open the file and copy the stream in the ServletOutputStream in the resource method. > In order to gather range base download capability, I'v move my code to use the built in resteasy functionnality and now my code consists of putting a File object as a response entity and let resteasy to do the stuff. > The problem is that my download speed fall down from about 50Mo/s to 3Mo/s and I have not seen any reason for that. > > Does anybody already faced this problem and have an idea of what's happening ?? > > Best regards, Jérôme. > ------------------------------------------------------------------------------ > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers |
From: Weinan Li <we...@re...> - 2016-01-09 03:28:13
|
Hi Erick, Could you please provide more details to your question? (RESTEasy version, container version, jdk, etc) -- Weinan Li / JBoss > On Jan 8, 2016, at 7:16 AM, Erick de Oliveira Leal <eri...@gm...> wrote: > > Why am I getting the error java.lang.NoClassDefFoundError: org/jboss/resteasy/jose/jwe/JWEBuilder trying to run the following code: > > public void testDirect() throws Exception > { > String content = "Live long and prosper."; > String encoded = new JWEBuilder().contentBytes(content.getBytes()).dir("geheim"); > System.out.println("encoded: " + encoded); > byte[] raw = new JWEInput(encoded).decrypt("geheim").getRawContent(); > String from = new String(raw); > System.out.println(from); > > System.out.println(raw); > return null; > } > > > ------------------------------------------------------------------------------ > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers |
From: Erick de O. L. <eri...@gm...> - 2016-01-07 23:16:22
|
Why am I getting the error java.lang.NoClassDefFoundError: org/jboss/resteasy/jose/jwe/JWEBuilder trying to run the following code: public void testDirect() throws Exception { String content = "Live long and prosper."; String encoded = new JWEBuilder().contentBytes(content.getBytes()).dir("geheim"); System.out.println("encoded: " + encoded); byte[] raw = new JWEInput(encoded).decrypt("geheim").getRawContent(); String from = new String(raw); System.out.println(from); System.out.println(raw); return null; } |
From: Jérôme B. <jay...@gm...> - 2016-01-07 09:08:39
|
Hi, I'm facing a strange problem : In my REST API, I have a download fonction allowing clients to retreive files. Previously I was using a simple way which was to open the file and copy the stream in the ServletOutputStream in the resource method. In order to gather range base download capability, I'v move my code to use the built in resteasy functionnality and now my code consists of putting a File object as a response entity and let resteasy to do the stuff. The problem is that my download speed fall down from about 50Mo/s to 3Mo/s and I have not seen any reason for that. Does anybody already faced this problem and have an idea of what's happening ?? Best regards, Jérôme. |
From: Weinan Li <we...@re...> - 2015-12-28 11:14:40
|
# Last Week Merged PRs: - PR673 RESTEASY-1223 Added better POJO handling and upgraded library. - PR708 [RESTEASY-1141] @FormParam does not work with PUT method when a Query… - PR717 Add Arquillian tests to RESTEASY-1141 - PR718 RESTEASY-1223 + RESTEASY-1141 - PR719 RESTEASY-1141 In Progress: - PR683 ProxyBuilder/ProxyClient: do not proxy default methods. (in communication with commiter) - PR697 Use non-deprecated API provided by HttpClient. (not complete) - RESTEASY-1272 InternalDispatcher forwards requests with wrong UriInfo on EAP (incoming request from jboss QE team) - JBEAP-2446 ResponseObjectTest failing when using ProxyBuilder (incoming request from jboss QE team) -- Weinan Li / JBoss |
From: Weinan Li <we...@re...> - 2015-12-21 13:34:28
|
# Last Week Resolved Issues/Merged PRs - RESTEASY-1182 DataSourceProvider produces FileNotFoundException upon second call of getInputStream() - RESTEASY-1202 Incompatibility with Jackson 2.6.0 - PR707 [RESTEASY-1263] : Upgrade Guice to 4.0. - PR700 Update Hibernate Validator in resteasy-validator-provider-11 In Progress: - PR574 RESTEASY-1141 (need to add a test case) - PR673 RESTEASY-1223 Added better POJO handling and upgraded library. (in communication with commiter) - PR683 ProxyBuilder/ProxyClient: do not proxy default methods. (in communication with commiter) - PR697 Use non-deprecated API provided by HttpClient. (not complete) - RESTEASY-1272 InternalDispatcher forwards requests with wrong UriInfo on EAP (incoming request from jboss QE team) - JBEAP-2446 ResponseObjectTest failing when using ProxyBuilder (incoming request from jboss QE team) -- Weinan Li / JBoss |
From: Weinan Li <we...@re...> - 2015-12-14 06:44:20
|
Last Week: Fixed bugs/Merged PRs: - PR687 Jaxrs api / logging - JBEAP-2138 The stream never gets reset after Jaxb exception occurs when parsing server response This Week: - There are more PRs coming, we are working on it. - resteasy-wadl dev in progress -- Weinan Li / JBoss |
From: Weinan Li <we...@re...> - 2015-12-14 06:42:48
|
Hi, 3.0.14.Final is released: https://github.com/resteasy/Resteasy/releases/tag/3.0.14.Final And master branch version bumped to 3.0.15.Final-SNAPSHOT. In 3.0.14.Final we have added resteasy-wadl module and fixed tons of bugs. Enjoy :-) -- Weinan Li / JBoss |
From: Charles M. <cmo...@re...> - 2015-12-07 10:46:28
|
Hi, I have created an Arquillian Jetty8 test case to run RestEasy using CDI/Weld 2.3.1.Final but I don't find the way to extract the body from the Response returned https://github.com/cmoulliard/use-cases/blob/970b9e7a4de78951463ac5db542453654e01ba14/wab-cdi/src/test/java/my/cool/demo/BasicTestCase.java#L40 Here is how the REST service is defined : https://github.com/cmoulliard/use-cases/blob/970b9e7a4de78951463ac5db542453654e01ba14/wab-cdi/src/main/java/my/cool/demo/MessageRestService.java#L11 Regards, Charles |
From: Weinan Li <we...@re...> - 2015-12-07 09:48:16
|
Last Week: - We didn’t merge many PRs last week but we are adding comments to multiple PRs and waiting for response - Some regresssions in 3.0.14.Final-SNAPSHOT are fixed This week: - We are going to release 3.0.14.Final this week -- Weinan Li / JBoss |
From: Weinan Li <we...@re...> - 2015-12-02 13:49:00
|
Hi Charles, 2.3.10.Final is a maintenance release for JBoss EAP lifecycle only and doesn't have public repo(As Bill said Branch_2_3 is too old). 2.3.7 is the last community version. -- Weinan Li / JBoss > On Dec 2, 2015, at 9:45 PM, Charles Moulliard <cmo...@re...> wrote: > > ws-1252 Content-Transfer-Encoding: 7bit > > On 02/12/15 14:20, Weinan Li wrote: >> -- >> Weinan Li / JBoss >> >> >>> On Dec 2, 2015, at 3:08 PM, Charles Moulliard <cmo...@re...> >>> wrote: >>> >>> Hi Weinan, >>> >>> Many thanks for your help. I think that I have been able to find where the automatic scan occurs when we set the parameter "resteasy.scan = true" for the Listener (" ResteasyBootstrap") >>> >>> >>> https://github.com/resteasy/Resteasy/blob/7569f64d6017e4170d91639d158f1af9a2676c0d/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/server/servlet/ConfigurationBootstrap.java#L147 >>> >>> >>> Question : Do we have a branch or a tag release of the code " 2.3.10.Final" ? >>> >> We only support this version in JBoss EAP. The upstream has been moved to 3.x for a long time :-) > >> Where can I find the github repo of 2.3.10.Final ? >>> Regards, >>> >>> Charles >>> >>> On 02/12/15 05:05, Weinan Li wrote: >>> >>>> Hi Charles, >>>> >>>> Sorry I'm not sure whether I understand your question correctly, so please forgive me if I'm wrong :-) >>>> >>>> To start a Resteasy container, first we need to create a ResteasyDeployment instance and initialize it: >>>> >>>> ResteasyDeployment deployment = new ResteasyDeployment(); >>>> deployment.start(); >>>> >>>> Then we can register any resources into it: >>>> >>>> deployment.getActualResourceClasses().add(SimpleResource.class); >>>> >>>> Or you can also directly add into Registry class: >>>> >>>> deployment.getRegistry().addPerRequestResource(Resource.class); >>>> >>>> Because in ResteasyDeployment itself it's like: >>>> >>>> if (resources != null) >>>> { >>>> for (Object obj : resources) >>>> { >>>> registry.addSingletonResource(obj); >>>> } >>>> } >>>> >>>> for (Class actualResourceClass : actualResourceClasses) >>>> { >>>> registry.addPerRequestResource(actualResourceClass); >>>> } >>>> >>>> for (ResourceFactory factory : resourceFactories) >>>> { >>>> registry.addResourceFactory(factory); >>>> } >>>> >>>> All the scanners are implemented based on above logics. Here are some scanner examples: >>>> >>>> >>>> >>>> https://github.com/wildfly/wildfly/blob/0c68aa0ebef3682e9ded4b473e24463b3e31af07/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsScanningProcessor.java >>>> >>>> >>>> >>>> >>>> >>>> https://github.com/resteasy/Resteasy/blob/85862364f1464532ceb2e5227fbbb214339fd73d/jaxrs/resteasy-servlet-initializer/src/main/java/org/jboss/resteasy/plugins/servlet/ResteasyServletInitializer.java >>>> >>>> >>>> >>>> Hope the info is useful to you :-) >>>> >>>> >>>> -- >>>> Weinan Li / JBoss >>>> >>>> >>>> >>>>> On Dec 2, 2015, at 3:20 AM, Charles Moulliard <cmo...@re...> >>>>> >>>>> wrote: >>>>> >>>>> Hi, >>>>> >>>>> I'm currently working on Resteasy to deploy it on JBoss Fuse (= Apache Karaf OSGI container). I have been able to shade the Resteasy project in order to generate the OSGI MANIFEST file and to solve some TCCL issues like also to inject the BeanManager on OSGI but I can't use the option resteasy.scan = true >>>>> >>>>> Can somebody tell me where into the code of the api we scan the resources ? >>>>> >>>>> Regards, >>>>> -- >>>>> Charles Moulliard >>>>> Principal Solution Architect / JBoss Fuse Expert - Global Enablement @redhat >>>>> >>>>> >>>>> cmo...@re... >>>>> >>>>> | work: +31 205 65 12 84 | mobile: +32 473 604 014 >>>>> MC-Square Business "Stockholm", Leonardo Da Vincilaan 19, Diegem 1831 - Belgium >>>>> twitter: @cmoulliard | blog: >>>>> cmoulliard.github.io >>>>> >>>>> committer: apache camel, karaf, servicemix, hawtio, fabric8, drools, jbpm, deltaspike >>>>> ------------------------------------------------------------------------------ >>>>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>>>> Give your users amazing mobile app experiences with Intel(R) XDK. >>>>> Use one codebase in this all-in-one HTML5 development environment. >>>>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. >>>>> >>>>> >>>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140_______________________________________________ >>>>> >>>>> >>>>> Resteasy-developers mailing list >>>>> >>>>> >>>>> Res...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/resteasy-developers |
From: Charles M. <cmo...@re...> - 2015-12-02 13:45:10
|
On 02/12/15 14:20, Weinan Li wrote: > -- > Weinan Li / JBoss > >> On Dec 2, 2015, at 3:08 PM, Charles Moulliard <cmo...@re...> wrote: >> >> Hi Weinan, >> >> Many thanks for your help. I think that I have been able to find where the automatic scan occurs when we set the parameter "resteasy.scan = true" for the Listener (" ResteasyBootstrap") >> >> https://github.com/resteasy/Resteasy/blob/7569f64d6017e4170d91639d158f1af9a2676c0d/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/server/servlet/ConfigurationBootstrap.java#L147 >> >> Question : Do we have a branch or a tag release of the code " 2.3.10.Final" ? > We only support this version in JBoss EAP. The upstream has been moved to 3.x for a long time :-) >> Where can I find the github repo of 2.3.10.Final ? > >> Regards, >> >> Charles >> >> On 02/12/15 05:05, Weinan Li wrote: >>> Hi Charles, >>> >>> Sorry I'm not sure whether I understand your question correctly, so please forgive me if I'm wrong :-) >>> >>> To start a Resteasy container, first we need to create a ResteasyDeployment instance and initialize it: >>> >>> ResteasyDeployment deployment = new ResteasyDeployment(); >>> deployment.start(); >>> >>> Then we can register any resources into it: >>> >>> deployment.getActualResourceClasses().add(SimpleResource.class); >>> >>> Or you can also directly add into Registry class: >>> >>> deployment.getRegistry().addPerRequestResource(Resource.class); >>> >>> Because in ResteasyDeployment itself it's like: >>> >>> if (resources != null) >>> { >>> for (Object obj : resources) >>> { >>> registry.addSingletonResource(obj); >>> } >>> } >>> >>> for (Class actualResourceClass : actualResourceClasses) >>> { >>> registry.addPerRequestResource(actualResourceClass); >>> } >>> >>> for (ResourceFactory factory : resourceFactories) >>> { >>> registry.addResourceFactory(factory); >>> } >>> >>> All the scanners are implemented based on above logics. Here are some scanner examples: >>> >>> >>> https://github.com/wildfly/wildfly/blob/0c68aa0ebef3682e9ded4b473e24463b3e31af07/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsScanningProcessor.java >>> >>> >>> >>> https://github.com/resteasy/Resteasy/blob/85862364f1464532ceb2e5227fbbb214339fd73d/jaxrs/resteasy-servlet-initializer/src/main/java/org/jboss/resteasy/plugins/servlet/ResteasyServletInitializer.java >>> >>> >>> Hope the info is useful to you :-) >>> >>> >>> -- >>> Weinan Li / JBoss >>> >>> >>>> On Dec 2, 2015, at 3:20 AM, Charles Moulliard <cmo...@re...> >>>> wrote: >>>> >>>> Hi, >>>> >>>> I'm currently working on Resteasy to deploy it on JBoss Fuse (= Apache Karaf OSGI container). I have been able to shade the Resteasy project in order to generate the OSGI MANIFEST file and to solve some TCCL issues like also to inject the BeanManager on OSGI but I can't use the option resteasy.scan = true >>>> >>>> Can somebody tell me where into the code of the api we scan the resources ? >>>> >>>> Regards, >>>> -- >>>> Charles Moulliard >>>> Principal Solution Architect / JBoss Fuse Expert - Global Enablement @redhat >>>> >>>> cmo...@re... >>>> | work: +31 205 65 12 84 | mobile: +32 473 604 014 >>>> MC-Square Business "Stockholm", Leonardo Da Vincilaan 19, Diegem 1831 - Belgium >>>> twitter: @cmoulliard | blog: cmoulliard.github.io >>>> committer: apache camel, karaf, servicemix, hawtio, fabric8, drools, jbpm, deltaspike >>>> ------------------------------------------------------------------------------ >>>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>>> Give your users amazing mobile app experiences with Intel(R) XDK. >>>> Use one codebase in this all-in-one HTML5 development environment. >>>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. >>>> >>>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140_______________________________________________ >>>> >>>> Resteasy-developers mailing list >>>> >>>> Res...@li... >>>> https://lists.sourceforge.net/lists/listinfo/resteasy-developers |
From: Weinan Li <we...@re...> - 2015-12-02 13:21:09
|
-- Weinan Li / JBoss > On Dec 2, 2015, at 3:08 PM, Charles Moulliard <cmo...@re...> wrote: > > Hi Weinan, > > Many thanks for your help. I think that I have been able to find where the automatic scan occurs when we set the parameter "resteasy.scan = true" for the Listener (" ResteasyBootstrap") > > https://github.com/resteasy/Resteasy/blob/7569f64d6017e4170d91639d158f1af9a2676c0d/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/server/servlet/ConfigurationBootstrap.java#L147 > > Question : Do we have a branch or a tag release of the code " 2.3.10.Final" ? We only support this version in JBoss EAP. The upstream has been moved to 3.x for a long time :-) > > Regards, > > Charles > > On 02/12/15 05:05, Weinan Li wrote: >> Hi Charles, >> >> Sorry I'm not sure whether I understand your question correctly, so please forgive me if I'm wrong :-) >> >> To start a Resteasy container, first we need to create a ResteasyDeployment instance and initialize it: >> >> ResteasyDeployment deployment = new ResteasyDeployment(); >> deployment.start(); >> >> Then we can register any resources into it: >> >> deployment.getActualResourceClasses().add(SimpleResource.class); >> >> Or you can also directly add into Registry class: >> >> deployment.getRegistry().addPerRequestResource(Resource.class); >> >> Because in ResteasyDeployment itself it's like: >> >> if (resources != null) >> { >> for (Object obj : resources) >> { >> registry.addSingletonResource(obj); >> } >> } >> >> for (Class actualResourceClass : actualResourceClasses) >> { >> registry.addPerRequestResource(actualResourceClass); >> } >> >> for (ResourceFactory factory : resourceFactories) >> { >> registry.addResourceFactory(factory); >> } >> >> All the scanners are implemented based on above logics. Here are some scanner examples: >> >> >> https://github.com/wildfly/wildfly/blob/0c68aa0ebef3682e9ded4b473e24463b3e31af07/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsScanningProcessor.java >> >> >> >> https://github.com/resteasy/Resteasy/blob/85862364f1464532ceb2e5227fbbb214339fd73d/jaxrs/resteasy-servlet-initializer/src/main/java/org/jboss/resteasy/plugins/servlet/ResteasyServletInitializer.java >> >> >> Hope the info is useful to you :-) >> >> >> -- >> Weinan Li / JBoss >> >> >>> On Dec 2, 2015, at 3:20 AM, Charles Moulliard <cmo...@re...> >>> wrote: >>> >>> Hi, >>> >>> I'm currently working on Resteasy to deploy it on JBoss Fuse (= Apache Karaf OSGI container). I have been able to shade the Resteasy project in order to generate the OSGI MANIFEST file and to solve some TCCL issues like also to inject the BeanManager on OSGI but I can't use the option resteasy.scan = true >>> >>> Can somebody tell me where into the code of the api we scan the resources ? >>> >>> Regards, >>> -- >>> Charles Moulliard >>> Principal Solution Architect / JBoss Fuse Expert - Global Enablement @redhat >>> >>> cmo...@re... >>> | work: +31 205 65 12 84 | mobile: +32 473 604 014 >>> MC-Square Business "Stockholm", Leonardo Da Vincilaan 19, Diegem 1831 - Belgium >>> twitter: @cmoulliard | blog: cmoulliard.github.io >>> committer: apache camel, karaf, servicemix, hawtio, fabric8, drools, jbpm, deltaspike >>> ------------------------------------------------------------------------------ >>> Go from Idea to Many App Stores Faster with Intel(R) XDK >>> Give your users amazing mobile app experiences with Intel(R) XDK. >>> Use one codebase in this all-in-one HTML5 development environment. >>> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. >>> >>> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140_______________________________________________ >>> >>> Resteasy-developers mailing list >>> >>> Res...@li... >>> https://lists.sourceforge.net/lists/listinfo/resteasy-developers > |
From: Charles M. <cmo...@re...> - 2015-12-02 07:08:59
|
Hi Weinan, Many thanks for your help. I think that I have been able to find where the automatic scan occurs when we set the parameter "resteasy.scan = true" for the Listener (" ResteasyBootstrap") https://github.com/resteasy/Resteasy/blob/7569f64d6017e4170d91639d158f1af9a2676c0d/resteasy-jaxrs/src/main/java/org/jboss/resteasy/plugins/server/servlet/ConfigurationBootstrap.java#L147 Question : Do we have a branch or a tag release of the code " 2.3.10.Final" ? Regards, Charles On 02/12/15 05:05, Weinan Li wrote: > Hi Charles, > > Sorry I'm not sure whether I understand your question correctly, so please forgive me if I'm wrong :-) > > To start a Resteasy container, first we need to create a ResteasyDeployment instance and initialize it: > > ResteasyDeployment deployment = new ResteasyDeployment(); > deployment.start(); > > Then we can register any resources into it: > > deployment.getActualResourceClasses().add(SimpleResource.class); > > Or you can also directly add into Registry class: > > deployment.getRegistry().addPerRequestResource(Resource.class); > > Because in ResteasyDeployment itself it's like: > > if (resources != null) > { > for (Object obj : resources) > { > registry.addSingletonResource(obj); > } > } > > for (Class actualResourceClass : actualResourceClasses) > { > registry.addPerRequestResource(actualResourceClass); > } > > for (ResourceFactory factory : resourceFactories) > { > registry.addResourceFactory(factory); > } > > All the scanners are implemented based on above logics. Here are some scanner examples: > > https://github.com/wildfly/wildfly/blob/0c68aa0ebef3682e9ded4b473e24463b3e31af07/jaxrs/src/main/java/org/jboss/as/jaxrs/deployment/JaxrsScanningProcessor.java > > https://github.com/resteasy/Resteasy/blob/85862364f1464532ceb2e5227fbbb214339fd73d/jaxrs/resteasy-servlet-initializer/src/main/java/org/jboss/resteasy/plugins/servlet/ResteasyServletInitializer.java > > Hope the info is useful to you :-) > > > -- > Weinan Li / JBoss > >> On Dec 2, 2015, at 3:20 AM, Charles Moulliard <cmo...@re...> wrote: >> >> Hi, >> >> I'm currently working on Resteasy to deploy it on JBoss Fuse (= Apache Karaf OSGI container). I have been able to shade the Resteasy project in order to generate the OSGI MANIFEST file and to solve some TCCL issues like also to inject the BeanManager on OSGI but I can't use the option resteasy.scan = true >> >> Can somebody tell me where into the code of the api we scan the resources ? >> >> Regards, >> -- >> Charles Moulliard >> Principal Solution Architect / JBoss Fuse Expert - Global Enablement @redhat >> cmo...@re... | work: +31 205 65 12 84 | mobile: +32 473 604 014 >> MC-Square Business "Stockholm", Leonardo Da Vincilaan 19, Diegem 1831 - Belgium >> twitter: @cmoulliard | blog: cmoulliard.github.io >> committer: apache camel, karaf, servicemix, hawtio, fabric8, drools, jbpm, deltaspike >> ------------------------------------------------------------------------------ >> Go from Idea to Many App Stores Faster with Intel(R) XDK >> Give your users amazing mobile app experiences with Intel(R) XDK. >> Use one codebase in this all-in-one HTML5 development environment. >> Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. >> http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140_______________________________________________ >> Resteasy-developers mailing list >> Res...@li... >> https://lists.sourceforge.net/lists/listinfo/resteasy-developers |