Hi Jack,
sorry for the delay.
See response inline ...
On 12/21/08 18:41, Captain Jack Sparrow wrote:
> Hi Judy and Wim
>
> How are you doing in last week end?
> Great thanks for your givinng me a lot of informations.
>
> To) Judy
>
>> Servlet 3.0 is in the design stage.
>>
> Aye, aye thanks.
> But I attended last webinar, I heard that can try the async suport on the GlassFish v3-Prelude-nightly-build.
> My next quaere is the sample code of async-servlet.
> The sample-code below :
>
> @WebServlet(“/foo”, asyncSupported=true) public class SimpleSample extends HttpServlet
>
> The compile error has occured at the place of "/foo".
>
You need to change
“/foo”
to
"urlPatterns=/foo"
You could have omitted "urlPatterns=" only had you not specified any
further elements (in your case: "asyncSupported").
Jan
> Is somthing wrong with my binary ? or Is somthing wrong with this code ?
>
> To Wim,
>
>> I haven't used Servlet 3.0 yet. I'm running several 2.4 servlets with
>> success on v3 however.
>>
> Well, if My trial will suceed, I give you my information.
>
>
>> http://today.java.net/pub/a/today/2008/10/14/introduction-to-servlet-3
>> .html
>>
> Thaks and I'll see this contents at soon.
>
> P.S.
> To Judy and Wim
> Now I have some informaitions below :
> https://slx.sun.com/files/servlet30-20081218.pdf
> http://weblogs.java.net/blog/mode/
>
>
>
>> -----Original Message-----
>>
>
>
>> Hi Jack,
>>
>> Servlet 3.0 is in the design stage. In the following Aquarium blog it
>> mentioned the Servlet 3.0 spec, click to get more information. Good we
>> already have you signed up to test Servlet 3.0 :-)
>>
>> More Servlet 3.0 PRD Previews: Asynch Support, Improved Servlet and
>> Filter Registration
>> <http://blogs.sun.com/theaquarium/entry/more_servlet_3_0_prd>
>>
>> Thanks,
>> Judy
>>
>> jack_spallaw wrote:
>>
>>
>>> Hi all,
>>>
>>> If anyone knows, please tell me how to use the Servlet3.0
>>>
>> with JavaEE6
>>
>>> on Glas sFish v3-Prelude.
>>>
>>> Thanks
>>> Jack
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>>
>>>
>>>
>>>
>>
>
>
>
>> Hi Jack,
>>
>> I haven't used Servlet 3.0 yet. I'm running several 2.4 servlets with
>> success on v3 however. To do so, I've put them under a separate
>> package under the war. This is not really necessary, the default
>> package should do fine but I like to keep things seperated.
>> (btw in netbeans : new -> servlet : works great as well, for
>> 2.4 that is).
>>
>> Using the JSR315 annotations I think the same applies, you just put
>> them in a new webproject, preferably under a separate package f.e
>> com.mycompany.myapp.web.servlets
>>
>> If you need and introduction to all the new features, f.e.
>> asynchronous support in 3.0, I used this page :
>>
>> http://today.java.net/pub/a/today/2008/10/14/introduction-to-s
>> ervlet-3.html
>>
>> I hope it helps.
>>
>> And of course a merry chrismas and happy new year to you to!
>>
>> Wim
>> -----Original Message-----
>> From: jack_spallaw [mailto:xbl08325_at_nifty.com]
>> Sent: donderdag 18 december 2008 21:57
>> To: quality_at_glassfish.dev.java.net
>> Subject: [Question] How to use Servlet3.0 with JavaEE6
>>
>> Hi all,
>>
>> If anyone knows, please tell me how to use the Servlet3.0 with JavaEE6
>> on Glas sFish v3-Prelude.
>>
>> Thanks
>> Jack
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
>> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>>
>>
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: quality-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: quality-help_at_glassfish.dev.java.net
>
>