|
From: Solomon D. <sd...@gm...> - 2008-11-17 15:57:29
|
Is beta 9 out? Will it be out soon? What else needs to be done? -Solomon |
|
From: Bill B. <bb...@re...> - 2008-11-17 16:46:34
|
today or wednesday... Just an example Spring MVC would be cool...We're good though. TCK work starts next. Solomon Duskis wrote: > Is beta 9 out? Will it be out soon? What else needs to be done? > > -Solomon > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Resteasy-developers mailing list > Res...@li... > https://lists.sourceforge.net/lists/listinfo/resteasy-developers -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Solomon D. <sd...@gm...> - 2008-11-17 16:59:48
|
Would it be ok if I updated the spring-hibernate-contacts-services module with a JSP example? -Solomon On Mon, Nov 17, 2008 at 11:46 AM, Bill Burke <bb...@re...> wrote: > today or wednesday... > > Just an example Spring MVC would be cool...We're good though. TCK work > starts next. > > Solomon Duskis wrote: >> >> Is beta 9 out? Will it be out soon? What else needs to be done? >> >> -Solomon >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Resteasy-developers mailing list >> Res...@li... >> https://lists.sourceforge.net/lists/listinfo/resteasy-developers > > -- > Bill Burke > JBoss, a division of Red Hat > http://bill.burkecentral.com > |
|
From: Bill B. <bb...@re...> - 2008-11-17 17:37:04
|
Yeah sure. Solomon Duskis wrote: > Would it be ok if I updated the spring-hibernate-contacts-services > module with a JSP example? > > -Solomon > > On Mon, Nov 17, 2008 at 11:46 AM, Bill Burke <bb...@re...> wrote: >> today or wednesday... >> >> Just an example Spring MVC would be cool...We're good though. TCK work >> starts next. >> >> Solomon Duskis wrote: >>> Is beta 9 out? Will it be out soon? What else needs to be done? >>> >>> -Solomon >>> >>> >>> ------------------------------------------------------------------------ >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> >>> >>> ------------------------------------------------------------------------ >>> >>> _______________________________________________ >>> Resteasy-developers mailing list >>> Res...@li... >>> https://lists.sourceforge.net/lists/listinfo/resteasy-developers >> -- >> Bill Burke >> JBoss, a division of Red Hat >> http://bill.burkecentral.com >> -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Bill B. <bb...@re...> - 2008-11-17 23:38:31
|
Actually, I'd rather have a *copy* of the Spring example that does the JSP/MVC stuff. The current Spring example is simple and easy to configure and no extra moving parts. Bill Burke wrote: > today or wednesday... > > Just an example Spring MVC would be cool...We're good though. TCK work > starts next. > > Solomon Duskis wrote: >> Is beta 9 out? Will it be out soon? What else needs to be done? >> >> -Solomon >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> Resteasy-developers mailing list >> Res...@li... >> https://lists.sourceforge.net/lists/listinfo/resteasy-developers > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com |
|
From: Solomon D. <sd...@gm...> - 2008-11-19 02:53:14
|
I definitely don't mind making a copy. It took me a while, but I finally
got it up and running. It was mostly trying to figure out why my c:forEach
JSTL wasn't working... turned out to be a jetty version issue.
The Code changes I need to make are as follows:
1. web.xml: replace ResteasyBootrap + SpringContextLoaderListener +
HttpServletDispatcher with Spring's DispatcherServlet
(servlet-name=Resteasy).
2. rename application.xml to Resteasy-servlet.xml
3. add in <import resource="classpath:spring-webmvc.xml" /> in
Resteasy-servlet.xml
4. add a couple methods in ContactServiceImpl that return Spring's
ModelAndView. for example new
ModelAndView("/WEB-INF/contacts.jsp").addObject("allContacts",
dao.findAllContacts);
5. create the /WEB-INF/contacts.jsp.
I have that all done, but the jsp looks bad, but gets the point across.
Should I create a whole new project, or just add a 'springweb-mvc-service'
module to the current spring-hibernate-contacts project?
<rant, ignore if you want>
With that said, the purpose of any IoC engine is to the object management
process easier or at least more consistent. Using ResteasyBootrap +
SpringContextLoaderListener + HttpServletDispatcher works, but it's not as
consistent as a purely Spring managed application (which you see in #1 only
consists of Spring's DispatcherServlet rather than the 3 Resteasy classes).
There are settings in ResteasyBootrap used for managing the creation and
life cycle of objects that are not allowed with SpringContextLoaderListener.
Also, there are quite a few objects that are managed outside of spring,
namely the registry and the dispatcher which leads to some issues when you
want to do more advanced Spring configuration.
</rant>
-Solomon
On Mon, Nov 17, 2008 at 6:38 PM, Bill Burke <bb...@re...> wrote:
> Actually, I'd rather have a *copy* of the Spring example that does the
> JSP/MVC stuff. The current Spring example is simple and easy to
configure
> and no extra moving parts.
>
> Bill Burke wrote:
>>
>> today or wednesday...
>>
>> Just an example Spring MVC would be cool...We're good though. TCK work
>> starts next.
>>
>> Solomon Duskis wrote:
>>>
>>> Is beta 9 out? Will it be out soon? What else needs to be done?
>>>
>>> -Solomon
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>>
-------------------------------------------------------------------------
>>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>>> challenge
>>> Build the coolest Linux based applications with Moblin SDK & win great
>>> prizes
>>> Grand prize is a trip for two to an Open Source event anywhere in the
>>> world
>>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>>>
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Resteasy-developers mailing list
>>> Res...@li...
>>> https://lists.sourceforge.net/lists/listinfo/resteasy-developers
>>
>
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
>
|