another problem: I visit embedded glassfish v3 site, the download link is
dead. Please help:
site:
https://embedded-glassfish.dev.java.net/gf-embedded-api/
download link:
http://maven.dyndns.org/glassfish/org/glassfish/embedded/gf-embedded-api/
Regards,
Ken
Jeanfrancois Arcand-2 wrote:
>
> Salut,
>
> Ken--_at_newsgroupstats.hk wrote:
>> ok, embedding glassfish in my server is a solution.
>
> Good.
>
>
>>
>> What I want to do is to build a Client Server + http engine for
>> configuration.
>
> Right. That part can be handled by Grizzly.
>
>
>>
>> I have my own nio framework before but it's not running well. (Yes,
>> writing
>> nio server is not easy with standard java api), so I search from net for
>> open source nio framework. My original plan is to use one open source nio
>> framework with jetty embedded.
>>
>> I was fool by google as Grizzly is not the first ranking in the google
>> search result page (search 'nio framework' / 'non blocking server'). I
>> discover Grizzly from your blog about nio tricks and tips.
>
> Yes they picked the proper name to fool google (NIO Framework). The
> monster arrived third :-)
>
>
>
>>
>> i feel very happy that finally i found grizzly and glassfish.
>>
>> Thanks and Regards,
>
> You are welcome. Let us know if you have any issues with GF or Grizzly.
>
> A+
>
> -- Jeanfrancois
>
>
>> Ken
>>
>>
>> Ken--_at_newsgroupstats.hk wrote:
>>> Thanks for your quick response.
>>>
>>> any tutorial on adding servlet engine to Grizzly? Acutally I add an http
>>> interface for web administration only. Just like config your router by
>>> IE.
>>>
>>>
>>>
>>> Jeanfrancois Arcand-2 wrote:
>>>>
>>>>
>>>> Ken--_at_newsgroupstats.hk wrote:
>>>>> Is GlassFish V3 too heavy for me?
>>>> No that's the goal of v3. Really lightweight app server. The only
>>>> problem you might found is the size of the v3 bundle (we are working on
>>>> reducing that one).
>>>>
>>>> What I want to do is to embed an http
>>>>> server in client server (Grizzly) with jsp supportted. Coding jsp is
>>>>> much
>>>>> easier than servlet.
>>>> Agree, but under the hood you need a Servlet Container in order to be
>>>> able to run JSP.
>>>>
>>>> Let me know if v3 is too heavy...we can think of a solution by using
>>>> glassfish v2 WebServer + grizzly.
>>>>
>>>> Thanks
>>>>
>>>> -- Jeanfrancois
>>>>
>>>>
>>>>
>>>>>
>>>>> Jeanfrancois Arcand-2 wrote:
>>>>>> Hi Ken,
>>>>>>
>>>>>> Ken--_at_newsgroupstats.hk wrote:
>>>>>>> Thanks.
>>>>>>>
>>>>>>> I will build my client server by grizzly and embedd http engine for
>>>>>>> web
>>>>>>> administration.
>>>>>>>
>>>>>>> so my question is:
>>>>>>>
>>>>>>> how to call my webapps (struts / jsp) in grizzly http engine?
>>>>>> I see :-) Grizzly http-servlet isn't supporting JSP. So you gonna
>>>>>> need
>>>>>> to use a full Servlet Container to do that, like GlassFish.
>>>>>> Fortunately
>>>>>> for you, GlassFish v3 can be embedded:
>>>>>>
>>>>>> http://weblogs.java.net/blog/kohsuke/archive/2008/04/glassfish_v3_ju.html
>>>>>>
>>>>>> Are you also extending Grizzly or using it as it is? Because in
>>>>>> GlassFish v3, under the hood you have the same Grizzly as the one you
>>>>>> are looking at.
>>>>>>
>>>>>> Thanks
>>>>>>
>>>>>> - Jeanfrancois
>>>>>>
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Jeanfrancois Arcand-2 wrote:
>>>>>>>> Hi Ken,
>>>>>>>>
>>>>>>>>> Usage: com.sun.grizzly.standalone.servlet.ServletLauncher
>>>>>>>>> [options]
>>>>>>>>> Servlet_Classname
>>>>>>>>>
>>>>>>>>> -p, --port=port Runs Servlet on the specified
>>>>>>>>> port.
>>>>>>>>> Default: 8080
>>>>>>>>> -a, --apps=application path The Servlet folder or jar or
>>>>>>>>> war
>>>>>>>>> location.
>>>>>>>>> Default: .
>>>>>>>>> -h, --help Show this help message.
>>>>>>>> So you need to do something like:
>>>>>>>>
>>>>>>>> java -jar grizzly-servlet-webserver-1.7-SNAPSHOT.jar -p 8080 -a
>>>>>>>> myServlet.war com.sun.test.myServlet
>>>>>>>>
>>>>>>>> Since this module doesn't (yet) have full deployment support, you
>>>>>>>> need
>>>>>>>> to tell Grizzly which Servlet class it needs to instantiate. From
>>>>>>>> above,
>>>>>>>> my Servlet class name is com.sun.test.myServlet.
>>>>>>>>
>>>>>>>> Try it and let us know.
>>>>>>>>
>>>>>>>> Thanks
>>>>>>>>
>>>>>>>> -- Jeanfrancois
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> Ken--_at_newsgroupstats.hk wrote:
>>>>>>>>> java -jar grizzly-servlet-webserver-1.7.3.3.jar -p 8080 -a
>>>>>>>>> d:\jakarta-tomcat\webapps\mywebapps
>>>>>>>>>
>>>>>>>>> it show class not found exception
>>>>>>>>>
>>>>>>>>>
>>>>>>>> ---------------------------------------------------------------------
>>>>>>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>>>>>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>> ---------------------------------------------------------------------
>>>>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>>>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>>>>
>>>>>>
>>>>>>
>>>> ---------------------------------------------------------------------
>>>> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
>>>> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>>>>
>>>>
>>>>
>>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_grizzly.dev.java.net
> For additional commands, e-mail: users-help_at_grizzly.dev.java.net
>
>
>
--
View this message in context: http://www.nabble.com/How-to-run-my-webapps-by-Grizzly-Servlet-Launcher-HTTP-Engine--tp17398515p17444436.html
Sent from the Grizzly - Users mailing list archive at Nabble.com.