You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Forrest_Xia <fo...@gmail.com> on 2009/07/08 09:05:59 UTC

Re: The scope and schedule for G 2.2 samples release


Jack Cai wrote:
> 
> Might want to add some simple JTA samples?
> 
> Does the new release include DayTrader?
> 
> -Jack
> 
  Yes, I've done some work on daytrader some time ago, and I will add those
daytrader to-does (as 
http://www.nabble.com/Daytrader-for-Tomcat-td22290310s134.html Joe
highlighted ) as part of this time G 2.2 samples release stuffs.

Forrest

-- 
View this message in context: http://www.nabble.com/The-scope-and-schedule-for-G-2.2-samples-release-tp24177645s134p24386489.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.


Re: The scope and schedule for G 2.2 samples release

Posted by Rex Wang <rw...@gmail.com>.
Great! FYI, I can provide you a JTA sample coz I have ever implemented one
for a ppt demo.

-Rex

2009/7/13 Forrest_Xia <fo...@gmail.com>

>
> Let me try to sort out what we will do next:
> 1. Add one sample which uses popular application framework, such as struts,
> spring.
> 2. Update and release a new version of daytrader with G 2.2 sample release
> 3. Add or update a sample to configure EJB security via annotation
> 4. Add or update a sample to demo JTA
> 5. Add a new sample to demo the support of using tomcat server.xml directly
> 6. Add a sample to demo how to build a CSA via car-maven-plugin, ActiveMQ
> server could be the sample.
> 7. Figure out a way to release JEE application ear/war balls of G samples.
> 8. Ensure G 2.1.2 samples plugins installable and functionable on G 2.2
> server.
>
> I am going to work on this list and open a JIRA to track it, and will post
> my progress to this thread from time to time. Welcome any comments!
>
> Regards, Forrest
> --
> View this message in context:
> http://www.nabble.com/The-scope-and-schedule-for-G-2.2-samples-release-tp24177645s134p24455766.html
> Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.
>
>

Re: The scope and schedule for G 2.2 samples release

Posted by Jack Cai <gr...@gmail.com>.
On Wed, Jul 15, 2009 at 2:40 PM, Forrest_Xia <fo...@gmail.com> wrote:

>
>
> djencks wrote:
> >
> > Isn't jsf pretty much a struts replacement?  I kinda thought struts
> > and struts 2 were obsolete after jsf came out.
> > Activemq broker and the apache directory plugin both show using spring
> > in geronimo, although not as end-user apps.
> >
>
> The reason I add this is that I saw user asking how-to about using
> struts/spring in geronimo for several times in the mailing list or related
> forum. So I think it might be helpful if we have a sample about it.
> For JSF, let me check if we have some available code to contribute.
>
>
If we look at the search statistics from google, we will find that struts
still gets a higher hit than JSF [1], especially in Asia.



>
> djencks wrote:
> >
> >> 4. Add or update a sample to demo JTA
> > ???  do you mean how to use UserTransaction?
> >
>
> I'm a little bit confusing here too. Cause I think there are some codes in
> daytrader using JTA. We may make it clear as progress is forward.
>
>
DayTrader is a big sample. What I suggest is a smaller and separete one.


[1]
http://www.google.com/insights/search/#cat=5&q=struts%2CJSF&date=today%2012-m&cmpt=q

-Jack

Re: The scope and schedule for G 2.2 samples release

Posted by David Jencks <da...@yahoo.com>.
On Jul 14, 2009, at 11:40 PM, Forrest_Xia wrote:

>
>
> djencks wrote:
>>
>> Isn't jsf pretty much a struts replacement?  I kinda thought struts
>> and struts 2 were obsolete after jsf came out.
>> Activemq broker and the apache directory plugin both show using  
>> spring
>> in geronimo, although not as end-user apps.
>>
>
> The reason I add this is that I saw user asking how-to about using
> struts/spring in geronimo for several times in the mailing list or  
> related
> forum. So I think it might be helpful if we have a sample about it.
> For JSF, let me check if we have some available code to contribute.
>
>
> djencks wrote:
>>
>>> 4. Add or update a sample to demo JTA
>> ???  do you mean how to use UserTransaction?
>>
>
> I'm a little bit confusing here too. Cause I think there are some  
> codes in
> daytrader using JTA. We may make it clear as progress is forward.
>
>
> djencks wrote:
>>
>> CSA?
>>
> CSA shorts for Custom Server Assembly :-)
>
>
> djencks wrote:
>>
>>> 7. Figure out a way to release JEE application ear/war balls of G
>>> samples.
>>
>> IIRC the missing bit is the geronimo plan.  I don't think there is an
>> absolute requirement that the plan be inside the javaee application.
>> So I think I would pursue this goal by seeing if we can get the car-
>> maven-plugin to deploy the processed plan as an attached artifact.
>> This will result in separate jetty and tomcat plans which I think  
>> is OK.
>>
> Can you explain more about using car-maven-plugin to deploy the  
> processed
> plan as an attached artifact? how will it work? thanks!

I haven't done this in a long time although I think the mojo that  
actually builds the car file must do something like this...

IIRC maven's project object has a method that lets you "attach" a file  
to the project, which means it will get deployed into the maven repo.   
I think we'd want to add a call to this method in the  
PlanProcessorMojo after we've completely processed the plan.

hope this helps a bit :-)
david jencks


>
>
> djencks wrote:
>>
>>> 8. Ensure G 2.1.2 samples plugins installable and functionable on G
>>> 2.2
>>> server.
>>
>> This is not possible due to the large number of class changes in
>> gbeans such as the jetty web app context gbean.
>>
> So cancel this.
>
>
> djencks wrote:
>>
>>> I am going to work on this list and open a JIRA to track it, and
>>> will post
>>> my progress to this thread from time to time. Welcome any comments!
>>
>> Great to see someone working on this!
>>
> Glad to be helpful somewhat
>
> Regards, Forrest
>
>
>
> -- 
> View this message in context: http://www.nabble.com/The-scope-and-schedule-for-G-2.2-samples-release-tp24177645s134p24492704.html
> Sent from the Apache Geronimo - Dev mailing list archive at  
> Nabble.com.
>

Re: The scope and schedule for G 2.2 samples release

Posted by Forrest_Xia <fo...@gmail.com>.

djencks wrote:
> 
> Isn't jsf pretty much a struts replacement?  I kinda thought struts  
> and struts 2 were obsolete after jsf came out.
> Activemq broker and the apache directory plugin both show using spring  
> in geronimo, although not as end-user apps.
> 

The reason I add this is that I saw user asking how-to about using
struts/spring in geronimo for several times in the mailing list or related
forum. So I think it might be helpful if we have a sample about it. 
For JSF, let me check if we have some available code to contribute.


djencks wrote:
> 
>> 4. Add or update a sample to demo JTA
> ???  do you mean how to use UserTransaction?
> 

I'm a little bit confusing here too. Cause I think there are some codes in
daytrader using JTA. We may make it clear as progress is forward.


djencks wrote:
> 
> CSA?
> 
CSA shorts for Custom Server Assembly :-)


djencks wrote:
> 
>> 7. Figure out a way to release JEE application ear/war balls of G  
>> samples.
> 
> IIRC the missing bit is the geronimo plan.  I don't think there is an  
> absolute requirement that the plan be inside the javaee application.   
> So I think I would pursue this goal by seeing if we can get the car- 
> maven-plugin to deploy the processed plan as an attached artifact.   
> This will result in separate jetty and tomcat plans which I think is OK.
> 
Can you explain more about using car-maven-plugin to deploy the processed
plan as an attached artifact? how will it work? thanks!


djencks wrote:
> 
>> 8. Ensure G 2.1.2 samples plugins installable and functionable on G  
>> 2.2
>> server.
> 
> This is not possible due to the large number of class changes in  
> gbeans such as the jetty web app context gbean.
> 
So cancel this.


djencks wrote:
> 
>> I am going to work on this list and open a JIRA to track it, and  
>> will post
>> my progress to this thread from time to time. Welcome any comments!
> 
> Great to see someone working on this!
> 
Glad to be helpful somewhat

Regards, Forrest



-- 
View this message in context: http://www.nabble.com/The-scope-and-schedule-for-G-2.2-samples-release-tp24177645s134p24492704.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.


Re: The scope and schedule for G 2.2 samples release

Posted by David Jencks <da...@yahoo.com>.
On Jul 12, 2009, at 8:30 PM, Forrest_Xia wrote:

>
> Let me try to sort out what we will do next:
> 1. Add one sample which uses popular application framework, such as  
> struts,
> spring.

Isn't jsf pretty much a struts replacement?  I kinda thought struts  
and struts 2 were obsolete after jsf came out.
Activemq broker and the apache directory plugin both show using spring  
in geronimo, although not as end-user apps.

> 2. Update and release a new version of daytrader with G 2.2 sample  
> release
> 3. Add or update a sample to configure EJB security via annotation
> 4. Add or update a sample to demo JTA
???  do you mean how to use UserTransaction?

> 5. Add a new sample to demo the support of using tomcat server.xml  
> directly
> 6. Add a sample to demo how to build a CSA via car-maven-plugin,  
> ActiveMQ
> server could be the sample.

CSA?

> 7. Figure out a way to release JEE application ear/war balls of G  
> samples.

IIRC the missing bit is the geronimo plan.  I don't think there is an  
absolute requirement that the plan be inside the javaee application.   
So I think I would pursue this goal by seeing if we can get the car- 
maven-plugin to deploy the processed plan as an attached artifact.   
This will result in separate jetty and tomcat plans which I think is OK.

> 8. Ensure G 2.1.2 samples plugins installable and functionable on G  
> 2.2
> server.

This is not possible due to the large number of class changes in  
gbeans such as the jetty web app context gbean.

>
> I am going to work on this list and open a JIRA to track it, and  
> will post
> my progress to this thread from time to time. Welcome any comments!

Great to see someone working on this!

thanks
david jencks

>
> Regards, Forrest
> -- 
> View this message in context: http://www.nabble.com/The-scope-and-schedule-for-G-2.2-samples-release-tp24177645s134p24455766.html
> Sent from the Apache Geronimo - Dev mailing list archive at  
> Nabble.com.
>

Re: The scope and schedule for G 2.2 samples release

Posted by Forrest_Xia <fo...@gmail.com>.
Let me try to sort out what we will do next:
1. Add one sample which uses popular application framework, such as struts,
spring.
2. Update and release a new version of daytrader with G 2.2 sample release
3. Add or update a sample to configure EJB security via annotation
4. Add or update a sample to demo JTA
5. Add a new sample to demo the support of using tomcat server.xml directly
6. Add a sample to demo how to build a CSA via car-maven-plugin, ActiveMQ
server could be the sample.
7. Figure out a way to release JEE application ear/war balls of G samples.
8. Ensure G 2.1.2 samples plugins installable and functionable on G 2.2
server.

I am going to work on this list and open a JIRA to track it, and will post
my progress to this thread from time to time. Welcome any comments!

Regards, Forrest
-- 
View this message in context: http://www.nabble.com/The-scope-and-schedule-for-G-2.2-samples-release-tp24177645s134p24455766.html
Sent from the Apache Geronimo - Dev mailing list archive at Nabble.com.