RE: [ANN] JAVAWUG BOF XVII / Friday 28th April 2006 @ 19:00 / Ora cle City of London

2006-04-20 Thread Pilgrim, Peter
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Behalf Of Peter Pilgrim

====

 
 Dear All
 
 The JAVAWUG (Java Web User Group) has rescheduled the BOF 
 XVIII (Number 
 17) from Thursday 20th April to now Friday 20th April 2006.


 +
This should have said+  Friday, 28th April 2006  +
 +


 
 The birds-of-feather will still take place at the same venue, 
 Oracle's 
 City of London office between 7-9:30 pm. The presentations are and
 the confirmed speakers are:
 
 
   Prashanth, S.
   ``J2EE: Security on Websphere''
 
   Peter Pilgrim
  ``Experiences With WebWork''
 

We now have a third volunter speaker:

Mark Burton
``JavaServer Faces: An Overview''


This is a free event.

 Afterwards members can retire to the nearby the ``All Bar One''
 pub/restaurant for more in depth discussion dinner,
 food and drink ...
 
 The address is:
  Oracle City Of London
  One South Place
  London,
  England
  EC2M 2RB.
 
 
  If you would like to attend, please REGISTER so that you can
  be added to the SECURITY DETAIL
 
  Join the http://groups.google.com/group/javawug JAVAWUG at 
 Google Groups
  and ``Send an Email to the list you are attending''
 
  Alternatively send mail to myself at peter dot pilgrim at 
 credit-suisse.com
  and duncan dot mills at oracle.com
 
  Here is some relevant travel information:
 
  By Underground: -
  Moorgate: Take the Moorgate East exit, turn right, 
 one block to South
  Place.
  Bank: Take the Northern line to Moorgate.
  Liverpool Street: Take the Broadgate exit, turn 
 right onto South Place
 
 
  Map: 
 http://www.oracle.com/global/uk/corporate/locations/citymap.html
 
  The venue has graciously been organised by Duncan Mills of 
 Oracle Corp.
  We all appreciate this generous gift.
 
  http://www.javawug.com/
 
  http://jroller.com/page/peter_pilgrim
 
  PS: The presentations will be recorded and I hope to 
 upload them all
  Google Video Site. search against JAVAWUG for the last 
 video uploads.
 
 ====
====

--
Peter Pilgrim
Organiser / Founder   ( JAVAWUG  
http://developers.sun.com/jugs/display/europe/gbr/london )
 
   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )   
   )_)(  )\  )_)( ((_)()\ ))\(()/(   
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_ 
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
=

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] JAVAWUG BOF XVII / Thursday 20th April 2006 @ 19:00 / Oracl e City of London

2006-04-04 Thread Pilgrim, Peter

Dear All

I would like to formally announce that JAVAWUG (Java Web User Group) 
is holding the seventeenth Birds-of-Feather (Meet up XVII) at the 
Oracle City of London offices on Thursday, 20th April 2006.

The meeting will take place in a room with Audio/Visual facilities
between 7-9:30 pm. There will be a series of presentations, Quickies,
inspired by the JavaPolis short presentation format.

The confirmed speakers are:

Prashanth, S.
``J2EE: Security on Websphere''

Peter Pilgrim
``Experiences With WebWork''



Afterwards members can retire to the nearby the ``All Bar One'' 
pub/restaurant for more in depth discussion dinner, 
food and drink ...

The address is:
Oracle City Of London
One South Place
London,
England
EC2M 2RB.


If you would like to attend, please REGISTER so that you can
be added to the SECURITY DETAIL

Join the http://groups.google.com/group/javawug JAVAWUG at Google Groups
and ``Send an Email to the list you are attending'' 

Alternatively send mail to myself at peter dot pilgrim at credit-suisse.com 
and duncan dot mills at oracle.com

Here is some relevant travel information: 

By Underground: -
Moorgate: Take the Moorgate East exit, turn right, one block to South 
Place.
Bank: Take the Northern line to Moorgate.
Liverpool Street: Take the Broadgate exit, turn right onto South Place


Map: http://www.oracle.com/global/uk/corporate/locations/citymap.html 

The venue has graciously been organised by Duncan Mills of Oracle Corp. 
We all appreciate this generous gift. 

http://www.javawug.com/

http://jroller.com/page/peter_pilgrim

PS: The presentations will be recorded and I hope to upload them all
Google Video Site. search against JAVAWUG for the last video uploads.



--
Peter Pilgrim :: J2EE Software Development  Architecture
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] JAVAWUG BOF XVI / Friday 3rd March 2006 @ 19:00 / Oracle Ci ty of London

2006-03-16 Thread Pilgrim, Peter
Dear All

I would like to formally announce that JAVAWUG (Java Web User Group) 
is holding the sixteenth Birds-of-Feather (Meet up XVI) at the 
Oracle City of London offices on Friday, 17th March 2006.

The meeting will take place in a room with Audio/Visual facilities
between 7-9:30 pm. There will be a series of presentations, Quickies,
inspired by the JavaPolis short presentation format.

The confirmed speakers are:

Phil Zoio
``Struts Java 5 Extension Framework''
(special guest speaker)

Emmanuel Okeyere
``Spring into RIFE Framework Continued''

Peter Pilgrim
``WebWork Quickie Experiences''

There will be probably be one additional speaking slot by Duncan Mills

*
   S TO P   P R E S S 
*
After providing the key note and presentations at JAVA UK 06 in London.
Craig McClanahan plans to attend on Friday night.


Afterwards members can retire to the nearby the ``All Bar One'' 
pub/restaurant for more in depth discussion dinner, 
food and drink ...

The address is:
Oracle City Of London
One South Place
London,
England
EC2M 2RB.

If you would like to attend 

Join the http://groups.google.com/group/javawug JAVAWUG at Google Groups
and ``Send a mail to the list you are attending'' 


Send mail to myself at peter dot pilgrim at credit-suisse.com 
and duncan dot mills at oracle.com

Here is some relevant travel information: 

By Underground: -
Moorgate: Take the Moorgate East exit, turn right, one block to South 
Place.
Bank: Take the Northern line to Moorgate.
Liverpool Street: Take the Broadgate exit, turn right onto South Place


Map: http://www.oracle.com/global/uk/corporate/locations/citymap.html 

The venue has graciously been organised by Duncan Mills of Oracle Corp. 
We all appreciate this generous gift. 

http://www.javawug.com/

http://jroller.com/page/peter_pilgrim

PS: The presentations will be recorded and I hope to upload them all
Google Video Site. search against JAVAWUG for the last video uploads.


--
Peter Pilgrim :: J2EE Software Development  Architecture
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] JAVAWUG BOF XVI / Friday 3rd March 2006 @ 19:00 / Oracle Ci ty of London

2006-03-09 Thread Pilgrim, Peter
Dear All

I would like to formally announce that JAVAWUG (Java Web User Group) 
is holding the sixteenth Birds-of-Feather (Meet up XVI) at the 
Oracle City of London offices on Friday, 17th March 2006.

The meeting will take place in a room with Audio/Visual facilities
between 7-9:30 pm. There will be a series of presentations, Quickies,
inspired by the JavaPolis short presentation format.

The confirmed speakers are:

Phil Zoio
``Struts Java 5 Extension Framework''
(special guest speaker)


Emmanuel Okeyere
``Spring into RIFE Framework Continued''

Peter Pilgrim
``WebWork Quickie Experiences''

There will be probably be one additional speaking slot by Duncan Mills

Afterwards members can retire to the nearby the ``All Bar One'' 
pub/restaurant for more in depth discussion dinner, 
food and drink ...

The address is:
Oracle City Of London
One South Place
London,
England
EC2M 2RB.

If you would like to attend 

Join the http://groups.google.com/group/javawug JAVAWUG at Google Groups
and ``Send a mail to the list you are attending'' 


Send mail to myself at peter dot pilgrim at credit-suisse.com 
and duncan dot mills at oracle.com

Here is some relevant travel information: 

By Underground: -
Moorgate: Take the Moorgate East exit, turn right, one block to South 
Place.
Bank: Take the Northern line to Moorgate.
Liverpool Street: Take the Broadgate exit, turn right onto South Place


Map: http://www.oracle.com/global/uk/corporate/locations/citymap.html 

The venue has graciously been organised by Duncan Mills of Oracle Corp. 
We all appreciate this generous gift. 

http://www.javawug.com/

http://jroller.com/page/peter_pilgrim

PS: The presentations will be recorded and I hope to upload them all
Google Video Site. search against JAVAWUG for the last video uploads.


--
Peter Pilgrim :: J2EE Software Development  Architecture
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] JAVAWUG BOF XV Video Presentations Now Available [was updat e]

2006-03-02 Thread Pilgrim, Peter
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Behalf Of Pilgrim, Peter
 Sent: Monday, February 27, 2006 1:50 PM

====

Hi

I am very proud to announce that three video presentations are 
now downloadable from Google Video Beta sites. These presentations 
were recorded on our fifteenth Java Web User Group meet-up that
took place at Oracle's City of London offices on Friday, 3rd
February 2006.


(*) JAVAWUG BOF XV Part I : My Experiences with AJAX by Peter Pilgrim
http://video.google.com/videoplay?docid=1575359224165450225


(*) JAVAWUG BOF XV Part II : JSF Security by Duncan Mills, Oracle
http://video.google.com/videoplay?docid=-8202568827072126200


(*) JAVAWUG BOF XV Part III: Spring Into The Rife Framework Emmanuel 
Okyere
http://video.google.com/videoplay?docid=-6431749968960182884


You can find the presentation slides for all three from the group blog
page here:


http://jroller.com/page/javawug?entry=updated_new_presentation_slides_for

Also check here

http://jroller.com/page/javawug?entry=editor_s_report_of_bof


PS: There two more attempts at a Google Video upload with better 
XVID quantisation factor (3.0) currently being verified by the
search engine. These are part I and part III video files. 
Please check back with the Google Video in a couple days.

 
 
 Hi All
 
 Here is an update of the status. 
 
 I have uploaded all three videos for each of the speakers 
 to Google Videos ( http://video.google.com)
 They are all in the verification stage at the moment.
 I will let you know when I know that they are accepted and
 deliverable.
 
 FYI: You will need a XVID codec. 
 Get one from here http://www.xvidmovies.com/codec/ 
 or here for Linux http://www.xvid.org/
 

Send comments and suggestions to peter dot pilgrim at credit-suisse.com
http://jroller.com/page/peter_pilgrim

--
Peter Pilgrim
Organiser / Founder   ( JAVAWUG  
http://developers.sun.com/jugs/display/europe/gbr/london )
 
   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )   
   )_)(  )\  )_)( ((_)()\ ))\(()/(   
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_ 
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
=
We're alright!

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Action Oriented Framework Rendering Mode

2006-02-22 Thread Pilgrim, Peter
See intermixed

 -Original Message-
 From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 21, 2006 7:02 PM
 To: Struts Users Mailing List
 Subject: Re: Action Oriented Framework Rendering Mode
 
 
 On 2/21/06, Pilgrim, Peter [EMAIL PROTECTED] wrote:
   I have a requirement to possibly build a new web application to
   support portlets and also be displayable in a standard Java EE
   webapp server in the future.
 
 Do you mean any portlets or JSR-168 portlets?
 
Actually I am unsure of the portlet world.
I believe the target server is going to be a Weblogic Portal server.
So I am assuming it will be JSR 168 portlets.
Does this make a huge difference?

   Basically it looks like the web application has to
   support two view styles.
   
   One style is the classical Tiles and regionalisation of the
   JSP view. For instance you would have a corporate header,
   footer, a navigation menu and a content area. This is something
   that every web developer like myself has done over the
   last five years.
 
   The other style is to chuck all the extra tiles stuff away like
   the header, portal and menu system. For the portlet view
   just render the content region. The content
   view is the same as it would with the Tiles regions.
 
   I have called this a ``style'', but now I come to think
   of it ought to be called a ``mode'' as in mode of (render)
   employment.
   
   Thoughts are most welcome, even from the 
 Component-oriented people.
   
 
  Any more ideas more than welcomed.
 
 How about this as food for thought: http://jspcontrols.sourceforge.net
 

From the book WebWork in Action, I believe Webwork can implement 
some aspect of a page controller methodolody, by using the
ww:action tag inside a JSP. In this way a WW action can
render a portion of the view. What I dont know is if you can
use the ww:action tag to render AJAX components i.e.
AJAX styled box out or dependency list drop downs.

BTW: The JSP Control live examples look nice.

Thanks

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Action Oriented Framework Rendering Mode

2006-02-22 Thread Pilgrim, Peter

see intermixed

 -Original Message-
 From: Ian Roughley [mailto:[EMAIL PROTECTED]
====
 
 
 The ww:action is not used for AJAX interactions with the 
 server.  There 

Ok that is cool to know.

 are several UI widgets that can be AJAX enabled - the one you 
 would be 
 looking for is the remote DIV.  But, this would be most helpful in a 
 webwork application to make it portlet-like, not sure how it 
 would help 
 when deployed into another porlet container.
 
Yep you are right. The AJAX request has to asynchronously make
it through the portlet container/server to the target web application.

Oh, I suppose we could make the portlet a read-only one for the initial
phase. In other words we could come that decision when and if we
ever get there.

 /Ian
 
 -- 
 From Down  Around, Inc.
 Innovative IT Solutions
 Software Architecture * Design * Development
 ~
 web:  www.fdar.com  
 email [EMAIL PROTECTED]  
 phone:617.821.5430
 ~
 
 
 
 Pilgrim, Peter wrote:
 
 See intermixed
 
   
 
 -Original Message-
 From: Michael Jouravlev [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 21, 2006 7:02 PM
 To: Struts Users Mailing List
 Subject: Re: Action Oriented Framework Rendering Mode
 
 
 On 2/21/06, Pilgrim, Peter [EMAIL PROTECTED] wrote:
 
 
 I have a requirement to possibly build a new web application to
 support portlets and also be displayable in a standard Java EE
 webapp server in the future.
   
 
 Do you mean any portlets or JSR-168 portlets?
 
 
 
 Actually I am unsure of the portlet world.
 I believe the target server is going to be a Weblogic Portal server.
 So I am assuming it will be JSR 168 portlets.
 Does this make a huge difference?
 
   
 
 Basically it looks like the web application has to
 support two view styles.
 
 One style is the classical Tiles and regionalisation of the
 JSP view. For instance you would have a corporate header,
 footer, a navigation menu and a content area. This is something
 that every web developer like myself has done over the
 last five years.
   
 
 The other style is to chuck all the extra tiles stuff away like
 the header, portal and menu system. For the portlet view
 just render the content region. The content

 view is the same as it would with the Tiles regions.
   
 
 I have called this a ``style'', but now I come to think
 of it ought to be called a ``mode'' as in mode of (render)
 employment.
 
 Thoughts are most welcome, even from the 
   
 
 Component-oriented people.
 
 
 Any more ideas more than welcomed.
   
 
 How about this as food for thought: 
http://jspcontrols.sourceforge.net




From the book WebWork in Action, I believe Webwork can implement 
some aspect of a page controller methodolody, by using the
ww:action tag inside a JSP. In this way a WW action can
render a portion of the view. What I dont know is if you can
use the ww:action tag to render AJAX components i.e.
AJAX styled box out or dependency list drop downs.

BTW: The JSP Control live examples look nice.

Thanks

--
Peter Pilgrim :: J2EE Software Development  Architecture
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Action Oriented Framework Rendering Mode

2006-02-21 Thread Pilgrim, Peter

Hi All

What is the state of play with WebWork / Struts Action 2.0?

I am trying to come up with a design / architecture / proposal
for a new aspect of an enterprise project.

I have been reading the WebWork in Action book, and I have come
to the conclusion that it is best to start a brand Action-Oriented 
framework using WebWork 2.2. I found the design decisions in the
book to really solid, and not fanciful. Especially like the
decision to use OGNL as the EL. 

I have a requirement to possibly build a new web application to 
support portlets and also be displayable in a standard Java EE
webapp server in the future. Does WebWork 2.2 support portlets? 

Basically it looks like the web application has to 
support two view styles. 

One style is the classical Tiles and regionalisation of the 
JSP view. For instance you would have a corporate header, 
footer, a navigation menu and a content area. This is something
that every web developer like myself has done over the
last five years.

The other style is to chuck all the extra tiles stuff away like
the header, portal and menu system. For the portlet view 
just render the content region. The content 
view is the same as it would with the Tiles regions.

What I want to know is this architecturally possible to
develop with WebWork now or is this on the book of work
to do?

I have called this a ``style'', but now I come to think
of it ought to be called a ``mode'' as in mode of (render)
employment.

Thoughts are most welcome, even from the Component-oriented people.

Thanks in advance


--
Peter Pilgrim :: J2EE Software Development  Architecture
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Action Oriented Framework Rendering Mode

2006-02-21 Thread Pilgrim, Peter
See inter mixed

 -Original Message-
 From: Ian Roughley [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, February 21, 2006 3:58 PM
 To: Struts Users Mailing List
 Subject: Re: Action Oriented Framework Rendering Mode
 
 
 below.
 
 /Ian
 
 -- 
 From Down  Around, Inc.
 Innovative IT Solutions
 Software Architecture * Design * Development
 ~
 web:  www.fdar.com  
 email [EMAIL PROTECTED]  
 phone:617.821.5430
 ~
 
 
 
 Pilgrim, Peter wrote:
 
 Hi All
 
 What is the state of play with WebWork / Struts Action 2.0?
 
 I am trying to come up with a design / architecture / proposal
 for a new aspect of an enterprise project.
 
 I have been reading the WebWork in Action book, and I have come
 to the conclusion that it is best to start a brand Action-Oriented 
 framework using WebWork 2.2. I found the design decisions in the
 book to really solid, and not fanciful. Especially like the
 decision to use OGNL as the EL. 
 
 I have a requirement to possibly build a new web application to 
 support portlets and also be displayable in a standard Java EE
 webapp server in the future. Does WebWork 2.2 support portlets? 
 
   
 
 Yes - action can be used as portlets in various web 
 containers.  This is 
 realitively new, so check the wiki at wiki.opensymphony.com for the 
 latest information.
 

Great Webwork can support portlets, and of course from the book it
can easily divorce itself from PortletRequest and PortletResponse
interfaces!

 Basically it looks like the web application has to 
 support two view styles. 
 
 One style is the classical Tiles and regionalisation of the 
 JSP view. For instance you would have a corporate header, 
 footer, a navigation menu and a content area. This is something
 that every web developer like myself has done over the
 last five years.
 
 The other style is to chuck all the extra tiles stuff away like
 the header, portal and menu system. For the portlet view 
 just render the content region. The content 
 view is the same as it would with the Tiles regions.
 
 What I want to know is this architecturally possible to
 develop with WebWork now or is this on the book of work
 to do?
   
 
 I'm not a tiles expert, so I can't help you there.  But using 
 sitemesh, 
 I believe you can specify a URL parameter that sitemesh can 
 interpet and 
 change the decoration of the page to a plain / non-decorated look.  
 Alternatively, you could provide a secondary mapping in the 
 configuration files for the portlet view - this would be good 
 for if the 
 portlets are a subset, otherwise it may be alot of work.
 

Tiles is the wrong way to go for a filtered look. I will
look at SiteMesh. I am sure I have a big old Red Wrox Book with
a chapter on SiteMesh. JSP Site Design? is the probable title
and rings a bell with me. 

Cheers

 I have called this a ``style'', but now I come to think
 of it ought to be called a ``mode'' as in mode of (render)
 employment.
 
 Thoughts are most welcome, even from the Component-oriented people.
 

Any more ideas more than welcomed.

 Thanks in advance
 

--
Peter Pilgrim :: J2EE Software Development  Architecture
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[test] ignore

2006-02-10 Thread Pilgrim, Peter
Testing using Micro$oft Outlock 200 sp3

I seem to be have problems with my mail sent to google group sent as 7bit  
character set. Just want to prove that apache and sourceforge dont
have to the problem, and eliminate these providers.

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] Slides Available JAVAWUG BOF XV

2006-02-10 Thread Pilgrim, Peter
Hi All

Very quickly, we recently held the JAVAWUG (Java Web User Group) BOF XV
at Oracle City of London. Slides are available from here.
http://jroller.com/page/javawug?entry=updated_new_presentation_slides_for

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] WebWork 2.2.1: Released and Ready for Struts!

2006-02-07 Thread Pilgrim, Peter

Ted

Congratulations

You due to teach a course in the UK, but I see it was canceled
with James Holmes has taking over the spot.
Are you coming over to the UK in the future anyway?
I know you wanted to come to JAVAWUG meet up.

 -Original Message-
 From: Ted Husted [mailto:[EMAIL PROTECTED]
====
 See
 * 
 http://blogs.opensymphony.com/webwork/2006/02/webwork_221_rele
 ased.html
 
 A companion release of XWork 1.1 is also available
 * http://forums.opensymphony.com/thread.jspa?threadID=16919tstart=0
 
====

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] FINAL CALL: Java Web User Group / BOF XV / Oracle City of L ondon / Friday 3rd February 2006 @ 19:00

2006-02-02 Thread Pilgrim, Peter

 THIS IS THE FINAL CALL


Dear All

I would like to formally announce that JAVAWUG (Java Web User Group) 
is holding the fifteenth Birds-of-Feather (Meet up) at the 
``Oracle City of London'' offices on Friday, 3rd January 2006.

The meeting will take place in a room with Audio/Visual facilities
between 7-9:30 pm. There will be a series of presentations, Quickies,
inspired by the JavaPolis short presentation format.

The confirmed speakers, in alphabetically order, are:


Duncan Mills
``Java ServerFaces Security''

Emmanuel Okeyere
``RIFE framework''

Peter Pilgrim
``Experiences with AJAX''




Afterwards members can retire to the nearby ``Red Lion'' pub or 
the ``All Bar One'' pub/restaurant for more in depth 
discussion dinner, food and drink ...

The address is:
Oracle City Of London
One South Place
London,
England
EC2M 2RB.

If you would like to attend 

1) Join the JAVAWUG at Google Groups 
http://groups.google.com/group/javawug/manage_members
Send a mail to the list you are attending.
2) Send mail directly to `` duncan dot mills at oracle.com ''
or to me `` peter dot pilgrim at credit-suisse.com ''

Here is some relevant travel information 

By Underground: -

Moorgate: Take the Moorgate East exit, turn right, one block to South 
Place.
Bank: Take the Northern line to Moorgate.
Liverpool Street: Take the Broadgate exit, turn right onto South Place

Map: http://www.oracle.com/global/uk/corporate/locations/citymap.html


The venue has graciously been organised by Duncan Mills of Oracle. 
We all appreciate this generous gift. 

http://www.javawug.com/

http://jroller.com/page/peter_pilgrim

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] Java Web User Group / BOF XV / Oracle City of London / Frid ay 3rd February 2006 @ 19:00

2006-01-25 Thread Pilgrim, Peter
Dear All

I would like to formally announce that JAVAWUG (Java Web User Group) 
is holding the fifteenth Birds-of-Feather (Meet up) at the 
``Oracle City of London'' offices on Friday, 3rd January 2006.

The meeting will take place in a room with Audio/Visual facilities
between 7-9:30 pm. There will be a series of presentations, Quickies,
inspired by the JavaPolis short presentation format.

The confirmed speakers, in alphabetically order, are:


Duncan Mills
``Java ServerFaces Security''

Emmanuel Okeyere
``RIFE framework''

Peter Pilgrim
``Experiences with AJAX''




Afterwards members can retire to the nearby ``Red Lion'' pub or 
the ``All Bar One'' pub/restaurant for more in depth 
discussion dinner, food and drink ...

The address is:
Oracle City Of London
One South Place
London,
England
EC2M 2RB.

If you would like to attend 

1) Join the JAVAWUG at Google Groups 
http://groups.google.com/group/javawug/manage_members
Send a mail to the list you are attending.
2) Send mail to myself or duncan dot mills at oracle.com 


Here is some relevant travel information 

By Underground: -

Moorgate: Take the Moorgate East exit, turn right, one block to South 
Place.
Bank: Take the Northern line to Moorgate.
Liverpool Street: Take the Broadgate exit, turn right onto South Place

Map: http://www.oracle.com/global/uk/corporate/locations/citymap.html


The venue has graciously been organised by Duncan Mills of Oracle. 
We all appreciate this generous gift. 

http://www.javawug.com/

http://jroller.com/page/peter_pilgrim

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse Group - One Bank,
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
 peter dot pilgrim at credit-suisse.com 


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.credit-suisse.com/legal/en/disclaimer_email_ib.html
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] JavaWebParts and Struts / Ajax integration

2006-01-06 Thread Pilgrim, Peter

Hi Frank 


 -Original Message-
 From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
==== 
 
 Peter A. Pilgrim wrote:
  Well that ok because I am now official on holiday (vacation ;-)
 
 As am I :)  I have plenty of work to do at home though!
 

I am back from vacation, and I solved the issue with taglibs. I had to
downgrade the taglib DTD version from 1.2 to 1.1 for some reason,
and the application deployed to WebLogic 8.1

I have a couple of questons. I am getting a 404 because the target URL
in the Ajax JavaScript is wrong. How do I set the right target and make
it context relative? E.g. the web context is `asds'

Weblogic access.log

127.0.0.1 - auth1 [06/Jan/2006:17:26:12 +] GET 
/asds/secured/typeAheadSuggestions?enteredText=peassureUnique=2 HTTP/1.1 404 
14169 
127.0.0.1 - auth1 [06/Jan/2006:17:26:15 +] GET 
/asds/secured/typeAheadSuggestions?enteredText=petassureUnique=3 HTTP/1.1 404 
14169 
127.0.0.1 - auth1 [06/Jan/2006:17:26:18 +] GET 
/asds/secured/typeAheadSuggestions?enteredText=peteassureUnique=4 HTTP/1.1 
404 14169 


My ajax_config.xml is

ajaxConfig
  !-- Define a single form. --
form ajaxRef=ContactDetailsForm
  !-- Only the textbox is Ajax-enabled. --
element ajaxRef=enteredTextChange
  !-- Any time a key is pressed (released actually), fire an event. --
event type=onkeyup
  !-- Just going to submit a simple query string with a single --
  !-- parameter, enteredText, that will take the value of the --
  !-- enteredTextbox element of the form. --
requestHandler type=std:QueryString method=get
targettypeAheadSuggestions/target

parameterenteredText=search.contact.contactName/parameter
/requestHandler
!-- When we get back, just insert the returned results into 
the --
!-- div named suggestions on the page, which contains the --
!-- matching suggestions. --
responseHandler type=std:InnerHTML

parametersearch_contact_contactName_suggestions/parameter
/responseHandler
/event
/element
/form
/ajaxConfig

Assuming I get this working for one control. How do expand this example so that
it support multiple fields submit to the same suggestion servlet?

Thanks in advance

  Ok that makes sense then. Maybe when people switch Maven 2 then this
  dependency issues can be worked out.
 
 Maybe.  I know *I* won't be switching to Maven any time soon, 
 1 *or* 2. 
   Ant still serves my purposes just fine (did you notice the 
 dependencies task in the JWP script?  Ironic that it uses the Maven 
 repository!)
 
 Even with Maven, it would still be an external dependency 
 though... if 
 someone uses JWP in their project, they would still need to know that 
 they need Commons Lang and Commons BeanUtils and so on, even 
 if they are 
 simply going to specify it in their Maven config and forget 
 about it.  I 
 prefer not having those dependencies at all, hence the reason 
 they got 
 rolled in.
 
  In order to build the type suggestion, what are the correct jars
  to include. I thought it was ``javawebparts_core.jar'' and 
  ``javawebparts_taglibs.jar''. Now I get a strange deployment
  error like Error: Could not load asds: 
  weblogic.servlet.jsp.JspException: (line 6): Error in using tag 
  library uri='/tags/javawebparts_ajaxtags.tld' 
 prefix='ajax': cannot 
  find tag class: 'javawebparts.taglib.ajaxtags.AjaxEventTag'
 
 
  
  I downloaded the 1.0 beta release version. I found that the binary
  release included *.class in the javawebparts_taglib.jar file.
  Also, I checked the javawebparts_core.jar file. This was fine.
  
  I think there is problem with the `make_jars' in the ant 
 build. I found
  that running that ant target (re-)created all the jars, but the 
  `javawebparts_taglib.jar' contained only the TLD and 
 Manifest.mf. Weird.
 

====

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] JavaWebParts and Struts / Ajax integration

2006-01-06 Thread Pilgrim, Peter

 -Original Message-
 From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
 Sent: 06 January 2006 18:03
 To: Struts Users Mailing List
 Cc: 'Struts Users Mailing List'
 Subject: RE: [OT] JavaWebParts and Struts / Ajax integration
 
 
 On Fri, January 6, 2006 12:41 pm, Pilgrim, Peter said:
  I am back from vacation, and I solved the issue with 
 taglibs. I had to
  downgrade the taglib DTD version from 1.2 to 1.1 for some reason,
  and the application deployed to WebLogic 8.1
 
 Hmm, weird.  Ok, well, it's a solution :)
 

Me too. I developing on the old Service Pack 1 of WLS. Production has 
the latest SP4 and SP5 better. May be it was me, Eclipse, My Eclipse,
and combination of all. Either way I rewrite tag library definitions
in web.xml and my JSP by hand, just to make sure I wasn't going crazy!

  I have a couple of questons. I am getting a 404 because the 
 target URL
  in the Ajax JavaScript is wrong. How do I set the right 
 target and make
  it context relative? E.g. the web context is `asds'
 
 Looking at the access log, I'm not clear as to what's 
 wrong... is it the
 /secured/ portion that you don't expect to see?  If the 
 context is asds,
 then I would expect to see /asds/typeAheadSuggestions, is that your
 expectation as well?  I don't want to put forth any answer 
 until I hear
 your answer to that, just so I know we're trying to get to 
 the same place
 :)

Actually I forgot to saw that the JSP page itself is 
`/asds/secured/showContactDetails.jsp'
where `/asds' is the context root. 

 
 Actually, I guess I will take a stab at it first... try 
 putting a leading
 slash before the target URL?
 

I thought of that before heading home, but I wanted to wait for response,
because what I would really need is access the `contextRoot' as
a variable. I could write something like this

target%contextPath%/typeAheadSuggestions/target

But I will give it shot now and see what happens 

requestHandler type=std:QueryString method=get
target/typeAheadSuggestions/target

parameterenteredText=search.contact.contactName/parameter
/requestHandler

... ( No it does not work) Sorry 

127.0.0.1 - auth1 [06/Jan/2006:18:21:41 +] GET 
/typeAheadSuggestions?enteredText=xassureUnique=1 HTTP/1.1 404 1214 
127.0.0.1 - auth1 [06/Jan/2006:18:21:44 +] GET 
/typeAheadSuggestions?enteredText=xaassureUnique=2 HTTP/1.1 404 1214 

The ajax submission is now missing the context path completely.
Can you cut a release of the javawebparts to fix the bug or tell me where
I can patch it please.

  Assuming I get this working for one control. How do expand 
 this example so
  that
  it support multiple fields submit to the same suggestion servlet?
 
 You should just need to create an entry for the other fields 
 in the config
 file and throw an ajax:event tag after them... just point 
 them all at
 the same target URL, it should work fine.  Should be as easy 
 as copying
 the config that is there now and changing the element's ajaxRef.
 

How do you discern in the Servlet what field is being query?

I had a look at the source of the page, there is a JavaScript
variable called `debugAjax'. Is there anywhere to switch on or off
via the javawebparts custom tags? I looked at ajax:enable/, but
the tag description says it an empty tag. You might want to allow
this feature.

  Thanks in advance
 

This is where I pause for the weekend in London.  *PAUSE*


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-06 Thread Pilgrim, Peter

 -Original Message-
 From: Paul Benedict [mailto:[EMAIL PROTECTED]
====
 
 Now I hope this opinion doesn't make me unlikeable on this 
 forum ;-) Maybe I am not holding the
 party line, but I can't figure out why the Struts label is 
 suddenly becoming a multi-framework
 branding. It just doesn't make sense to me and I think is the 
 wrong decision here. With that said,
 I love Struts (the real one) and am committed to improving it.
 

Romain Guys works with two IDEs to do his daily
http://weblogs.java.net/blog/gfx/archive/2005/10/twice_the_ide.html
I am unsure that the same philosophy or work ethics goes well
with Java web application frameworks, but someone on the list
is probably already doing this ...

I think it is more about being versatile, open to across-pollunation 
of ideas, education, and also a shared community with good 
resources.

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Integrating Struts in DWR??

2005-12-05 Thread Pilgrim, Peter
WOW!!

 -Original Message-
 From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
 Sent: 03 December 2005 22:12
 To: Struts Users Mailing List
 Subject: Re: Integrating Struts in DWR??
 
 
 Some of the questions you ask here are really more for you to 
 decide... 
 there aren't any canned answers.  That being said, I'll do my best...
 
 To begin with, I highly suggest checking out the numerous articles on 
 AJAX out there to get a firm grasp on what it really is, and 
 if I may be 
 so bold, start with my own:
 
 http://www.omnytex.com/articles
 
 This will show one way AJAX can be integrated with Struts.  
 You can also 
 check out my AjaxChat example app on the Struts Apps SourceForge site:
 
 http://struts.sourceforge.net
 
 The short answer is that AJAX, generically, is nothing but an HTTP 
 request.  As far as whatever is on the server is concerned, be it a 
 Struts apps or something else, it doesn't look any different than any 
 other request.  Well, I suppose more accurately, it doesn't *have* to 
 look any different.  If you simply pass simple parameters from the 
 client and forego XML, then to Struts there's no difference.
 

Right, If I understand what Frank is saying then this is a HTTP Servlet
that just parsing the input request, which is XML and generates
a response which is also XML.

As some one also working in the ``banking environment'' I can see
the value for helping the spreadsheet users entering forms.
The Google Suggestive or autocompletion is a real good usecase
for my client. For instance I want to enter ``Barcl'' and then
get a drop list of including ``Barclays Banks, Great Britain'', 
``Barclays Capital Management'' etc


 If you want to use XML and Struts, then you will at this 
 point have to 
 do your own parsing.  With Struts 1.3, it would be trivial to add a 
 Command to the processing chain to parse an incoming XML message and 
 translate it to request parameters... come to think of it, 
 that exists 
 already:
 
 http://sourceforge.net/projects/strutsws
 
 Although that's for Web Services, the underlying theory is identical. 
 There is a 1.3 version, courtesy of Marco Mistroni, but you 
 can see my 
 original version with the customized RP.  The same thing would work 
 nicely for AJAX, although one can envision other ways of doing it too.
 

So basically if you architectured your application correct, and 
pushed all or most of the logic to the business delegates or facades
then it should be easier to add AJAX server side.

Essentially to do the Google suggest thing for my perspective
is that you have cache on distincts e.g 
``SELECT DISTINCT(CONTACT_NAME) FROM EXTERNAL_REFERENCES''.
You store the results in a sortable collections for a user session 
or ORM cache. Do this for all the input fields for your input 
forms that want to add the suggest feature
The AJAX server method just filters on the string input 
from the html text fields and returns the XML result set
of possible matches.


 You could just as well have this function in your servlet... 
 it's just a 
 matter of getting the body content of the HTTP request, which 
 would be 
 XML, parsing it and doing what you'd always do.  If this 
 interests you, 
 have a look at the code in CVS HEAD here:
 
 http://javawebparts.sourceforge.net
 

Frank

I thinking of implementing the Google suggest concept for
my client for a ``big form''. Is your subproject up to it?

 I'll probably cut a release this weekend, but the code in CVS for the 
 AjaxTags component in the sample app does exactly that... an AJAX 
 request is made with XML in the HTTP body, and a servlet in this case 
 gets it (via the handy RequestHelpers.getBodyContent() 
 method) and then 
 uses Digester to parse it.
 

Does your current version handle simple or complex XML documents?
Should I wait for you release?

 Everything I've talked about here is naked AJAX, i.e., without the 
 help of any particular library.  AJAX is really quite simple, 
 aside from 
 a few gotchas, but there are some very robust libraries that 
 will help 
 with more than the basics in most cases.  They all seem to have a 
 slightly different focus from one another, so if you'd prefer 
 to go that 
 route, some (of the many!) to look at are:
 
 http://javawebparts.sourceforge.net/javadocs/javawebparts/taglib/ajaxtags/package-summary.html
  
 
 This is the AjaxTags component of Java Web Parts... this is a little 
 different than the rest in that it makes enabling specific 
 events very 
 easy.  All it requires is adding custom tags to your page, and 
 configuring various AJAX events via XML config file.  For 
 instance, if 
 you want to fire an AJAX event when a div is clicked, and then you 
 want a function that will populate another div from what the server 
 returns, this is a trivial exercise with AjaxTags, and it's 
 all driven 
 by config file so there is no coding involved, aside from 
 adding a tag 
 or two to your page.  This is my own creation, so obviously 
 I'll push it 
 

RE: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-05 Thread Pilgrim, Peter

 -Original Message-
 From: Ted Husted [mailto:[EMAIL PROTECTED]
 Sent: 05 December 2005 12:55
 To: Struts Users Mailing List
 Subject: Re: [FRIDAY] Struts 1.x is Struts Classic after all
 
 
 On 12/3/05, Adam Hardy [EMAIL PROTECTED] wrote:
  Ted Husted on 02/12/05 04:29, wrote:
   We have two because JSF is fundamentally incompatible with
   action-orientated frameworks. (As stated on the Struts home page.)
   But, that will not be the case for Ti. We plan to create 
 a clear and
   relatively painless migration path, so that investments 
 in skill sets
   and working code will be retained. (Including our own.)
 
  There is nothing preventing Struts X.x offering both 'incompatible'
  frameworks. Struts 1.x, the 'action'-based framework and other
  'component'-based frameworks are composed of perhaps code that is or
  could be 75% 'action' or 'component'-agnostic.
 
 We are already sharing the the agnostic code via Commons components
 that both Action and Shale use. After we extracted the Commons
 componetns in the 1.1 era,  all that's really left in Struts Action is
 code that overlaps with JavaServer Faces. Since Shale leverages
 JavaServer Faces and Commons, there's very little left that the
 frameworks could share. And, if we found something they could share,
 I'm sure it would quickly be moved to the Commons or to its own
 subproject (witness Tiles).
 
 
  Why burn bridges? It would be better to incorporate to cut down the
  central component of the struts action and move all 
 agnostic material to
  the side, pretty much as Shale is now.
 
  At that point Struts could then incorporate a 'component'-based
  framework module to match the action-based framework.
 
  Don't forget, 'Struts' means 'A structural element used to brace or
  strengthen a framework [...]' not 'foundation stone'.
 
 Yes, we've aggressively moved the Action foundation classes to the
 Commons. What's left here is glue code that connects the Digester with
 Bean and Collection and Chain, and cobbles together Action-specific
 ideas like the Request Processor.

A lot of the code has migrated from the ActionServlet to the RequestProcessor
and then onto Commons Actions in 1.3.0. 
The interesting thing in the future will this work make programming
action-oriented frameworks easier and better or actually worse?

I get the feeling that it will be better because actions or commands
will be more coarse grain, and most of the business database code
can be transfered out of actions to the data layer. The data layer
can itself be composed of it's own chain of commands.

 
 Struts has always been about providing the glue, or struts, between
 existing standards. And, unsurprisingly, that's exactly what Shale is
 trying to do. AFAICT, Shale is about as Struts-like as JSF can get. At
 least without sacrificing the intent of the JSF architecture.
 
 Meanwhile, the great thing about WebWork is that our communities have
 the same perspective. WebWork integrates several foundation packages,
 like XWork, OGNL, and FreeMarker, into a coherent framework that any
 Struts developer will find familiar. (Especially if you've been
 tinkering with 1.3.)
 
 IMHO, I don't see the engineering value-add of a one size fits all
 framework. A framework is a semi-complete application, and action/page
 applications are built differently than event/component frameworks.
 Since the applications are different, the frameworks should be
 different too.

IMHO what attracted lots of developers to Struts was it was 
pretty focused already. It did one thing very well, a model 2
blueprint MVC framework for Java. It was a also lightweight
enough for other to embed it in a bigger valid-add framework,
e.g Expresso, or supply additional valid-add extensions Tiles, 
Workflow, et etc. The problem is always trying to anticipate
change and innovation, keeping an implementation robust and solid,
but providing enough abstracts and interfaces to allow
flexibility.


Struts was never perfect in the first place, so it could never
taken as one size fits all.
Richard Oberg took what Struts and fixed some of the architecture 
critism with Struts for his own framework, WebWork 1.x. 
In fact Rod Johnson in first EJB Expert book had a right-go
(severe critique) at Struts, and attacked the fact that ActionForm
was not an interface, and that Action was not an interface. 

It is good thing to fix Struts architectural problems. The second
problem is that of productivity. Struts 2.x, I feel, much bring
some productivity gains for web developers, as Rick Reuman bemoaned,
in order to get it to the next level.
 
 Some people in our community want to dive into JavaServer Faces, and 
 others want to pursue the tried-and-true action-orientated approach.
 Rather than burn bridges, we're built a bigger roof :)
 

Yep

There are two web application architecture out there co-existing and competing

1) Component-Oriented

2) Action-Oriented


If you can bridge these two then you're probably onto a winner, 

RE: [FRIDAY] Struts 1.x is Struts Classic after all

2005-12-02 Thread Pilgrim, Peter

 -Original Message-
 From: Don Brown [mailto:[EMAIL PROTECTED]
====
 
 
 While you are certainly entitled to your opinion, I'd ask 
 that you reserve
 judgement until at least the first Struts Ti release.  Yes, 
 we plan to seed
 Struts Ti with WebWork 2.2, but that doesn't mean it will 
 stay that way or
 that Struts Action 1.x users and even code aren't important.  
 I just started
 working on the Struts Action 1.x compatibility layer tonight 
 so its too
 early to say, but my goal is to be able to run most Struts Action
 1.xapplications unchanged on Struts Ti.  Struts Ti was born with the
 idea of
 filling the gap between a new development frame of mind with 
 JSF and Struts
 Action 1.x, providing Struts developers a powerful new framework that
 leverages their Struts knowledge, not negates it.
 
 Furthermore, it has been said before and I'll say it again - 
 Struts Action
 1.x isn't going anywhere.  Just as development continued when 
 Shale was
 born, development will continue today.  I have at least one 
 major Struts
 Action 1.x application myself that will never see a rewrite, 
 so if for some
 reason Struts Ti doesn't have full Struts Action 1.x 
 compatibility, it'll
 stay on the stable, supported Struts Action 1.x.
 

I have been at at three investment banks in London where I
build Struts applications. I think that these applications
will not be radically changed in the future regarding
moving from Struts to another web framework e.g Spring MVC, Tapestry 
or JSF.

What I do envision is that they may be refactored, particular
if the underlying framework makes it easier?

I think Don's Struts compatibility layer will make or break
the adoption. If it is a very good piece of engineering
that makes it easier to enhance, develop, and more importantly
maintain Struts application, then that would be a big seller.

On the otherhand if the layer is piecemeal, and there no obvious
quick win here and there. For example you still have to fight
with code and javascript all over the place, and base actions
and action forms, and you have to set validation manually,
and incorporate application resources, download ApplicationResources.properties
with `error.required' from the net, then I can see it wont
work very well.

I am not saying that it should be Ruby on Rails with active
database dynamic records, but it could be a lot be easier
for developer to get a basic web application up and running,
but still have extensibility. One of the secrets of Struts
wide adoption is that it didn't try to be the jack of all spades
and stuck cooly to MVC Model2. Now it has to grow with the
trend for metaprogramming, which is not as easier to do
with Java as it is with other languages. 

 This is open source - if you are convinced Struts Action 1.x 
 is the one true
 way, feel free to jump in and contribute.  Just because 
 Struts Ti may be
 right for me, it may not be for you.
 
 Don
 
 On 12/1/05, Michael Jouravlev [EMAIL PROTECTED] wrote:
 
  Maybe I do not know how to do business. Heck, I do not have MBA. But
  for some reason I have a sour taste in the mouth. If
  StrutsTi/Struts2.0 is so heavily based on WebWork code that one did
  put an equal sign between the two, then Struts2.0 is not Struts
  anymore. It would be honest just to say that Struts ran out 
 of steam,
  it is crusty, it sucks, its development is concluded and everyone is
  welcomed to switch to shiny WebWork. I would get that. I 
 would accept
  that. At least I won't feel being fooled.
 
  In case of DaimlerChrysler one has an option to go and buy 
 an original
  product. There is no such an option in Struts/WebWork case. 
 How do you
  think you will explain to those who know that Struts sucks that
  Struts 2.0 is not Struts 1.x they knew (or actually did not know)
  before? Will you be telling them that this is actually 
 WebWork, which
  is so much better? Now that would be fun.
 
  I have nothing against WebWork, I had looked into it once 
 or twice, it
  is surely a nice framework, but I will not buy WebWork skinned as
  Struts.
 
  Michael.



--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] [JAVAWUG] BOF XIV / Monday / 5th December 2005 / Waxy O 'Co nnors / 19:15

2005-12-01 Thread Pilgrim, Peter

This is just a reminder

 -Original Message-
 From: Pilgrim, Peter [mailto:[EMAIL PROTECTED]
====
 
 The ``JAVA Web User Group'' is pleased to announce.
 
 Please join us for the BOF XIV London / Pre-Javapolis meet-up 
 at the ``Waxy O'Connor'' Bar at 19:15M on Monday, 5th December, 2005.
 
 Waxy O'Connors
 14 - 16 Rupert Street
 Leicester Square
 London 
 W1D 6DD
 England
 
 http://www.waxyoconnors.co.uk/london/index.asp
 
 
 JAVAWUG is a Java User Group and it has already has listing at 
 http://developers.sun.com/jugs/display/europe/gbr/london
 
 Blog details
 http://jroller.com/page/peter_pilgrim
 

FYI: We now have a JUG mailing list at ``javawug at googlegroups dot com''

Confirmed Attendees in no particular order

Adam Hardy
Matthew Harrison
Christopher Marsh-Bourdon
Jim Collins
Peter Pilgrim

Anyone else I missed, now is the time to speak up


--
Peter Pilgrim
Organiser / Founder   ( JAVAWUG  
http://developers.sun.com/jugs/display/europe/gbr/london )
 
   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )   
   )_)(  )\  )_)( ((_)()\ ))\(()/(   
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_ 
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
=

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] [JAVAWUG] BOF XIV / Monday / 5th December 2005 / Waxy O'Co nnors / 19:15

2005-11-11 Thread Pilgrim, Peter

The ``JAVA Web User Group'' is pleased to announce.

Please join us for the BOF XIV London / Pre-Javapolis meet-up 
at the ``Waxy O'Connor'' Bar at 19:15M on Monday, 5th December, 2005.

Waxy O'Connors
14 - 16 Rupert Street
Leicester Square
London 
W1D 6DD
England

http://www.waxyoconnors.co.uk/london/index.asp


JAVAWUG is a Java User Group and it has already has listing at 
http://developers.sun.com/jugs/display/europe/gbr/london


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: OT: Best AJAX framework

2005-11-11 Thread Pilgrim, Peter
Are they are using SVG for the icons or actual GIF/Images?


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


 -Original Message-
 From: Rafael Nami [mailto:[EMAIL PROTECTED]
 Sent: 11 November 2005 10:51
 To: Struts Users Mailing List
 Subject: Re: OT: Best AJAX framework
 
 
 http://dojotoolkit.org/~alex/dojo/trunk/demos/widget/Fisheye.h
 tmlhttp://dojotoolkit.org/%7Ealex/dojo/trunk/demos/widget/Fis
 heye.html
 
 WOW!
 
 2005/11/11, Martin Cooper [EMAIL PROTECTED]:
 
  netsql wrote:
   Just to be diferent, there are alternatives to Ajax:
  
  
 http://msdn.microsoft.com/smartclient/understanding/definition
/default.aspx

 Ooh! Isomorphic is not going to like that. They've had an Ajax toolkit
 product named SmartClient for quite a few years now.

 http://www.smartclient.com/

 --
 Martin Cooper


  .V
 
  Rafael Nami wrote:
 
  Super, I tested ajaxtags and really liked it, but that's how I said
  before -
  The team arged that before using a framework, they have to understand
  what
  Ajax is.
 
 
 
 


 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]



==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: OT: Best AJAX framework

2005-11-11 Thread Pilgrim, Peter
Missed Frank's post. SVG I thought so!

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] JAVAWUG / BOF XIII / Belgo Central / Friday 28th Sept 2 005 / 19:15

2005-10-25 Thread Pilgrim, Peter
 Just a reminder  

The ``JAVA Web User Group'' is pleased to announce.

Please meet for the BOF XIII London meet-up at the
``Belgo Central Restaurant'' at 19:15M on Friday, 28th October, 2005.


50 Earlham Street, 
Covent Garden, 
London, 
WC2H 9HP  
United Kingdom

Nearest Tube: Covent Garden
Cuisine: Belgian
Telephone: 020 7813 2233 

For an ajax Google Map click here
http://www.london-eating.co.uk/maps/248.asp

For the more traditional street map try this
http://www.streetmap.co.uk/newmap.srf?x=530189y=181082z=0sv=WC2H+9HPst=2pc=WC2H+9HPmapp=newmap.srfsearchp=newsearch.srf


The JAVAWUG is a Java User Group and it has already has listing at 
http://developers.sun.com/jugs/display/europe/gbr/london


====


Also on the sameday EJB Workshop 3 presentation by Alexander Hartner at 
Sun's London Bridge office at lunchtime 12-14pm. 
More salient details on http://www.ejb3workshop.com/


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

Organiser / Founder   ( http://www.javawug.com/ )
 
   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )   
   )_)(  )\  )_)( ((_)()\ ))\(()/(   
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_ 
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
=


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] JAVAWUG / BOF XIII / Belgo Central / Friday 28th Sept 2005 / 19:00

2005-10-13 Thread Pilgrim, Peter
Hi

The ``JAVA Web User Group'' is pleased to announce.

Please meet for the BOF XIII London meet-up at the
``Belgo Central Restaurant'' at 19:00M on Friday, 28th October, 2005.


50 Earlham Street, 
Covent Garden, 
London, 
WC2H 9HP  
United Kingdom

Nearest Tube: Covent Garden
Cuisine: Belgian
Telephone: 020 7813 2233 

For an ajax Google Map click here
http://www.london-eating.co.uk/maps/248.asp

For the more traditional street map try this
http://www.streetmap.co.uk/newmap.srf?x=530189y=181082z=0sv=WC2H+9HPst=2pc=WC2H+9HPmapp=newmap.srfsearchp=newsearch.srf


The JAVAWUG is a Java User Group and it has already has listing at 
http://developers.sun.com/jugs/display/europe/gbr/london


Lots of interesting things went down at the BEAWorld 2005 Technical Day in 
London 
yesterday. It was the first time I heard a mention about the ``Clarity'' 
proposal. 
I blogged my day out at the Royal Lancaster Hotel 
http://www.jroller.com/page/peter_pilgrim


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

Organiser / Founder   ( http://www.javawug.com/ )
 
   ( ( (  (   (  
   (   )\(   (   )\)\))(   '   (  )\ )   
   )_)(  )\  )_)( ((_)()\ ))\(()/(   
  ((_)\ _ )\((_)((_)\ _ )\_(())\_)()_ ((_)/(_))_ 
 _ | (_)_\(_) \ / /(_)_\(_) \((_)/ / | | (_)) __|
| || |/ _ \  \ V /  / _ \  \ \/\/ /| |_| | | (_ |
 \__//_/ \_\  \_/  /_/ \_\  \_/\_/  \___/   \___|
=


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] [STRUTS/JSF] BOF XII / Belgo Central / Wednesday 28th S ept 2005 / 18:45

2005-09-19 Thread Pilgrim, Peter

*
P U S H E D  B A C K  ! 
*

The twelfth bird-of-feature Struts JSF London meet-up has been 
postponed for just eight days.

The event will now take place on Wednesday 28th September 2005,
at approximately 18:45. 

Same venue, same time. Bring a mate.


Thanks very much


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


 -Original Message-
 From: Pilgrim, Peter [mailto:[EMAIL PROTECTED]
 Sent: 13 September 2005 17:11
 To: Struts User Apache (E-mail); MyFaces Discussion (E-mail)
 Subject: [ANN] [STRUTS/JSF] BOF XII / Belgo Central / Tuesday 
 20th Sept
 2005 / 18:45
 
 
 Greetings
 
 I am very pleased to announce that the ``Struts / JSF London Network''
 is meeting for the twelfth bird-of-feather discussions 
 
 This event will be taking place at the
 
 ``Belgo Central Restaurant'' at 6:45PM on Tuesday, 20th 
 September, 2005.
 
 
 50 Earlham Street, 
 Covent Garden, 
 London, 
 United Kingdom
 WC2H 9HP
   
 
 Nearest Tube: Covent Garden
 Cuisine: Belgian
 Telephone: 020 7813 2233 
 
 For an ajax Google Map click here
 http://www.london-eating.co.uk/maps/248.asp
 
 For the more traditional street map try this
 http://www.streetmap.co.uk/newmap.srf?x=530189y=181082z=0sv
=WC2H+9HPst=2pc=WC2H+9HPmapp=newmap.srfsearchp=newsearch.srf


(1) It's ok to bring a friend or colleague.
(2) My choice would have been china town.


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] [STRUTS/JSF] BOF XII / Belgo Central / Tuesday 20th Sept 2005 / 18:45

2005-09-13 Thread Pilgrim, Peter
Greetings

I am very pleased to announce that the ``Struts / JSF London Network''
is meeting for the twelfth bird-of-feather discussions 

This event will be taking place at the

``Belgo Central Restaurant'' at 6:45PM on Tuesday, 20th September, 2005.


50 Earlham Street, 
Covent Garden, 
London, 
United Kingdom
WC2H 9HP
  

Nearest Tube: Covent Garden
Cuisine: Belgian
Telephone: 020 7813 2233 

For an ajax Google Map click here
http://www.london-eating.co.uk/maps/248.asp

For the more traditional street map try this
http://www.streetmap.co.uk/newmap.srf?x=530189y=181082z=0sv=WC2H+9HPst=2pc=WC2H+9HPmapp=newmap.srfsearchp=newsearch.srf


(1) It's ok to bring a friend or colleague.
(2) My choice would have been china town.


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Check Disk space before file upload

2005-08-24 Thread Pilgrim, Peter
I have written a long time ago, the JavaUNIX API framework
http://www.xenonsoft.demon.co.uk/products/javaunix/


 -Original Message-
 From: Anuradha S.Athreya [mailto:[EMAIL PROTECTED]
====
 
 
 Hello,
 
 How can I check for disk space  on the server before 
 uploading a file on the
 server?
 
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[PARTIALLY SOLVED] RE: handleConfigException in Struts 1.1

2005-08-24 Thread Pilgrim, Peter
FYI / HTHSB

Looks like it is the dreaded application server ClassLoader issue 
again and this episode perfectly illustrates the best practice for logging
in Enterprise business software and for framework writers.

http://www.geocities.com/Colosseum/Field/7217/SW/struts/errors.html

It is appears the build environment was changed under the project ANT 
config. An ``ActionForm'' type was included in the EAR and of course
in the WAR portion. 

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


 -Original Message-
 From: Pilgrim, Peter [mailto:[EMAIL PROTECTED]
 Sent: 23 August 2005 09:51
 To: Struts User Apache (E-mail)
 Subject: handleConfigException in Struts 1.1
 
 
 (I still need the source code for Struts 1.1)
 
 My real problem is a Struts 1.1 application ( my client does 
 not want to upgrade 1.2. )
 deployed on a WebLogic 8.1 Server. The application fails to 
 deploy because
 of a parsing error. Has anyone come across this type of stack 
 trace before?
 
 
 
 22-Aug-2005 17:57:53 o'clock BST Error HTTP 
 lnl45a-4102 asds1 ExecuteThread: '1' for queue: 
 'weblogic.kernel.System' WLS Kernel  BEA-1012
 16 Servlet: action failed to preload on startup in Web 
 application: asds.
 javax.servlet.UnavailableException: Parsing error processing 
 resource path
 at 
 org.apache.struts.action.ActionServlet.handleConfigException(A
ctionServlet.java:1035)
 at 
 org.apache.struts.action.ActionServlet.parseModuleConfigFile(A
ctionServlet.java:1014)
 at 
 org.apache.struts.action.ActionServlet.initModuleConfig(Action
Servlet.java:955)
 at 
 org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
 at javax.servlet.GenericServlet.init(GenericServlet.java:258)
 at 
 weblogic.servlet.internal.ServletStubImpl$ServletInitAction.ru
 n(ServletStubImpl.java:993)
 at 
 weblogic.security.acl.internal.AuthenticatedSubject.doAs(Authe
nticatedSubject.java:317)
 at 
 weblogic.security.service.SecurityManager.runAs(SecurityManage
 r.java:118)
 at 
 weblogic.servlet.internal.ServletStubImpl.createServlet(Servle
tStubImpl.java:869)
 at 
 weblogic.servlet.internal.ServletStubImpl.createInstances(Serv
letStubImpl.java:848)
 at 
 weblogic.servlet.internal.ServletStubImpl.prepareServlet(Servl
etStubImpl.java:787)
 at 
 weblogic.servlet.internal.WebAppServletContext.preloadServlet(
WebAppServletContext.java:3260)
 at 
 weblogic.servlet.internal.WebAppServletContext.preloadServlets
 (WebAppServletContext.java:3205)
 at 
 weblogic.servlet.internal.WebAppServletContext.preloadResource
 s(WebAppServletContext.java:3182)
 at 
 weblogic.servlet.internal.WebAppServletContext.setStarted(WebA
ppServletContext.java:5663)
 at 
 weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
 at 
 weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationCo
ntainer.java:2022)
 at 
 weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicatio
nContainer.java:2063)
 at 
 weblogic.management.deploy.slave.SlaveDeployer$ComponentActiva
teTask.activateContainer(SlaveDeployer.java:2592)
 at 
 weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.do
 Commit(SlaveDeployer.java:2515)
 at 
 weblogic.management.deploy.slave.SlaveDeployer$Task.commit(Sla
veDeployer.java:2317)
 at 
 weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoC
 ommit(SlaveDeployer.java:2399)
 at 
 weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(Sl
aveDeployer.java:2311)
 at 
 weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.pr
 epare(SlaveDeployer.java:2479)
 at 
 weblogic.management.deploy.slave.SlaveDeployer.processPrepareT
 ask(SlaveDeployer.java:798)
 at 
 weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(Sl
aveDeployer.java:507)
 at 
 weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(S
laveDeployer.java:465)
 at 
 weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCall
backHandler.java:25)
 at 
 weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
 at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
 
 
 The struts-config.xml appears to be flawless, but it is better to have
 multiple eyes beating my two very experienced eyes. I just don't see
 any wrong in the struts-config in the simplest cut down version 
 and the bean classes do exist in the right place. Yes, I 
 started a process
 of elimination investigation to isolate the failure. Is it 
 the XML? Struts? 
 or WLS?
 
 ?xml version=1.0 encoding=UTF-8?
 
 !DOCTYPE struts-config PUBLIC
   -//Apache Software Foundation//DTD Struts 
 Configuration 1.1//EN
   
http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd;

struts-config

handleConfigException in Struts 1.1

2005-08-23 Thread Pilgrim, Peter
(I still need the source code for Struts 1.1)

My real problem is a Struts 1.1 application ( my client does not want to 
upgrade 1.2. )
deployed on a WebLogic 8.1 Server. The application fails to deploy because
of a parsing error. Has anyone come across this type of stack trace before?



22-Aug-2005 17:57:53 o'clock BST Error HTTP lnl45a-4102 asds1 
ExecuteThread: '1' for queue: 'weblogic.kernel.System' WLS Kernel  
BEA-1012
16 Servlet: action failed to preload on startup in Web application: asds.
javax.servlet.UnavailableException: Parsing error processing resource path
at 
org.apache.struts.action.ActionServlet.handleConfigException(ActionServlet.java:1035)
at 
org.apache.struts.action.ActionServlet.parseModuleConfigFile(ActionServlet.java:1014)
at 
org.apache.struts.action.ActionServlet.initModuleConfig(ActionServlet.java:955)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:470)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at 
weblogic.servlet.internal.ServletStubImpl$ServletInitAction.run(ServletStubImpl.java:993)
at 
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
at 
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
at 
weblogic.servlet.internal.ServletStubImpl.createServlet(ServletStubImpl.java:869)
at 
weblogic.servlet.internal.ServletStubImpl.createInstances(ServletStubImpl.java:848)
at 
weblogic.servlet.internal.ServletStubImpl.prepareServlet(ServletStubImpl.java:787)
at 
weblogic.servlet.internal.WebAppServletContext.preloadServlet(WebAppServletContext.java:3260)
at 
weblogic.servlet.internal.WebAppServletContext.preloadServlets(WebAppServletContext.java:3205)
at 
weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:3182)
at 
weblogic.servlet.internal.WebAppServletContext.setStarted(WebAppServletContext.java:5663)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:869)
at 
weblogic.j2ee.J2EEApplicationContainer.start(J2EEApplicationContainer.java:2022)
at 
weblogic.j2ee.J2EEApplicationContainer.activate(J2EEApplicationContainer.java:2063)
at 
weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.activateContainer(SlaveDeployer.java:2592)
at 
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.doCommit(SlaveDeployer.java:2515)
at 
weblogic.management.deploy.slave.SlaveDeployer$Task.commit(SlaveDeployer.java:2317)
at 
weblogic.management.deploy.slave.SlaveDeployer$Task.checkAutoCommit(SlaveDeployer.java:2399)
at 
weblogic.management.deploy.slave.SlaveDeployer$Task.prepare(SlaveDeployer.java:2311)
at 
weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2479)
at 
weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at 
weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at 
weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at 
weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)


The struts-config.xml appears to be flawless, but it is better to have
multiple eyes beating my two very experienced eyes. I just don't see
any wrong in the struts-config in the simplest cut down version 
and the bean classes do exist in the right place. Yes, I started a process
of elimination investigation to isolate the failure. Is it the XML? Struts? 
or WLS?

?xml version=1.0 encoding=UTF-8?

!DOCTYPE struts-config PUBLIC
  -//Apache Software Foundation//DTD Struts Configuration 1.1//EN
  http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd;

struts-config

  !-- == Form Bean Definitions === --

  form-beans
form-bean name=NavigateForm type=com.csfb.asds.ui.form.NavigateForm / 
  /form-beans

  !-- == Global Forward Definitions == --

  global-forwards
forward name=blank path=/secured/index.jsp redirect=true /
  /global-forwards

  !-- == Action Mapping Definitions == --

/struts-config




The b**t**d thing is that WLS and Struts do not seem to obey Log4j.properties
setting I ordered ``log4j.logger.org.apache.struts = DEBUG''. I would expect
a very verbose WebLogic application server log files, but it doesn't do it
for me. I remember doing it in JBoss, Oracle AS 9.0 and Tomcat 4.1.24 circa 
2003! 
How else do you get Struts 1.1 to dump shed load of debugger output (again)? 

Failing that I want to hack the 1.1 code to show the exception stacktrace(s). 
I believe there is 

RE: [URGENT] Struts 1.1 Source Download

2005-08-23 Thread Pilgrim, Peter

Thanks Nicolas. Tried downloading from your site, but something in the 
ZIP is triggering the down security here. Nothing to do with the URL 
location more probably I caught the bad side of the filter hashing 
algorithm.

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


 -Original Message-
 From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
 Sent: 23 August 2005 09:53
 To: Struts Users Mailing List
 Subject: Re: [URGENT] Struts 1.1 Source Download
 
 
 
 I've put it on
 http://loof.free.fr/jakarta-struts-1.1-src.zip
 
 Hope it will help you.
 
 Nico.
 
 Pilgrim, Peter a écrit :
 
 Can anyone tell me where I can download the full Struts 1.1 
 source code
 other than http://archive.apache.org/dist/struts/ which is 
 being blocked 
 by my clients corporate security ?
 
 
 --
 Peter Pilgrim :: J2EE Software Development
 Operations/IT - Credit Suisse First Boston, 
 Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
 Tel: +44-(0)207-883-4497
 
 =
 =
 Please access the attached hyperlink for an important 
 electronic communications disclaimer: 
 
 http://www.csfb.com/legal_terms/disclaimer_external_email.shtml
 
 =
 =
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
   
 
 
 This message contains information that may be privileged or 
 confidential and is the property of the Capgemini Group. It 
 is intended only for the person to whom it is addressed. If 
 you are not the intended recipient,  you are not authorized 
 to read, print, retain, copy, disseminate,  distribute, or 
 use this message or any part thereof. If you receive this  
 message in error, please notify the sender immediately and 
 delete all  copies of this message.
 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[URGENT] Struts 1.1 Source Download

2005-08-23 Thread Pilgrim, Peter

Can anyone tell me where I can download the full Struts 1.1 source code
other than http://archive.apache.org/dist/struts/ which is being blocked 
by my clients corporate security ?


--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [URGENT] Struts 1.1 Source Download

2005-08-23 Thread Pilgrim, Peter

That is not the point. The secsoft is triggering on the
contents of the JAR or zip file. In other word said 
corporate software is reading the entire mistakenly
(hash) matching on a word, and saying No way Charlie, out you go.

Anyway I now have the file. Do you remember back in the
days before the Internet? Do you remember the gnu ftpmail?
I once request 12 parts of GNU Emacs source file by email.
Just email with the URL, I mean FTP address, the directory
what you want you to download. The next morning I walked
in the office my Emacs was ready. Deattach them to directory
then run cat emacs*.dta  emacs-1.0.1-src.tar.gz on SunOS. Oh bliss!

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]
 Sent: 23 August 2005 15:15
 To: Struts Users Mailing List
 Subject: Re: [URGENT] Struts 1.1 Source Download
 
 
 You know, you could have just gone here:
 http://archive.apache.org/dist/struts/struts-1.1/
 
 
 --
 James Mitchell
 Software Engineer / Open Source Evangelist
 Consulting / Mentoring / Freelance
 EdgeTech, Inc.
 http://www.edgetechservices.net/
 678.910.8017
 AIM:   jmitchtx
 Yahoo: jmitchtx
 MSN:   [EMAIL PROTECTED]
 Skype: jmitchtx
 
 
 
 On Aug 23, 2005, at 10:10 AM, Ed Griebel wrote:
 
  I've put it on dropload.com for you, retrieval information sent as
  private e-mail. (dropload allows a user to send a big file, and
  another user can download it once by visiting the website.)
 
  -ed
 
  On 8/23/05, Emmanouil Batsis [EMAIL PROTECTED] wrote:
 
 
  Right, no dice. Perhaps one should email the archive to you.
 
  Emmanouil Batsis wrote:
 
 
  Long shot but have you tried using HTTPS?
 
  Pilgrim, Peter wrote:
 
 
  Thanks Nicolas. Tried downloading from your site, but 
 something in
  the ZIP is triggering the down security here. Nothing to 
 do with  
  the
  URL location more probably I caught the bad side of the filter
  hashing algorithm.
 
  --
  Peter Pilgrim :: J2EE Software Development
  Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada
  Square, London E14 4QJ, United Kingdom
  Tel: +44-(0)207-883-4497
 
 
 
 
 
  -Original Message-
  From: Nicolas De Loof [mailto:[EMAIL PROTECTED]
  Sent: 23 August 2005 09:53
  To: Struts Users Mailing List
  Subject: Re: [URGENT] Struts 1.1 Source Download
 
 
 
  I've put it on
  http://loof.free.fr/jakarta-struts-1.1-src.zip
 
  Hope it will help you.
 
  Nico.
 
  Pilgrim, Peter a écrit :
 
 
 
 
  Can anyone tell me where I can download the full Struts 1.1
 
 
  source code
 
 
 
  other than http://archive.apache.org/dist/struts/ which is
 
 
  being blocked
 
 
  by my clients corporate security ?
 
 
  --
  Peter Pilgrim :: J2EE Software Development
  Operations/IT - Credit Suisse First Boston, Floor 15, 5 Canada
  Square, London E14 4QJ, United Kingdom
  Tel: +44-(0)207-883-4497
 
  =
 
 
 
  =
 
 
 
  Please access the attached hyperlink for an important
 
 
  electronic communications disclaimer:
 
 
  http://www.csfb.com/legal_terms/disclaimer_external_email.shtml
 
  =
 
 
 
  =
 
 
 
  
 - 
  
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
  This message contains information that may be privileged or
  confidential and is the property of the Capgemini Group. It is
  intended only for the person to whom it is addressed. If you  
  are not
  the intended recipient,  you are not authorized to read, print,
  retain, copy, disseminate,  distribute, or use this 
 message or any
  part thereof. If you receive this  message in error, 
 please notify
  the sender immediately and delete all  copies of this message.
 
 
  
 -- 
  ---
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
  
 === 
  ===
 
  Please access the attached hyperlink for an important electronic
  communications disclaimer:
  http://www.csfb.com/legal_terms/disclaimer_external_email.shtml
 
  
 === 
  ===
 
 
 
  
 --- 
  --
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 
 
 
 
  
  
  -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED

RE: Nice try (was Java code generator including Struts 1.2)

2005-08-11 Thread Pilgrim, Peter

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
 Sent: 11 August 2005 06:39
 To: Struts Users Mailing List
 Subject: Re: Nice try (was Java code generator including Struts 1.2)
 
 
 OK, my post did look kind of ugly. It really wasn't directed 
 at any person, just at the words.
 
 I've been programming with Swing since 1.1.8 and finally I am 
 able to do it for a living. I've heard all the Swing stinks 
 arguments just like I've heard all the EJB stinks arguments. 
 But I've built applications using each that don't stink. It 
 took me a long time to get good at AWT/Swing/Graphics in 
 Java. Years. The applications that people commonly use for a 
 point of reference, such as Limewire, just don't illustrate 
 what these APIs can do. You haven't seen what's behind 
 corporate firewalls. JFC exposes much, graphically, that the 
 underlying windowing toolkit has to offer. There is nothing 
 stopping you from taking a blank panel, a Graphics2D and 
 implementing your own layout managers and all your own 
 controls. And they won't be slow unless you write code that 
 doesn't take a Thread from point A to point B on the shortest 
 route possible. In fact, they have a good chance of being 
 awesome. But, you can get tangled up in large method stacks 
 if you don't scour the source and examine a lot of stack 
 traces, if you just blindly use the APIs and recommended 
 coding styles.
 
 I've criticized Swing too. The main problem with it is that 
 the authors used private and package-private fields and 
 methods everywhere, making subclassing difficult and in some 
 places nearly impossible. Library designers should use 
 protected unless told otherwise. There are other criticisms 
 but that's my main one.
 
 But, it made me mad when I started reading all these articles 
 about SWT and Eclipse and how Swing sucked. I didn't want 
 Sun/JCP to ever buy that. People parrot that stuff. I want 
 Sun/JCP to keep on working on it and keep on making it 
 better. It has come a long way and you can do ANYTHING with 
 it if you invest the time instead of looking for some 
 framework or plugin to do everything for you.
 
 Anyway, I know, I'm on the wrong list. All I should have said 
 is: Good Swing code is anything but crap code.
 
 Erik
 

Before getting into Servlets I did a hell of a lot Swing development. 
Investment banks in the UK were using Swing and the Java Plug-in 
way back in 1999, before uptake of Servlets and JSP.

In fact I reviewed the first edition of Manning's book Swing by 
Vorobev et al for the Association of C/C++ Users in the UK 
(http://www.accu.org/). The my review quote is printed on the 
subsequent editions of the book. This was and still is great book 
that clearly demonstrate what you can achieved with the Swing API 
circa 2000. 

I have left Swing / Java2D behind both professionally and leisurely
to concentrate on J2EE architecture, but I have fond members of 
tinkering with the Swing. For one thing it was god-send back then
when all you had was AWT. I bet things have improved immensely
with JNDC and what the Sun Swing team have done since I turned J2EE.

If you were at JavaONE you cant failed to be impressed with the Joplin
MP3 player demonstation. If you were at the pavillion and talked to
Sun JFC guys they are pressing ahead with more innovations
and are seriously reviewing and acting the look and feel criticism

One thing that is always levered at Swing constantly is it is graphic emulation
of the native platform's look and feel. For this is one of Swing 
core strength, nowhere have I seen a toolkit with a pluggable 
look and feel architecture. A fantastic example of applying desing
pattern. Because of that you should really learn Swing to see 
how a very complex but very useful API can be designed. 

People get itchy, however, about PLAF: Meaning that Java is slow. 
At this year's JavaONE, the idea that Java is slow is completely
nonsense. I was blown away by Java 3D demonstration. Admittedly 
the demo I saw was one 3D POV and speeding over an intense detailed
mountainous display. For a gaming you 'd need artifical combatants 
and intelligence and lots of collision detection etc etc but 
man it was amazing to see Java doing the business. The future is bright.



--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT]Terrific intro to JSF

2005-08-10 Thread Pilgrim, Peter
 -Original Message-
 From: C.F. Scheidecker Antunes [mailto:[EMAIL PROTECTED]
====
 
 Well. It seems that all articles were written already.
 
 http://www-128.ibm.com/developerworks/views/java/libraryview.jsp?search_by=nonbelievers:
 
 [EMAIL PROTECTED] wrote:
 
 Hi all:
 
====
 
I was trying to print out the above documents so I could read
them on the train last night. I cant believe that IBM Developer
does not have a Printer Friendly link for its online stuff.
I could be wrong!

 i know it isn't Friday yet.. ;) but .. in case you have been 
 looking for a 
 nice and clear introduction to JSF, look no further. Here it is:
 
 http://www-128.ibm.com/developerworks/java/library/j-jsf1/
 
 I have only just completed the first article - and can't 
 wait to get to 
 the next three! - but the first article is just *fantastic*.  It's 
 articles like these which make Java almost too much fun..:)
 
 Geeta
--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT]Terrific intro to JSF

2005-08-10 Thread Pilgrim, Peter

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED]
====
 
 From: Pilgrim, Peter [EMAIL PROTECTED]
 
  
 http://www-128.ibm.com/developerworks/views/java/libraryview.jsp?search_by=nonbelievers:
 
  I was trying to print out the above documents so I could read
  them on the train last night. I cant believe that IBM Developer
  does not have a Printer Friendly link for its online stuff.
  I could be wrong!
 
 It does... on the right hand side below the orange 
 'DeveloperWorks' tab 
 there is a box with 'Document Options.'  The first one is 
 'Print this page'. 
 My copy is at work, but IIRC it printed out nicely-- they did 
 a good job 
 with the stylesheets for screen vs. print.

====

I saw this button / link already. However I dont get good result.
It did not print out correctly because the stylesheet and scaling 
are chomped to the right hand side even scaling down to 82%.

I guess I could try 50% scale and a get myself a nice magnifying glass!

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: {Spam?} Re: [OT]Terrific intro to JSF

2005-08-10 Thread Pilgrim, Peter

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
====
 
 That's how I tried to print and I got yukky results... (But I'm using 
 Firefox maybe I gotta use IE or something..?)
 Geeta

I tried Firefox, then attempt Internet Explorer same bad results.

Just tried it at 79% scale pointless to go squeezing the scale.
We have powerful A3 capable HP Laserjet here. I dont understand
why IBM choose not to follow the idiom like TheServerSide.com or
OnJava.com, just bloody awful infuriating nonsense. 

The page actually mentions a Acrobat Reader download, but if they
offer that then may PDF generation is best for everyone if they
cant offer a decent printer friendly option.

Hani will probably Bile'em soon for this.

 
 Wendy Smoak [EMAIL PROTECTED] wrote on 08/10/2005 09:23:29 AM:
 
  From: Pilgrim, Peter [EMAIL PROTECTED]
  
   http://www-128.ibm.com/developerworks/views/java/libraryview.jsp?
  search_by=nonbelievers:
  
   I was trying to print out the above documents so I could read
   them on the train last night. I cant believe that IBM Developer
   does not have a Printer Friendly link for its online stuff.
   I could be wrong!
  
  It does... on the right hand side below the orange 
 'DeveloperWorks' tab 
  there is a box with 'Document Options.'  The first one is 
 'Print this 
 page'. 
  My copy is at work, but IIRC it printed out nicely-- they 
 did a good job 
 
  with the stylesheets for screen vs. print.
====
--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT]Terrific intro to JSF

2005-08-10 Thread Pilgrim, Peter

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
====
 
 Damn.  Wish *I* had thought of saying just bloody awful infuriating 
 nonsense in some of the project meetings I've sat in in the past..;))
 Geeta
 
 Pilgrim, Peter [EMAIL PROTECTED] wrote on 08/10/2005 
 09:42:05 AM:
I had another go at printing just the first page. Try 70% scale. 
It worked for me, which gets me a main text with a font size of, 
I think, about 7.5 - 8.0 points, right on the limit for stationary
reading, but impossible to read on a juddering railway train!


====
 
http://www-128.ibm.com/developerworks/views/java/libraryview.jsp?search_by=nonbelievers:
   
====

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] JSF style-ability (was: Terrific into to JSF)

2005-08-09 Thread Pilgrim, Peter
 -Original Message-
 From: Craig McClanahan [mailto:[EMAIL PROTECTED]

====

What do you have to do to get on Creator 2 EA?

 
 On 8/8/05, Frank W. Zammetti [EMAIL PROTECTED] wrote:
  Craig McClanahan wrote:
And you were so ***good*** about the Maven thread!  :-) :-) :-)
  
  You can't expect me to turn around all at once can you 
 Craig?!? :) LOL
  
 
 :-)
 
  You know, I started making this a reply to that thread 
 because I didn't
  think it would go any further, and I originally said if it 
 did then I'd
  start a new thread... but, as I was typing my response I started to
  realized is probably *would* go a message or two more, so better to
  start that new thread now :)
====

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [STRUTS 2X]: Ideas

2005-08-02 Thread Pilgrim, Peter

 -Original Message-
 From: Ted Husted [mailto:[EMAIL PROTECTED]
====
 
 On 7/31/05, Nick Heudecker [EMAIL PROTECTED] wrote:
   I think there are a lot of people out there who feel as 
 you do, but
   backwards-compatibility has always been a major theme for those
  
  While backwards compatibility is nice, I would rather see a better
  framework for the 2.x release.  My personal opinion is that version
  compatibility should be required between point releases, 
 but all bets
  are off for major revisions.
 
 I would tend to agree. 
 
 Personally, I think a great place to start would be a Struts codebase
 for Java 5. It's not something I can work on myself right now, but if
 I start coding in Java again, I'd definately want to get up to speed
 with everything that Java 5 has to offer.
 
 A lot of frameworks that are very different from Struts are able to
 read the Struts configuration and allow use of Struts actions and
 such, while also allowing use of the native framework members.
 
 But any proposals for a new Struts subproject or revolution have to be
 based on an existing codebase. Discussions and debates will never be
 enough. Someone has to show us the code, and more importantly, the
 community behind the code.
 

Yes I tend to agree that just discussions is not equal to code, but 
one must have the vision, and for a vision you must eventually 
come up with a design. 

 When a coder is a committer, like Craig or I, we can start whiteboards
 in the Apache repository, mainly to avoid putting the code through the
 Incubator later. But, we still have to go through the same guantlet
 with the Struts PMC that a codebase that originated at SourceForge
 goes through.
 
 What we want to most in a proposal is an indication that the project
 will go on whether Struts accepts it or not. We want codebases that
 can stand on their own feet, but would prefer to stand with us, if
 they can. If the only way a codebase will get written is if we accept
 it, then the codebase will never be written :)
 
 Every major codebases we've ever accepted, Validator, Tiles, Nesting,
 EL, Scripting, Flow, and Shale, were all written and attracting
 communities before we considered them for subprojects. And, had we
 passed, each one of these would have gone on to live indepedant lives
 with their own communities..

So what you saying one can take the existing codebase and build 
a next generation derivative. Publish it around, wait for the
community to build up, and then you will get a chance to be
considered among equals.

 
 HTH. Ted.
 
====

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [STRUTS 2X]: Ideas

2005-08-02 Thread Pilgrim, Peter

 -Original Message-
 From: Adam Hardy [mailto:[EMAIL PROTECTED]
====
 
 
 Pilgrim, Peter on 01/08/05 09:30, wrote:
  Struts 2 should force an Action or ActionForm to be interface or 
  subclass of an abstract type, hence dependency injection.
  

Oops! My wording was wrong.

Struts 2 should [definitely] __NOT__ force an Action or ActionForm 
implement an a particular interface or interfaces, or be a 
concrete subclass of any abstract type. 

Hence dependency injection presupposes the existance of a container
and also a lifecycle manager.

  If the former is the case, then it follows that calling the action
  method should be flexible
  
  public void bluegrass(ActionContext ac) { /* ... */}
  
  or
  
  public void bluegrass() { 
 ActionContext ac = typeOfThreadLocal.getFromSomeWhere();
 /* ... */ }
  
  then you need to handle absurdities like so (the general case )
  
  public void bluegrass( A a, B b, ... ActionContext ac, ... 
 Y y, Z z )
  { /* ... */}
  
 
 Dependency injection lets me swap implementations really 
 easily, so for
 instance in testing for business tier, I can have either real DAOs or 
 Mock DAOs depending on the XML configuration I choose.
 
 So in the servlet tier, what would be the advantages? In 
 testing again I 
 guess, choosing to inject either the real Factories or Mock Factories 
 (or Delegates or Session Facade, choose your pattern).
 
 You could put this IoC in the struts-config. It could also inject the 
 form bean, if the plan allows for its seperation from the action. The 
 action would have to be instantiated for each request in that case, 
 rather than having one per container.
 
And in particular putting this dependency injection and 
assembly information also inside the struts-config would remove 
one more XML file to configure.

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [STRUTS 2X]: Ideas

2005-08-01 Thread Pilgrim, Peter
 -Original Message-
 From: Paul Benedict [mailto:[EMAIL PROTECTED]
====
 
 Frank,
 
 I am fond of these two ideas (see following). Heck, I
 would be willing to even write them if I think there
 would be a chance of someone actually commiting them
 into the Trunk!!
 
 There are four things that I am very fond of and they
 are all tightly integrated:
 (1) POJO for forms

See below

 (2) Stubbing of abstract attributes for framework
 implementation like Tapestry.

Are you talking abouting the ``jwcid'' attribute?

 (3) The use of native data types in forms without
 worrying of validation.

A new validation methodology is required. 
With JSF there is processing render life cycle,
now the new version could borrow that model, or
better analyse it and come with something better.

 (4) Action methods being part of the POJO.

Agreed here. I would like the flexible to make the action form
and the action seperate or be part of the same class.

Struts uses the BeanUtil library so in order to change the
use of native types in form without validations may require
changes to that library.

I believe Struts 2 should inject dependencies into the actions
or action forms. It is a little contraversial as there 
are many IoC frameworks out to there to do this already.

Struts 2 should force an Action or ActionForm to be interface
or subclass of an abstract type, hence dependency injection.

If the former is the case, then it follows that calling the
action method should be flexible

   public void bluegrass(ActionContext ac) { /* ... */}

or

   public void bluegrass() { 
  ActionContext ac = typeOfThreadLocal.getFromSomeWhere();
/* ... */
   }

then you need to handle absurdities like so (the general case )

   public void bluegrass( A a, B b, ... ActionContext ac, ... Y y, Z z ) { /* 
... */}

Also remember we have the chain of responsible stuff and the 
Struts action extension to factor, which most developer
haven't even use yet in real anger, into a new version of 
Struts 2. Proviso backwards compatibility

 
 Just imagine how cool it would be to have something
 like:
 
 public class MyActionForm {
   // stub out properties
   public abstract String getFirstName();
   public abstract String getLastName();
   public abstract intgetAge();
 
   public void save(ActionContext ac) {
 // save form here
   }
 
   public void edit(ActionContext ac) {
 // edit form here
   }
 
   public void bluegrass(ActionContext ac) {
 // do something else here
   }
 }
 
 In this example, all four things happen:
 (1) The object is a POJO and (3) uses native data
 types. If any conversion failure happens, it is
 considered an automatic validation error.
 
 (2) The attributes are stubbed out for implementation
 like done in Tapestry. This allows the type-checking
 at runtime found in ActionForms (important to me) with
 the flexibility of defining forms like DynaActionForms
 (used heavily by me).
 
 (3) Action methods are now part of the action form
 itself. Here I used the Struts 1.3 method of having
 the Chain-of-command object be the only thing passed
 in, which should contain references to any other web
 object you need to complete this request. I believe
 JSF does something similar, and why not imitate this
 good idea? Besides, I think the Struts Roadmap has a
 similar idea planned for 1.5???
 
 Thanks guys.
====

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Re: JSF is the beginning of the end of Struts !!!

2005-07-27 Thread Pilgrim, Peter
And somtimes you will arrive mid-project not necessarily on a greenfield
landscape where the technology decisions have already been defined
for you. What can a developer do except fall in line with the 
Struts-has-been-chosen-decission? The best you can do within
companies (corporations) is to get the management to accept the
latest release version and not accept a stale version e.g Struts 1.1 or
even version 1.1.

I am afraid, Struts, is here to stay until we see some well-publicised
proofs of concepts out there in the internet and in the headline news
that JSF or whatever out there is better. In IMHO you are more likely
to see well crafted Tapestry applications out there right here, right now



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: 27 July 2005 13:10
To: Struts Users Mailing List
Cc: Struts Users Mailing List
Subject: RE: Re: JSF is the beginning of the end of Struts !!!


I guess I am a little lost on this comment. There are hundreds / thousands of 
complex Java sites available on the internet. Examples include US Airways 
Reservation system, EBay, BlueCross BlueShield of South Carolina, CitiBank, etc.

All of these public sites support very large user bases.

John Henry Xu [EMAIL PROTECTED]


John Henry Xu [EMAIL PROTECTED] 
07/26/2005 06:15 PM Please respond to
Struts Users Mailing List user@struts.apache.org


To
Struts Users Mailing List user@struts.apache.org


cc



Subject
RE: Re: JSF is the beginning of the end of Struts !!!



Mark,

You are right. I worked on Java and hope Java success. That is the reason
my links are java-based. I just want see more sites written in Java. That
is why I think in Java world, we need more doers than talkers.
If more java programmers code complex sites, java could compete to PHP.
But now almost all public sites are dominated by PHP and others... Hope
other Java programmers provides Java links as well.

John H. Xu

http://www.usanalyst.com 

http://www.Getusobs.com (The largest free job portal in North America)  

 - Original Message -
 From: Mark Benussi
 To: 'Struts Users Mailing List'
 Subject: RE: Re: JSF is the beginning of the end of Struts !!!
 Date: Tue, 26 Jul 2005 22:35:53 +0100

 
  It is interesting to see that the two sites on your footer are
 written using
  JSP.
 
  -Original Message-
  From: John Henry Xu [mailto:[EMAIL PROTECTED]
  Sent: 26 July 2005 20:42
  To: Struts Users Mailing List
  Subject: RE: Re: JSF is the beginning of the end of Struts !!!
 
  It is interesting to see PHP that has simple programming models
 defeat
  Java in real applications.
 
  This leads to a question: Do Java best programming models and
 frameworks
  conter-productive for real applications and sites?
 
  The new frameworks, other than struts, I like Spring. I would not
 use
  JSF unless JSF had some real applications (based on Sun's
 reputation on
  their new technologies).
 
  John H. Xu
 
 
  http://www.usanalyst.com
 
  http://www.GetusJobs.com (The largest free job portal in North
 America)
 
  - Original Message -
  From: Daniel Perry
  To: Struts Users Mailing List
  Subject: RE: Re: JSF is the beginning of the end of Struts !!!
  Date: Tue, 26 Jul 2005 09:45:53 +0100
 
  
   PHP / (origional) JSP are the same stuff really. Scripted web
 page.
  Main
   difference is php not OO (well, the api isnt), and php doesnt
  require any
   declarations/typing - which makes it nicer for less able
  programmers.
  
   But the big difference is server requirements. JSP uses a lot
 more
  server
   resources. PHP can be made available on the cheapest mass virtual
  hosting
   servers. JSP (let alone full java web apps) cant.
  
   Also, pretty much anyone with any programming skills can pick up
  php in a
   couple of days. Same cant be said for e.g.
 Struts+Java+JSP+Servlet
  etc.
  
   This is why i am forced to use php for most sites (ok, so i
  normally pass it
   on to someone else here), and i tend to use struts for larger
  sites/apps
   that are going to be hosted internally/on dedicated servers.
  
   Daniel.
  
-Original Message-
From: John Henry Xu [mailto:[EMAIL PROTECTED]
Sent: 26 July 2005 04:17
To: Struts Users Mailing List
Subject: Re: Re: JSF is the beginning of the end of Struts !!!
   
   
JSF has been there for a while. We have to see how it does in
real applications.
   
EJB has been there for many years, but its complexity of
configuration (at least before mature tools were developed)
 kept
many J2EE projects expensive and over budgets (bad ROI
 examples).
   
Thus we have so many frameworks in Java. Sun is to be blamed
 for
always providing UNPROVEN technologies for java. In many cases,
following sun too closely is not wise.
   
PHP was great but I hope java can catch up in real application.
   
John H. Xu
   
   
http://www.usanalyst.com
   
http://www.GetusJobs.com (The largest free job portal in North
 

RE: [OT] Hibernate vs. iBatis vs. POJO

2005-07-22 Thread Pilgrim, Peter

I think the jewel in the crown with the EJB 3 specification
is actually the new persistent model sub part of it. 
Following Linda De Michels and Scott Crawford presentations
at JavaONE this year, you should be able to persist POJOs
with any O/RM implementation that supplies a `javax.ejb.EntityManager' 
interface.

If you would rather execute your own mapped SQL statements,
then iBatis or similar is the choice.

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] BOF XI Struts JSF London / 7:00PM / Kettners

2005-07-19 Thread Pilgrim, Peter
JUST A REMINDER

The Eleventh Struts/JSF London Networking BOF is taking place on 
Tuesday 19 July 2005 at 19:00 or afterwards at Kettners Restaurant 
in SOHO, West End, London.

29 Romilly Street, London, W1D 5HP  Telephone: 0871 223 8103 
Nearest Tube: Leicester Square [3 minutes]
(or Picadilly Circus [5 minutes], Tottenham Court Road [7 min] or 
Charing Cross [15 min ] )
 
 http://www.london-eating.co.uk/2025.htm
 http://www.multimap.com/map/browse.cgi?client=publicpc=W1D%205HPcat=res
 http://travel.guardian.co.uk/restaurants/story/0,13739,1007545,00.html
 http://www.pizzaexpress.com/kettners/rest.htm

Kettner looks swanking, but it's really just smoke and mirrors. 
So dont worry.

 
 To join up or confirm attendence send me an email off mailing 
 list. If you want to bring a friend as well, then that fine. Just 
 turn up
 at the scheduled time. Thanks in advance/.
 
 PS: BOF == Birds of a feather

Some themes

Free summer discussion on the forthcoming Struts 1.3 release
and what is the next path to innovation with JSF. Should 
enterprises develop with JSF instead of Struts on new projects?

On-going discussion with the Meetup replacement site?

Plus any other business, members own experiences e.g. how to develop 
a project for the first-time with Spring and another IoC container?

--
Peter Pilgrim :: J2EE Software Development
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts 1.2 v 1.3

2005-07-15 Thread Pilgrim, Peter

What does 1.3 bring to the party?

I know there will be with the composable request processor and 
commons chain integration. What other innovations are there
in the new version?


 -Original Message-
 From: Ted Husted [mailto:[EMAIL PROTECTED]
====
 
 
 On 7/14/05, Access Denied [EMAIL PROTECTED] wrote:
  I just bought and am reading James Holmes' book, Struts: 
 The Complete
  Reference (Osborne 2004), which covers 1.2.  I just 
 learned from one
  of Ted Husted's posts that 1.3 is almost ready to be released.  Am I
  wasting my time and should be studying other literature?
 
 Hmmm, I may have said almost, but I did not mean to imply soon. 
 
 Right now, no one seems to be trying to push 1.3 out the door. There
 is not even a release plan. The only timeframe for 1.3 is
 indefinate. It could be a week, or a month, or five months. It all
 depends when a volunteer can step up to the plate.
 
 Of course, should indefinate happen, it would not make any 1.2
 material obsolete. By 1.3, we mean the release would be backwardly
 compatible with 1.2.
====

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Newbie questions

2005-06-22 Thread Pilgrim, Peter

 -Original Message-
 From: Wendy Smoak [mailto:[EMAIL PROTECTED]
====
 
 
 From: C.F. Scheidecker Antunes [EMAIL PROTECTED]
 
  What I would like to learn right now is how to get 
 information from a
  Select statement from a database and display it on a HTML 
 table. That
  is, first I have a search form
  and them a search result with records from a MySQL 
 database. I know how
  to do it with Servlets and JSPs but I would like to see a 
 piece of code
  using the Struts framework.
 
 It's the same piece of code, assuming you've designed it 
 right. :)  Struts
 has nothing to do with reading from the database.
 
 Hopefully, you haven't embedded a bunch of JDBC in your 
 Servlet.  If you
 have, now would be a good time to move it out into a separate 
 class (or
 layer, depending on how complex it is).  Even better, use 
 Hibernate or one
 of the other existing O/R mapping tools.
 
 Once you have a good system for retrieving data, you can use 
 it with any
 application, Struts, Swing, or command-line.
 
 Have you installed the examples that ship with Struts?  
 Particularly, the
 'struts-mailreader' example will show you how to accept input 
 from HTML
 forms and work with it.
 
 For paging results, I hear good things about DisplayTag
 http://displaytag.sourceforge.net/ but I haven't used it myself.
 
 -- 
 Wendy Smoak

I would second Wendy's advice, try to follow the example mailreader.

The best advice with Struts is try to understand how all the parts
of the framework fit together. 

Action, ActionForm, ActionServlet, View Helpers [Custom Tag libraries]

The good news is that Struts framework is relatively a small scale 
library compared to larger library, e.g. Hibernate. Look for articles
on Struts on the TheServerSide.com, Javaworld.com and OnJava.com and
you will be fine.


--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Storing data in session scope

2005-06-22 Thread Pilgrim, Peter
 -Original Message-
 From: Rafael Taboada [mailto:[EMAIL PROTECTED]
====
 

I am suprise that no body mention a ServletFilter as also
another possibility.

 
 I really appreciate ur help, thanks to everybody for ur reply.
  In my web.xml file I have:
  welcome-file-list
 welcome-file/index.jsp/welcome-file
 /welcome-file-list
  So when the user write the URL 
 http://localhost:8084/SanCristobal... It 
 calls the index.jsp file.
  This file has a frameset (I didn't use tiles).
  So, My doubt is how to store some data in application scope.

The above reminds me of my design error when try to implement
a website authentication scheme. I went down the plug-in, 
specific action and welcome file road until I realise that
some parts of the website content may simple be static, 
but also need securing. So I used a ServletFilter.

  What data do I need to store???. Data that it has to be 
 updated if the user 
 goes to a module which update that data but in database. So 
 If the user 
 updates the data, it has to be updated automatically in the 
 application 
 scope.

This is different kettle of fish. You need to implement in
your application architecture the Reference Data Cache
idiom. 

In this case you do not need to store data in application scope
at all. Rather all your database access comes through
business data access delegate. 

  This data is not big... Here in Peru we have to know how 
 much a dolar costs 
 in Soles (our coin). So the entire application needs to know the cost.
 Another data is about TAX and it's the same for all users.
  Ey Dave Newton, I don't practice Kali/Arnis
 -- 
 Rafael Taboada
 Software Engineer
 
 Cell : +511-97753290
 No creo en el destino pues no me gusta tener la idea de 
 controlar mi vida
 

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Storing data in session scope

2005-06-22 Thread Pilgrim, Peter

 -Original Message-
 From: Adam Hardy [mailto:[EMAIL PROTECTED]
 Sent: 22 June 2005 11:54
 To: Struts Users Mailing List
 Subject: Re: Storing data in session scope
 
 
 On 22/06/05 08:54 Pilgrim, Peter wrote:
  What data do I need to store???. Data that it has to be updated if
  the user goes to a module which update that data but in database.
  So If the user updates the data, it has to be updated automatically
  in the application scope.
 
  
  This is different kettle of fish. You need to implement in your
  application architecture the Reference Data Cache idiom.
  
  In this case you do not need to store data in application scope at
  all. Rather all your database access comes through business data
  access delegate.
 
 Peter,
 this caught my eye because I wasn't aware of this one - 
 Reference Data
 Cache sounds like a useful pattern and one that I have probably
 implemented independently.
 
 Do you have a reference (bad pun) so I can check out this out 
 ?  I just
 searched thro Gang of Four and Marinescou's EJB Des. Patts. without
 seeing anything similar.
 
 
 Adam
 
I am unsure if this is a pattern or idiom. If it is the former I 
thought I saw in a borrowed copy Java Patterns, one of Mark Grand's
epic bestsellers. Possibly in Java Enterprise Patterns by Wiley.

Actually the idiom is simply cache or the flyweight with a little
modifications for web applications. 

The data access object pattern is re-use to make sure that every
request for data goes the cache.

The actual cache implementation is irrelevant TTL (time-to-live expiration 
times), SoftReferences (garbage collection) and/or destroyer Thread.

For Web application you need to front-end your cache in control
administration, or synchronise the cache from the database or because
an external program has update the database behind the cache's back.
YMMV because if you have an external (legacy) process that creates
transient static data periodically then you need to architect
some form re-synchronisation. Throws out the old cache, create
a brand new cache. For example this could be a MDB (JMS) or 
come a J2EE connector. This is the use-case that takes the actually
takes simple-in-memory and in-same-VM Java caching into the 
enterprise world of reference data. 

As I said before, first if you decide to use reference data cache, 
then you must make sure that you never access the data by going around 
the back of it.
(What would be the point, then?). Second decide on compromise if
your reference data does change regularly, and especially if it is
external legacy process.

Actually Wendy's suggestion ehcache would be good for an implementation.
The same technology used by the Hibernators.

HTH


--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] BOF X / Monday / 20 June 2005

2005-06-20 Thread Pilgrim, Peter
 -Original Message-
 From: Pilgrim, Peter 
====

This is just a reminder message.

 
  -Original Message-
  From: Pilgrim, Peter 
 ====
  
  
  WHAT:
   
  I would like to formally announce that ``The Struts-JSF 
  London Networking'' 
  group is holding the tenth meet-up event on Monday 20th June 2005.
  
  This is a Pre-Java ONE meet-up
   
  WHERE:
  
  I will attempt to suggest a location by close-of-business 
  Thursday 2nd June 
  2005 or ``you'' can suggest a venue somewhere in the city.
  
 
 At this moment in time I am suggesting that we meet up in 
 The Theodore Bullfrog, Caring Cross
 
 http://www.beerintheevening.com/pubs/s/21/211/Theodore_Bullfrog/Charing_Cross
 
====

So The Theodore Bullfrog, Charing Cross it is on Monday 20th June 2005 at 6:45PM
The last meet up before getting on the transatlantic flight JavaONE 2005.

26 John Adam Street
Charing Cross 
London
WC2N 6HL
020 7839 2697

http://www.beerintheevening.com/pubs/s/21/211/Theodore_Bullfrog/Charing_Cross
Nearest tube is Charing Cross Bakerloo or Northern lines or 
Embankment Bakerloo, Northern, Circle, or District lines.
Street map UK
http://www.streetmap.co.uk/newmap.srf?x=530291y=180547z=0ar=Y



====

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Tiles]

2005-06-10 Thread Pilgrim, Peter
See intermixed

 -Original Message-
 From: Ray Madigan [mailto:[EMAIL PROTECTED]
====
 
 
 I read the paper
 
 http://www.browsermedia.com/devcorner/whitepapers/tiles201.jsp
 
 which explains how to add attributes into a tile of a 
 definition then it
 invokes the page.
 
 Unfortunatly all I want to do is replace the page that the 
 layout uses to
 render the layout, without the calling page having to care about it.
 
 Humpf!
 

This is a limitation of Tiles. If I remember rightly, it was slightly
disconsenting to look in Ted' books Struts In Action and see an
example where there is a Tiles Definition with $ dollar notation
and then read the text that it will never work.

definition name=.master.layout path=/template/class-layout.jsp 
   put name=header value=/acme/portal/header.jsp /
   put name=body value=YOU MUST DEFINE THIS! /
   put name=footer value=/sia/portal/footer.jsp /
/definition

definition name=.view.bookList extends=.master.layout 
path=/article/book/page.jsp 
   put name=body value=/jsp/${skin}/viewBookList.jsp /
/definition

I think the only to do is with a special Struts or Tiles Action class.

definition name=.view.bookList extends=.master.layout 
path=/article/book/page.jsp  
   put name=body 
value=/ViewInterceptor.do?pageInclude=/jsp/${skin-directory}/viewBookList.jsp 
/
/definition

In other word you write an action `ViewInterceptor' that accepts a 
parameter `pageInclude' which is URL to a page in your application.
You translate the token ${skin-directory} to whatever in relevant e.g a Folder 
name 
for skin path. You can invent an token and semantics you want.
This actions simply request dispatch includes the transformed page URL.
You tell the request processor not to perform action forward by returning
`null' in your action. 

The above works because Tiles is itself performing a request dispatcher include,
so the `ViewInterceptor' is just another level of indirection. The advantage
is you can also set tiles attributes and push them to the request scope
for example. etc etc

It would be better if Struts Tiles had dynamic binding on the values of 
definitions (or components).We could employ the following schemes, then :

(*) allowed String token substitution
(*) access to Expression Language evaluator
(*) had hooks like JSF with it VariableResolver interface. 


 -Original Message-
 From: David G. Friedman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 08, 2005 3:36 PM
 To: Struts Users Mailing List
 Subject: RE: [Tiles]
 
 
 Ray,
 
 If Xinsheng [mike] Huang's suggestion about using the JSP ($) 
 dollar sign
 notation doesn't work, I'd suggest looking at giving your 
 template a tiles
 controller so you can set the navi attribute to some object 
 and scope.  That
 way the controller can specify the insert automatically 
 before the tile is
 rendered and without having to put code into every action, 
 just that one
 tile's controller class.
 
 Regards,
 David
 
 -Original Message-
 From: Ray Madigan [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 08, 2005 5:18 PM
 To: Struts Users Mailing List
 Subject: RE: [Tiles]
 
 
 I have a fairly simple situation where a set of pages are 
 used throughout
 the application.   Based on a set of crriteria known about 
 the user, I want
 the page to use a set of common tiles to fill some parts of 
 the page, like
 the header of the page.  Other parts of the page are filled 
 with specific
 tiles relative to what the page is attempting to show.  
 Instead of each of
 the pages that use the layout setting the attribute, I 
 thought if it was
 computed in the layout, I would save some management of these entries.
 
 -Original Message-
 From: David G. Friedman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 08, 2005 1:58 PM
 To: Struts Users Mailing List
 Subject: RE: [Tiles]
 
 
 Ray,
 
 What architectural problems prevent you from either using a 
 TilesAction,
 instead of a regular action, or a tiles controller to look 
 those things up
 and set them for you so the page doesn't need to be 'that smart?'
 
 Regards,
 David
 
 -Original Message-
 From: Ray Madigan [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 08, 2005 5:01 PM
 To: Struts Users Mailing List
 Subject: [Tiles]
 
 
 I have beat this situation to death without coming up with an answer.
 
 I want to create a tile layout that includes a composed tile 
 in the layout
 definition.
 
 Any suggestions would be appreciated
 
 It needs to look like
 
   table border=0 width=100% cellspacing=5
   trtd colspan=2
   tiles:insert attribute=header /
   /td
   /tr
 
   trtd width=140 valign=top
 **tiles:insert page='/src/${Foo.answer}/nav.jsp'/
 
 ORc:set var='navi' value='/src/${Foo.answer}/nav.jsp'/
 **!-- c:out value='${navi}'/ outputs the correct page --
 **tiles:insert attribute='navi'/
 **!-- navi is in the wrong scope? -
   /td
   td valign=top  align=left
 

RE: [ANN] JavaOne Social Gathering in San Francisco on 6/26 at 8p m

2005-06-10 Thread Pilgrim, Peter

I think I already said Yes to this one.

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


 -Original Message-
 From: Don Brown [mailto:[EMAIL PROTECTED]
 Sent: 09 June 2005 17:44
 To: Struts Users Mailing List
 Subject: [ANN] JavaOne Social Gathering in San Francisco on 
 6/26 at 8pm
 
 
 As the attached message describes, there is a meeting of Java web
 developers the night before JavaOne starts.  I'm planning on attending
 and hope to see many of you there.
 
 Don
 
  Original Message 
 Subject: [sv-web-jug] JavaOne Social Gathering in San 
 Francisco on 6/26 at 8pm
 Date: Mon, 30 May 2005 16:51:02 -0700
 From: Van Riper, Mike [EMAIL PROTECTED]
 Reply-To: [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 
 Please join us for the third annual web developer gathering during
 JavaOne in San Francisco. After the JavaOne alumni reception at 8:00pm
 on Sunday evening, we will meet for drinks one short block 
 from Moscone
 Center at the Thirsty Bear. All Java web developers are encouraged to
 participate in this event whether they are signed up to attend JavaOne
 this year or not.
 
 For those of you fortunate enough to be there last year, we had a good
 turnout including Don Brown (Struts Committer), Matt Raible (appFuse)
 and Craig McClanahan (Mr. Struts himself). The full event details for
 this year including RSVP instructions is here:
 
   http://www.baychi.org/bof/java/20050626/
 
 I don't anticipate any changes, but, I recommend bookmarking the URL
 above and checking back the day of the event for any last minute
 updates. If there were a change of venue or start time, I will be
 certain to update the online event announcement to include the new
 information.
 
 Thanks, Van
 
 Mike Van Riper
 mailto:[EMAIL PROTECTED]
 
 Silicon Valley Web Developer JUG
 https://sv-web-jug.dev.java.net
 
 A.K.A. Java Web Developer BayCHI BOF
 http://www.baychi.org/bof/java/
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

==
Please access the attached hyperlink for an important electronic communications 
disclaimer: 

http://www.csfb.com/legal_terms/disclaimer_external_email.shtml

==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [Tiles]

2005-06-10 Thread Pilgrim, Peter
See intermixed

 -Original Message-
 From: Ray Madigan [mailto:[EMAIL PROTECTED]
====
 
 
 I read the paper
 
 http://www.browsermedia.com/devcorner/whitepapers/tiles201.jsp
 
 which explains how to add attributes into a tile of a 
 definition then it
 invokes the page.
 
 Unfortunatly all I want to do is replace the page that the 
 layout uses to
 render the layout, without the calling page having to care about it.
 
 Humpf!
 

This is a limitation of the current released Tiles implementation. 
If I remember rightly, it was slightly disconcerting, to look in 
Ted Husted's books Struts In Action and see an example where there 
is a Tiles Definition with $ dollar notation and then read the 
text closer that it cannot never work.
Let say we have a master layout definitions in Tiles.

definition name=.master.layout path=/template/class-layout.jsp 
   put name=header value=/acme/portal/header.jsp /
   put name=body value=YOU MUST DEFINE THIS! /
   put name=footer value=/sia/portal/footer.jsp /
/definition

definition name=.view.bookList extends=.master.layout 
path=/article/book/page.jsp 
   put name=body value=/jsp/${skin}/viewBookList.jsp /
/definition

This cannot work because Tiles has no information or hooks to handle
special syntaxes.

I think the only way to do this, is with a special Struts or Tiles 
Action class. If we make the value now dynamic then I think you
can get closer to what you want to achieve. 

Here is how I would do this to skin an page layout view with a
different look-and-feel

definition name=.view.bookList extends=.master.layout 
path=/article/book/page.jsp  
   put name=body 
value=/ViewInterceptor.do?pageInclude=/jsp/${skin-directory}/viewBookList.jsp 
/
/definition

In other words you write an action `ViewInterceptor' that accepts a 
parameter `pageInclude', which is an URL to the target page in your 
application.
You translate the token ${skin-directory} to whatever is relevant 
e.g a Folder name for skin path. You can any invent an token, tokenising
and semantics you want in the action.

This actions simply request dispatch includes the transformed page URL.
You tell the request processor not to perform action forward by returning
`null' in your action. 

The above works because Tiles is itself performing a request dispatcher include,
so the `ViewInterceptor' is just another level of indirection. The advantage
is you can also set tiles attributes and push them to the request scope
for example. etc etc

It would be better if Struts Tiles had dynamic binding on the values of 
definitions (or components).We could employ the following schemes, then :

(*) allowed String token substitution
(*) access to Expression Language evaluator
(*) had hooks like JSF with it VariableResolver interface. 


 -Original Message-
 From: David G. Friedman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 08, 2005 3:36 PM
 To: Struts Users Mailing List
 Subject: RE: [Tiles]
 
 
 Ray,
 
 If Xinsheng [mike] Huang's suggestion about using the JSP ($) 
 dollar sign
 notation doesn't work, I'd suggest looking at giving your 
 template a tiles
 controller so you can set the navi attribute to some object 
 and scope.  That
 way the controller can specify the insert automatically 
 before the tile is
 rendered and without having to put code into every action, 
 just that one
 tile's controller class.
 
 Regards,
 David
 
 -Original Message-
 From: Ray Madigan [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 08, 2005 5:18 PM
 To: Struts Users Mailing List
 Subject: RE: [Tiles]
 
 
 I have a fairly simple situation where a set of pages are 
 used throughout
 the application.   Based on a set of crriteria known about 
 the user, I want
 the page to use a set of common tiles to fill some parts of 
 the page, like
 the header of the page.  Other parts of the page are filled 
 with specific
 tiles relative to what the page is attempting to show.  
 Instead of each of
 the pages that use the layout setting the attribute, I 
 thought if it was
 computed in the layout, I would save some management of these entries.
 
 -Original Message-
 From: David G. Friedman [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 08, 2005 1:58 PM
 To: Struts Users Mailing List
 Subject: RE: [Tiles]
 
 
 Ray,
 
 What architectural problems prevent you from either using a 
 TilesAction,
 instead of a regular action, or a tiles controller to look 
 those things up
 and set them for you so the page doesn't need to be 'that smart?'
 
 Regards,
 David
 
 -Original Message-
 From: Ray Madigan [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, June 08, 2005 5:01 PM
 To: Struts Users Mailing List
 Subject: [Tiles]
 
 
 I have beat this situation to death without coming up with an answer.
 
 I want to create a tile layout that includes a composed tile 
 in the layout
 definition.
 
 Any suggestions would be appreciated
 
 It needs to look like
 
   table border=0 width=100% cellspacing=5
  

RE: [OT] Business Layer Ideas

2005-06-01 Thread Pilgrim, Peter

 -Original Message-
 From: Dakota Jack [mailto:[EMAIL PROTECTED]
======
 
 Hi, Peter,
 
 I am not sure what you are saying here.  I had trouble 
 following you.  
 
 The Strategy Pattern is roughly the following:
 
 public class DefaultStrategyInterface implements StrategyInterface {
 private Helper helper;
 
 public void setHelper(Helper helper) {
 this.helper = helper;
 }
 
 public void doWork() {
 // Do business logic
 int value = hleper.calculateSomething(params);
 // Do more business logic
 }
 }
 
 The Template Method Pattern used in Struts which necessitates the use
 of the Chain of Responsibility Pattern, cf.
 http://www.onjava.com/pub/a/onjava/2005/03/02/commonchains.html, is
 roughly the following:
 
 public abstract class AbstractMethodInterface implements 
 MethodInterface {
 public void doWork() {
 // Do some business logic
 int value = calculateSomething(params);
 //  Do more business logic
 }
 
 protected abstract int calculateSomething(params);
 }
 
 So, in a real sense, the Strategy Pattern advocates, in comparison to
 the Template Method Pattern, composition over inheritance allowing for
 ease of testing and a host of other good results.
 
 Struts is based on the Template Method Pattern which Sigglelow rightly
 sees is rescued by the Chain of Responsibility Pattern.  This is the
 context in which I was addressing the Strategy Pattern.  Can you give
 a little demo of how CoR metamorphasis's into this?  I find your not
 interesting but cannot see what it means.
 
 Thanks
 

Consider a GUI algorithm that displays rows from the database. 
The typical problem is to work out the best column width for 
rendering the screen.

interface IFormatDatabaseColumnWidth {
public int calcColumnWidth( Object[][] data, MetaData metaData[], int
columnNo );
}

// Slowest and most accurate algorithm iterates all rows in the result set
class AllRowsFDCW implements IFrameDatabaseColumnWidth {  ... }
// Algorithm based on the first 100 rows
class First100FDCW implements IFrameDatabaseColumnWidth {  ... }
// Algorithm that calculates the column width for every N rows
class StepwiseFDCW implements IFrameDatabaseColumnWidth {  ... }

This is the classic strategy pattern, as I remember writing it in a Swing/JDBC
five years ago. (In fact Xenon-SQL is still out there somewhere, but it 
is broken against JDK 1.3 and 24/7/365 the time to fix it! )

You can rewrite the above strategy with Chain of Responsibility 
pedantically. If you have a very functional requirement for it.

class ChainFDCW implements IFrameDatabaseColumnWidth {

Catalog catalog;
String  commandName;

// IoC container friendly
public void setCatalog( catalog ) { ... }
public void setCommandName( name ) { ... }

public int calcColumnWidth( Object[][] data, MetaData metaData[], int
columnNo )
{
Context context = new FDCWContext( data, metaData, columnNo );
Command command = catalog.getCommand( commandName );
command.execute( context );
if ( context.isCalculatedOk() )
return context.getColumnWidth();
else
throw new StrategyRuntimeException( 
Failed to calculate column width );
}
}

Ok writing a CoR for calculating data width takes a bit of stretching
the imagination, but of course you can do it, which is the point.



 On 5/31/05, Pilgrim, Peter [EMAIL PROTECTED] wrote:
   -Original Message-
   From: Dakota Jack [mailto:[EMAIL PROTECTED]
  ====
  
  
   I should have added that Rod (Johnson) in the book cited pointedly
   advocates extensive use of the Strategy Pattern, see pp. 
 421 ff.  The
   use of CoR in Struts 1.3 for the extensible 
 RequestProcessor is not a
   feature but is a way of solving the problem created by 
 the original
   use of the Template Method Pattern in that context.  Had 
 the Strategy
   Pattern been used in the first instance, everything would 
 have worked
   better, in my opinion.  In many ways, I think in the future the
   Template Method Pattern may be seen as an Anti-Pattern.
  
   Just to forestall flamethrowers, I want to emphasize that others
   probably think differently and even the majority, i.e. 
 by definition
   the members ipsa facto of the meritocracy, may think 
 differently.
   But, Rod Johnson is no slouch on these matters.  He 
 thinks the use of
   Strategy Pattern is one of the reasons [Spring] is such 
 a flexible
   and extensible framework.
  
  
  Hello Jack
  
  It can be shown that ``Chain of Responsibility'' pattern can be
  metamorphed into the ``Strategy'' pattern. The first 
 proviso is that one
  of your commnds becomes a catalogy factory or invoker of other
  generic commands itself. The second proviso is you must pass all
  your information back

RE: [OT] Business Layer Ideas

2005-06-01 Thread Pilgrim, Peter



 -Original Message-
 From: Dakota Jack [mailto:[EMAIL PROTECTED]
====
 
 Strategy (315) Define a family of algorithms encapsulate each
 one, and make them
  interchangeable.  Strategy lets the algorithm vary independently
 from clients that use
  it.
 

This is exactly I always thought it was too.

 So, your point about the Strategy Pattern, of course, does not work
 and is a non-starter.
 
 

Yes I missed the ``StrategyContext'' the actual POJO or entity that
encapsulates the ``Strategy'' and de-couples from the POJO.
Because of this decoupling you can thus change the strategy and
therefore write a __crazy_frog__ implementation that calls chain
if you found a worthy cause for it.


 A Strategy Pattern most importantly introduces some Helper utility
 interface for the various implementations of an algorithm.  Thus, you
 could have either
 
 A.  
 
 interface IFormatDatabaseColumnWidth {
 public void setHelper(Helper helper);
 public void doWork();
 }
 
 or
 
 B.
 
 Inteface IFormatDatabaseColumnWidth {
 public void doWork();
 }
 
 But the implementations would have to be something like:
 
 public class IFormatDatabaseColumnWidthImpl {
 private Helper helper;
 
 public void setHelper(Helper helper) {
 this.helper = helper;
 }
 
 public void doWork() {
 // Do business logic
 int value = helper.calcColumnWidth(data,metaData[]),columnNo);
 // Do more business logic
 }
 }
 
 Thus, there would be a Helper interface:
 
 interface Helper {
  int calcColumnWidth(Object [][] data, MetaData 
 metaData[]) int columnNo);
 }
 
 The differing calculations, then, would go into the Helper interface
 implementations and not into the IFormatDatabaseColumnWidth interface
 implementations.  So, you might have
 
 public class AllRowsFDCW implements Helper {
 public int calcColumnWidth(Object [][] data, MetaData metaData[])
 int columnNo) {
  // Slowest and most accurate algorithm iterates all rows in
 the result set
 }
 }
 
 and 
 
 public class First100FDCW implements Helper {
 public int calcColumnWidth(Object [][] data, MetaData metaData[])
 int columnNo) {
  // Algorithm based on the first 100 rows
 }
 }
 
 and 
 
 public class class StepwiseFDCW implements Helper {
 public int calcColumnWidth(Object [][] data, MetaData metaData[])
 int columnNo) {
 // Algorithm that calculates the column width for every N rows
 }
 }
 
 Please note that the pattern essentially uses polymorphism and late
 binding not through implementations of an interface but through a
 composite pattern.
 
 Thus, when inversion of control (IoC) is used with the Strategy
 Pattern, whether you are doing Dependency Injection (DI) or Dependency
 Lookup (DL), the Helper is what is the subject of the lookup or
 injection.  (IoC, including DL, cannot be identified as DI merely.)
 
 Your explanation of the Strategy Pattern leaves out what is essential
 to the pattern.  Consequently, your explanation is merely how Chain of
 Responsibiltiy (CoR) can be used instead of differing implementations
 of an interface. See below for a short note on your CoR example.
 

Dependency injection can be used anywhere where there is a public constructor
or JavaBean setters. If you are using strategy pattern that you are right
you can inject the ``strategy'' into the ``StrategyContext'' at run-time.

And in this case if you want to use CoR inside the ``StrategyContext''
 of course you need to write an adaptor for your algorithm interface
to call the first command of the Chain.

 
 On 6/1/05, Pilgrim, Peter [EMAIL PROTECTED] wrote:
  Consider a GUI algorithm that displays rows from the database.
  The typical problem is to work out the best column width for
  rendering the screen.
  
  interface IFormatDatabaseColumnWidth {
  public int calcColumnWidth( Object[][] data, 
 MetaData metaData[], int
  columnNo );
  }
  
  // Slowest and most accurate algorithm iterates all rows in 
 the result set
  class AllRowsFDCW implements IFrameDatabaseColumnWidth {  ... }
  // Algorithm based on the first 100 rows
  class First100FDCW implements IFrameDatabaseColumnWidth {  ... }
  // Algorithm that calculates the column width for every N rows
  class StepwiseFDCW implements IFrameDatabaseColumnWidth {  ... }
  
  This is the classic strategy pattern, as I remember writing 
 it in a Swing/JDBC
  five years ago. (In fact Xenon-SQL is still out there 
 somewhere, but it
  is broken against JDK 1.3 and 24/7/365 the time to fix it! )
 
 SECOND PART: Ugh!
 
  In my opinion, by the way, as an aside, using the CoR to replace mere
 implementations of an interface would be rather *nuts*.  This would
 merely obfuscate and provide no benefit at all.  This is what our
 fellow traveler Frank Zammettie finds inherently suspicious about the
 *OOP nuts*.  This is, I am afraid, similar to some of the rather *knee
 jerk* uses of CoR floating around.  How does

RE: [OT] Business Layer Ideas

2005-06-01 Thread Pilgrim, Peter

 -Original Message-
 From: Simon Chappell [mailto:[EMAIL PROTECTED]
 Sent: 01 June 2005 16:29
 To: Struts Users Mailing List
 Subject: Re: [OT] Business Layer Ideas
 
 
 Good stuff Frank. Your point is a good one and well made.
 
 I just spoke at a Java User Group here in Wisconsin on a similar
 issue, about how most people don't need to improve their Java
 programming skills, rather they need to improve their programming
 skills!
 
 I think that pattern use falls in the same area. There are folks that
 use patterns religiously, thinking that they're being good
 programmers. All the while not realising that they're reducing
 themselves down to the level of a coding monkey.
 
Patterns came from the recognition of common idioms, practices in the
industry. Religously following and applying patterns could condemn 
you not to discovering future oversights and other intuitions.

 Too much of the Java code that I see is not object-oriented, it's
 object-obsessed. Objects defined for any small silly thing. Wrappers
 upon wrappers, calls to super in multiple levels of inheritance.
 Arrgh. It's like trying to follow the plot of one of Frank Herbert's
 Dune novels. (Good for novels, bad for programs though!)

I wonder, if they will get over the dessert dunes onto 
lambda functions and tuples next?

 
 Simon

Well done, Craig, with restrospect. A simpler designed framework
like Struts is exactly the example, the proof, which Simon espouses 
above.

 
 On 6/1/05, Frank W. Zammetti [EMAIL PROTECTED] wrote:
  On Wed, June 1, 2005 9:47 am, Dakota Jack said:
   This is what our
   fellow traveler Frank Zammettie finds inherently 
 suspicious about the
   *OOP nuts*.
  
  Woah, leave me out of this.  I've purposely stayed away 
 from this thread
  all this time, now I have to get in...
  
  I don't want anyone thinking I'm anti-OOP or anything 
 remotely like that.
  I am very much an OOP proponent.  While I almost certainly 
 have used the
  term OOP nuts at some point because I think some people 
 could probably
  be described that way, that really sounds a lot more harsh 
 than my opinion
  actually is, so let me clarify...
  
  What I have said is that I have seen many instances where 
 people take the
  OOP exercise so far in trying to get a perfect 
 architectural structure in
  place that they wind up writing code that is actually 
 harder to understand
  than it otherwise could be.  There is great benefit to 
 writing code that
  is composed of smaller, largely interchangeable pieces 
 rather than large
  monolithic pieces.  We all know this.  However, I have seen 
 this taken so
  far that it takes forever to grasp how all the pieces fit 
 together to form
  the larger whole, and this is just as bad as writing one 
 larger whole
  would have been.
  
  Related to this, patterns are a wonderful invention, but I 
 see day in and
  day out people trying to find a pattern for every single situation.
  People seem to think that they have to solve every problem 
 by finding a
  suitable pattern.  The problem is, everyone seems to be so
  pattern-gung-ho nowadays that they simply want to apply a 
 pattern and if
  it actually makes things more complex, too bad.  If it 
 doesn't really fit
  the problem but does happen to solve it, that's fine too.  A pattern
  mismatch, or a pattern where none was truly needed, is just 
 as bad as no
  pattern at all in my experience.
  
  Simplicity is a beautiful thing.  That is always my 
 underlying design goal
  for two reasons...
  
  One, in a corporate environment as I work in, you never 
 know when someone
  else is going to have to come along and maintain your code. 
  You aren't
  doing them any favors by writing code that, while 
 architecturally sound,
  is more complex to grasp.  If after three months they say 
 wow, this guy
  architected this code perfectly!, that's great, but if 
 those three months
  are spent not being especially productive while they try 
 and understand
  what you built, then the code wasn't well-written in the end.
  
  Two, when you jump around between many different projects, 
 you tend to
  forget your own work quickly.  I sometimes look at code I 
 wrote just last
  year and go I don't remember how or why I did this.  Fortunately I
  comment the hell out of everything I do, but more 
 importantly I try to
  code in straight-forward ways.  Sometimes that means *NOT* 
 creating that
  helper class to encapsulate 10 lines of code, even though that might
  architecturally be better and fit some pattern, but instead 
 just inline it
  (assuming I don't expect it to be shared of course).
  
  In a nuthshell, my point is absolutely *USE* OOP and 
 patterns, and other
  related techniques, think in those ways all the time, but don't
  over-engineer things!!  Don't make design decisions because 
 you CAN do
  something, make them because it is the RIGHT thing to do.  And don't
  over-complicate things for the sake of achieving some 
 theoretical 

RE: [OT] Business Layer Ideas

2005-05-31 Thread Pilgrim, Peter
 -Original Message-
 From: Dakota Jack [mailto:[EMAIL PROTECTED]
====
 
 
 I should have added that Rod (Johnson) in the book cited pointedly
 advocates extensive use of the Strategy Pattern, see pp. 421 ff.  The
 use of CoR in Struts 1.3 for the extensible RequestProcessor is not a
 feature but is a way of solving the problem created by the original
 use of the Template Method Pattern in that context.  Had the Strategy
 Pattern been used in the first instance, everything would have worked
 better, in my opinion.  In many ways, I think in the future the
 Template Method Pattern may be seen as an Anti-Pattern.
 
 Just to forestall flamethrowers, I want to emphasize that others
 probably think differently and even the majority, i.e. by definition
 the members ipsa facto of the meritocracy, may think differently. 
 But, Rod Johnson is no slouch on these matters.  He thinks the use of
 Strategy Pattern is one of the reasons [Spring] is such a flexible
 and extensible framework.
 

Hello Jack

It can be shown that ``Chain of Responsibility'' pattern can be 
metamorphed into the ``Strategy'' pattern. The first proviso is that one
of your commnds becomes a catalogy factory or invoker of other
generic commands itself. The second proviso is you must pass all
your information back and forward the ``strategy command'' using
a general context object.

fyi

 On 5/27/05, David Whipple [EMAIL PROTECTED] wrote:
  This is an off topic post, but there seem to be a lot of 
 people with good
  opinions here.
  
  I am trying to provide a framework (based on Stuts and 
 Spring) for our
  company
  to use.  I'd like to make a reinforcement of the business layer in
  applications.
  
  We do not use EJBs, so a lot of the patterns that are out 
 there do not seem
  to
  apply.  I have not been able to find any references I like.
  
  The goal is to encourage better program design and development by
  having a clear definition of what are the business objects 
 in the program.
  
  We want to come up with a way through patterns to help 
 programmers avoid
  poor
  programming practices.  Clear separation into layers is one 
 basic idea
  behind
  this.  We want to come up with some interface to the 
 business layer which
  will
  force programmers to know what are to be the business 
 objects in their
  architecture.
  
  Does anyone have any ideas and/or know of any references for this?
  
  Thanks,
  Dave

====


--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received 
this message in error please delete it and notify us. If this message was 
misdirected, Credit Suisse, its subsidiaries and affiliates (CS) do not 
waive any confidentiality or privilege. CS retains and monitors electronic 
communications sent through its network. Instructions transmitted over this
system are not binding on CS until they are confirmed by us. Message 
transmission is not guaranteed to be secure. 
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Too late to become a rock star?

2005-05-12 Thread Pilgrim, Peter

 -Original Message-
 From: Frank W. Zammetti [mailto:[EMAIL PROTECTED]
====
 
 
 Based on the talent of musicians as a whole over the past few years, I
 would say it's *never* too late to become a rock star.  Even 
 if one is in
 a nursing home, confined to a wheel chair and suffering from 
 any number of
 age-related ailments, one could probably break the top 40 
 these days :)
 

How did the Rolling Stone make over the last decade? 
One billion smackers, reportedly!

 Speaking as one who was in a band for a lot of years and was actually
 presented with a contract offer (I didn't accept it and the band broke
 up... best decision I ever made!), I can say I'd much rather be in the
 crazy world of IT.  At least I can be reasonably sure I won't 
 have to pay
 back thousands of dollars to my employer when my application 
 doesn't sell
 as well as they expected :)
 

I suppose you can ship tune on-line, rather than be involved
with a label or publisher until you hit the big time.

====

 
 On Thu, May 12, 2005 11:55 am, Rick Reumann said:
  Yea, it's not Friday. Just whining (with no cheese)..
 
  Anyone else fed up with trying to keep up with all the 
 stuff coming out
  every day in this crazy IT world insert one of a million 
 acronyms here
  ???

What gets me now is stuff that just doesne install. I tried
to install ATI Graphics Driver last night. I guess what it didn't
work with the latest kernel 2.6.11.8 that I downloaded the night before.
I find I have less and less time to hang out fixing or debugging
somebody else' malware. Do you know what I mean? 

 
  I can't play an instrument or sing, but maybe it's not too late to
  become a rock star at 35? I want to join a ska band.
 
  --
  Rick


--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received 
this message in error please delete it and notify us. If this message was 
misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains 
and monitors electronic communications sent through its network. Instructions 
transmitted over this system are not binding on CSFB until they are confirmed 
by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Way of reading this mailing list as a heirachy

2005-05-11 Thread Pilgrim, Peter
See intermixed
 -Original Message-
 From: Mark Benussi [mailto:[EMAIL PROTECTED]
====
 
 My award of the week goes to Adam for this piece of information.
 
 I was just downloading some open source e-mail client but am 
 relieved I can
 do this option.
 
 -Original Message-
 From: Adam Hardy [mailto:[EMAIL PROTECTED] 
====
  
  I use Outlook and was wondering if there was a way of 
 reading all these
  messages as a hierarchy. I sometimes miss messages on a 
 thread I was
  interested in.
 
 I always thought outlook couldn't do message threads, but it can. I 
 don't remember the option on whichever menu, but it's easy to find. 
 Probably the View menu.
 
 It sets up the threads just like a newsgroup.
 
 If you really can't find it, perhaps your Outlook is an old version.
 

Try in Outlook, in at least version 2000.

Menu Bar - View - Current View  - By Conversation Topic

If you want to try something weird assuming you have a massive monitor and good 
eyes

Menu Bar - View - Current View  - Message Timeline Adam

 
 PS you should familiarise yourself with security issues in outlook as 
 well, for instance, you should disable javascript and images in your 
 incoming emails.
====


--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received 
this message in error please delete it and notify us. If this message was 
misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains 
and monitors electronic communications sent through its network. Instructions 
transmitted over this system are not binding on CSFB until they are confirmed 
by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] Struts-JSF London Networking BOF VIII / Monday / 9th MAY 2 005 @ 18:30 / Oracle City of London

2005-04-19 Thread Pilgrim, Peter

WHAT:
 
I would like to formally announce that ``The Struts-JSF London Networking'' 
group is holding the ninth meet-up event on Monday 9th May 2005 
at Oracle office in the city of London at ``18:45''
 
The meeting will take place in a room with Audio/Visual facilities
between 6:30-8:00 pm. Afterwords members we would all like to 
find an eatery for a bit to eat.
 
WHERE:

The address is:
Oracle City Of London
One South Place
London,
England
EC2M 2RB.
 
Here is some relevant travel information 
 
By Underground: -
 
Moorgate: Take the Moorgate East exit, turn right, one block to South Place.
Bank: Take the Northern line to Moorgate.
Liverpool Street:Take the Broadgate exit, turn right onto South Place
 
Map:   
http://www.oracle.com/global/uk/corporate/locations/citymap.html


The venue has kindly been organised by Duncan Mills. 

AGENDA:
Duncan Mills will continue with Introduction into JSF part II and Intro Shale

URLS
http://www.strutslondon.com
http://struts.meetup.com


And finally
I will off to the ACCU Conference 2005 in Oxford tomorrow. 
http://www.accu.org/conference/ from Wednesday til Saturday Lunchtime

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received 
this message in error please delete it and notify us. If this message was 
misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains 
and monitors electronic communications sent through its network. Instructions 
transmitted over this system are not binding on CSFB until they are confirmed 
by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] For Struts or Sports Lovers

2005-04-18 Thread Pilgrim, Peter

Might have helped to have a guest login guest/guest123

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


 -Original Message-
 From: t t [mailto:[EMAIL PROTECTED]
 Sent: 15 April 2005 17:21
 To: user@struts.apache.org
 Subject: [OT] For Struts or Sports Lovers
 
 
 If you are a struts or sports lover or both, you're welcome 
 to take a look at www.sportslovers.net which is a yellow page 
 of sports lovers and built based on Struts. 
 Sorry if this post bothers you.
  
 T.T.
   
 -
 Do you Yahoo!?
  Yahoo! Small Business - Try our new resources site! 
 

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [SUCCESS] Struts-JSF London Networking BOF VIII / Tuesday / 15th March 2005 @ 18:45 / Oracle City of London

2005-03-18 Thread Pilgrim, Peter

 -Original Message-
 From: Pilgrim, Peter 
====
 
 
 Dear Reader, 
 The Eighth  Struts JSF London Networking /b/a 
 BOF event took place on Tuesday, 15th March 2005 at 6:45PM
 
====
 
 Duncan has offered to the slides to be downloaded from.
 
====

Duncan has made presentation slides available on his talk
on JavaServer Faces

http://www.groundside.com/tech/docs/JSF-Overview.pdf

You need Acrobat 5 or better to view the PDF. Apologises
if you have waiting since yesterday.

http://www.groundside.com/blog/content/DuncanMills/

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497
http://jroller.com/page/peter_pilgrim

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[SUCCESS] Struts-JSF London Networking BOF VIII / Tuesday / 15th March 2005 @ 18:45 / Oracle City of London

2005-03-16 Thread Pilgrim, Peter
Dear Reader, 
The Eighth  Struts JSF London Networking /b/a 
BOF event took place on Tuesday, 15th March 2005 at 6:45PM


Duncan Mills and his gracious company, Oracle, kindly provided the venue for 
the night's networking event, and also supplied the nourishment: sandwiches.
Duncan was due to present two topics: JavaServer Faces and Shale. (See below)

I reminded the group of our identity, our history and that the networking 
group will continue to be informal gathering that is voluntarily. 
Everyone can voice an opinion, and provide intellectual comment to the
proceedings. 
Those who participated are free to offer suggestions and feedback to 
improve the future networking event. I also offered the chance to other
members 
if they would like to make a presentation themselves in the future on a 
hot topic. We would also be willing guinea pigs, if you were to present your 
innovative language, idiom, framework or concept to us, first!

Here are the salient discussion points of BOF 8

Topics Discussed

* Presentation on JavaServer Faces technology
+   Flow event architecture of JSF
+   Retrieving a JSF implementation from the Struts Wiki
+   The importance of JSF Facets
+   Event handling side, backing beans
+   JSF Components
+   Interaction between the JSF expression and incompabilities with the
JSTL
+   Navigation rules and event models
+   How to configure your next web application to work with Faces?
+   Faces XML Configuration File
+   Brief interlude into Shale
+   Similarities between Struts and JSF / Shale and the differences 
+   Demonstration of ADF components with JSF web application 


Duncan has offered to the slides to be downloaded from.
Send feedback, suggestions to me peter dot pilgrim at csfb dot com

MESSAGES: 
Michel, the french developer who worked in Spain, Palma Majorca, 
from the South of France, can you send me your email address so
that I can add you to my Outlook distribution list?

 From: Pilgrim, Peter 
=====
 
  From: Pilgrim, Peter 
 
 See intermixed 
 
 ====
 
 This is just another reminder of BOF 8 Struts-JSF London Networking 
 happening tomorrow; Tuesday, 15th March 2005 starting 6:45 PM at 
 Oracle City of London offices.
 
 This is first meetup not at an restaurant or a public bar with 
 some A/C Mains Power! So here is a grand `OPPORTUNITY' to bring
 your laptop and your Struts / Faces / J2EE problems to forum!
 
 
 The presentations on JSF and/or Shale, which should take upto
 one hour. There will be plenty of time for questions  answer
 and group discussion. The structure is informal and everyone
 is encouraged to participate.
 
 Thanks again for Duncan Mills for submitting the venue again
 to the group. 
 
 Lets make it a good one. Thanks
 
  
   From: Pilgrim, Peter 
  ====
  
  WHAT:
  
  This is just a `reminder' that ``The Struts-JSF London Networking'' 
  group is holding the eight meet-up event next Tuesday 15th 
 March 2005 
  at Oracle office in the city of London at ``18:45''
  
  The meeting will take place in a room with Audio/Visual facilities
  between 7-9 pm. Afterwords members can retire to the nearby 
  Red Lion pub for more in depth discussion ...
  
  WHERE:
  
  The address is:
  Oracle City Of London
  One South Place
  London,
  England
  EC2M 2RB.
  
  Here is some relevant travel information 
  
  By Underground: -
  
 Moorgate: Take the Moorgate East exit, turn right, one 
  block to South 
  Place.
 Bank: Take the Northern line to Moorgate.
 Liverpool Street:Take the Broadgate exit, turn right onto 
  South Place
  
  Map:   
 http://www.oracle.com/global/uk/corporate/locations/citymap.html
 
 
 The venue has kindly been organised by Duncan Mills. We all appreciate
 this generous gift. Duncan has offered to also set up meal 
 requirements.
 Normally this is geared towards buffet and/or sandwiches, but Oracle
 could specially request pizzas if you so desire.
 
 AGENDA:
 Duncan Mills will present/discuss Shale and JavaServer Faces
 Peter Pilgrim will present/discuss X (Something related to J2EE?)
 
 
 WHO:
  
  I'm back from annual vacation in France. We have just over a week
  to go the next BOF VIII. Has there been any issues? 
  
  Some far I have the following attendees in order of email 
 inbox times.
  
  Alan Mehio
  Matthew Dudbridge
  Charles Cordingley
  Jim Collins
  Christopher Marsh-Bourdon
  
 
 John Bell
 
  and of course
  
Pete Pilgrim
Duncan Mills
  
  Anymore takers?
  
  
 ====
 
 Not a member? No worrys mate, it's free. Just send me an [OT] email 
 or surfs up at
 http://www.strutslondon.com  or 
 http://struts.meetup.com 

====

My blog lines  http://jroller.com/page/peter_pilgrim

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

RE: [ANN] Struts-JSF London Networking BOF VIII / Tuesday / 15th March 2005 @ 18:45 / Oracle City of London

2005-03-14 Thread Pilgrim, Peter
 From: Pilgrim, Peter 

See intermixed 

====

This is just another reminder of BOF 8 Struts-JSF London Networking 
happening tomorrow; Tuesday, 15th March 2005 starting 6:45 PM at 
Oracle City of London offices.

This is first meetup not at an restaurant or a public bar with 
some A/C Mains Power! So here is a grand `OPPORTUNITY' to bring
your laptop and your Struts / Faces / J2EE problems to forum!


The presentations on JSF and/or Shale, which should take upto
one hour. There will be plenty of time for questions  answer
and group discussion. The structure is informal and everyone
is encouraged to participate.

Thanks again for Duncan Mills for submitting the venue again
to the group. 

Lets make it a good one. Thanks

 
  From: Pilgrim, Peter 
 ====
 
 WHAT:
 
 This is just a `reminder' that ``The Struts-JSF London Networking'' 
 group is holding the eight meet-up event next Tuesday 15th March 2005 
 at Oracle office in the city of London at ``18:45''
 
 The meeting will take place in a room with Audio/Visual facilities
 between 7-9 pm. Afterwords members can retire to the nearby 
 Red Lion pub for more in depth discussion ...
 
 WHERE:
 
 The address is:
   Oracle City Of London
   One South Place
   London,
   England
   EC2M 2RB.
 
 Here is some relevant travel information 
 
 By Underground: -
 
Moorgate: Take the Moorgate East exit, turn right, one 
 block to South 
 Place.
Bank: Take the Northern line to Moorgate.
Liverpool Street:Take the Broadgate exit, turn right onto 
 South Place
 
 Map:   
http://www.oracle.com/global/uk/corporate/locations/citymap.html


The venue has kindly been organised by Duncan Mills. We all appreciate
this generous gift. Duncan has offered to also set up meal requirements.
Normally this is geared towards buffet and/or sandwiches, but Oracle
could specially request pizzas if you so desire.

AGENDA:
Duncan Mills will present/discuss Shale and JavaServer Faces
Peter Pilgrim will present/discuss X (Something related to J2EE?)


WHO:
 
 I'm back from annual vacation in France. We have just over a week
 to go the next BOF VIII. Has there been any issues? 
 
 Some far I have the following attendees in order of email inbox times.
 
   Alan Mehio
   Matthew Dudbridge
   Charles Cordingley
   Jim Collins
   Christopher Marsh-Bourdon
 

John Bell

 and of course
 
 Pete Pilgrim
 Duncan Mills
 
 Anymore takers?
 
 
====


Not a member? No worrys mate, it's free. Just send me an [OT] email 
or surfs up at
http://www.strutslondon.com  or 
http://struts.meetup.com 


PS: Food is discussed in another mail

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497




--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Eliminate Setup Actions

2005-03-09 Thread Pilgrim, Peter
 -Original Message-
 From: Ben Taylor [mailto:[EMAIL PROTECTED]
 Sent: 05 March 2005 08:03
 To: Struts Users Mailing List
 Subject: Eliminate Setup Actions
 
 
 Hi,
 
 Can anyone tell me if there is an easy way to put information
 (required to populate drop down boxes using data from a db) in to the
 request, without having to write a setup Action for each page as is
 done here: http://www.reumann.net/struts/lesson2/step9.do .
 

You could use ``DispatchAction'' and ``LookupDispatchAction'' for
your multiple actions. In the some kind of ``DispatchAction'' write 
method to render the form `promptForm( ... )' and then another method
`processForm( ... )' .

hth

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Why Template Method instead of Strategy in Commons Chain?

2005-03-09 Thread Pilgrim, Peter
 -Original Message-
 From: Dakota Jack [mailto:[EMAIL PROTECTED]
 
====

 I have no idea why Craig would say that the RequestProcessor is
 somehow related to the Template Method pattern.  It just isn't.
 
====

Ithink that the request processor defines a set of method to 
process an arbitary HTTP request from a HTTP client and 
generate a HTTP response. 

[The template method] defines the skeleton of an algorithm 
in an operation, deferring some steps to subclasses.

The template method fixes the names and [potentially] 
the order of the operations, but allows subclasses to
vary those steps as needed.

A sure fire description of the ``TilesRequestProcessor'' if I 
ever saw one.

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] Struts-JSF London Networking BOF VIII / Tuesday / 15th March 2005 @ 18:45 / Oracle City of London

2005-03-08 Thread Pilgrim, Peter
 -Original Message-
 From: Pilgrim, Peter 
====

WHAT:

This is just a `reminder' that ``The Struts-JSF London Networking'' 
group is holding the eight meet-up event next Tuesday 15th March 2005 
at Oracle office in the city of London at ``18:45''

The meeting will take place in a room with Audio/Visual facilities
between 7-9 pm. Afterwords members can retire to the nearby 
Red Lion pub for more in depth discussion ...

WHERE:

The address is:
Oracle City Of London
One South Place
London,
England
EC2M 2RB.

Here is some relevant travel information 

By Underground: -

   Moorgate: Take the Moorgate East exit, turn right, one block to South 
Place.
   Bank: Take the Northern line to Moorgate.
   Liverpool Street:Take the Broadgate exit, turn right onto South Place

Map:   http://www.oracle.com/global/uk/corporate/locations/citymap.html


The venue has kindly been organised by Duncan Mills. We all appreciate
this generous gift. Duncan has offered to also set up meal requirements.
Normally this is geared towards buffet and/or sandwiches, but Oracle
could specially request pizzas if you so desire.

AGENDA:
Duncan Mills will present/discuss Shale and JavaServer Faces
Peter Pilgrim will present/discuss X (Something related to J2EE?)


WHO:
 
 I'm back from annual vacation in France. We have just over a week
 to go the next BOF VIII. Has there been any issues? 
 
 Some far I have the following attendees in order of email inbox times.
 
   Alan Mehio
   Matthew Dudbridge
   Charles Cordingley
   Jim Collins
   Christopher Marsh-Bourdon
 
 and of course
 
 Pete Pilgrim
 Duncan Mills
 
 Anymore takers?
 
 
====


Not a member? No worrys mate, it's free. Just send me an [OT] email 
or surfs up at
http://www.strutslondon.com  or 
http://struts.meetup.com 


PS: Food is discussed in another mail

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANNOUNCEMENT] New Struts subproject: Struts Flow

2005-02-18 Thread Pilgrim, Peter

 -Original Message-
 From: Don Brown [mailto:[EMAIL PROTECTED]
====

I can see continuations as a sort of an inversion of the 
classic finite state machine computer algorithm (Sedgewick et al)
It is all Iinteresting stuff. In essence it is still a 
state machine of sorts but captures a massively big state, 
the virtual machine execution state, instead of a smaller 
finite state.

http://cocoon.apache.org/2.1/userdocs/flow/continuations.html

What happens below the surface? Some sort of passivation and
activation algorithm. Nice idea.

 
 The Apache Struts team is pleased to announce the adoption of 
 its latest
 subproject, Struts Flow, a continuations-based approach to complex web
 workflows. Struts Flow originated at the struts.sf.net 
 project and has 
 been formally adopted now as a Struts subproject.  Struts 
 Flow is a port 
 of Apache Cocoon's Control Flow to Struts to allow complex workflow, 
 like multi-form wizards, to be easily implemented using 
 continuations-capable Javascript and eventually Java.
 
 Today, Struts is comprised of nine subprojects: Core, Taglib, 
 Tiles, El, 
 Faces, Scripting, Applications, Shale, and (now) Flow.  
 Struts Flow is 
 different from Struts Scripting/BSF as where Scripting brings any 
 BSF-supported scripting language to Struts Actions, Struts 
 Flow works on 
 redefining the traditional Model 2 state-driven workflow into 
 simplified 
 scripts whose execution spans multiple requests.  Currently, 
 the Rhino 
 engine, a Javascript implementation, is used to provide continuations 
 support, but with the maturation of Commons Javaflow - 
 http://jakarta.apache.org/commons/sandbox/javaflow/ - a Java-based 
 continuations implementation, Java will soon be supported as well.
 
 For more information, visit the Struts Flow website at:
- http://struts.apache.org/flow/index.html
 
====



--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
Floor 15, 5 Canada Square, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[ANN] Struts-JSF London Networking BOF VIII / Tuesday / 15th Mar ch 2005 @ 18:45 / Oracle City of London

2005-02-08 Thread Pilgrim, Peter
Dear Reader

I would like to formally announce that The Eighth Struts/JSF 
London Networking BOF is taking place on 15th March 2005 at ``18:45''
at Oracle City of London offices.

The meeting will take place in a room with Audio/Visual facilities
between 7-9 pm. Afterwords members can retire to the nearby 
Red Lion pub for more in depth discussion ...

The address is:
Oracle City Of London
One South Place
London,
England
EC2M 2RB.

Here is some relevant travel information 

By Underground: -

   Moorgate: Take the Moorgate East exit, turn right, one block to South 
Place.
   Bank: Take the Northern line to Moorgate.
   Liverpool Street:Take the Broadgate exit, turn right onto South Place

Map:   http://www.oracle.com/global/uk/corporate/locations/citymap.html


The venue has kindly been organised by Duncan Mills. We all appreciate
this generous gift. Duncan has offered to also set up meal requirements.
Normally this is geared towards buffet and/or sandwiches, but Oracle
could specially request pizzas if you so desire.

So for those of you who can make it to BOF VIII please state your preference
when you confirm your attendance (please CC duncan.mills at oracle dot com ).
[ ] Sandwiches
[ ] Buffet (Snicks and Snacks)
[ ] Pizza

Not a member? No worrys mate, it's free. Just send me an [OT] email 
or surfs up at
http://www.strutslondon.com  or 
http://struts.meetup.com 

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] Free JSP Editor for Eclipse

2005-02-04 Thread Pilgrim, Peter
 -Original Message-
 From: e-denton Java Programmer [mailto:[EMAIL PROTECTED]
==///==
 Hi,
 
 The Nitrox JSP Editor installed okay, but now it insists I 
 convert my Tomcat
 Projects into Web Application Projects. That's a lot to give 
 up to get a
 nice JSP editor. And, when my license expires, how would I convert the
 projects back into Tomcat projects--not in one easy step!

Sigh. MyEclipse does not cause me any headaches, because I can associate
the parts of this commercial plug-in to various constructs e.g.
MyEclipse JSP editor is the default for *.jsp. I can do the same for
the XML, DTD and JSF editors.

If you ask me if it not easy to keep a plug-in going when the core 
developer (1.3) is like a moving carpet shifting magically under 
your paws ;-)

====

--
Peter Pilgrim
 

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [ANN] Struts/JSF London Networking / BOF VII / Friday 28 Jan 2005 @ 19:15 / Kettners Restuarant

2005-01-28 Thread Pilgrim, Peter

 -Original Message-
 From: Niall Pemberton [mailto:[EMAIL PROTECTED]
 
 
 I am planning on turning up tommorrow and I see Duncan has RSVP'd on
 meetup.com - anyone else planning to come along?
 
 Niall

====

So far the list of the confirmed attendees are
 
Charles Cordingley
Christopher Marsh-Bourden
Alan Mehio
Duncan Mills
Niall Pemberton
Peter Pilgrim

This is the last call up for the BOF VII at Kettners

See you all later or at lunchtime 
``J2SE 5.0 Update - The Roar of the Tiger!''
When: Friday January 28 2005 12:00-14:00
Where: Davinci Theatre, CBC, ground floor- SUN City Offices, 45 King 
William Street, London EC4. Nearest tube is Monument.

 
 - Original Message - 
 From: Pilgrim, Peter [EMAIL PROTECTED]
 Sent: Wednesday, January 19, 2005 3:20 PM
 Subject: [ANN] Struts/JSF London Networking / BOF VII / 
 Friday 28 Jan 2005 @
 19:15 / Kettners Restuarant
 
 
  The Seventh Struts/JSF London Networking BOF
  is taking place on 28 January 2005 at 19:15
  at Kettners Restaurant in SOHO, West End, London.
 
  See all you there!
 
  29 Romilly Street,
  London,
  W1D 5HP
  Telephone: 0871 223 8103
 
  Nearest Tube: Leicester Square [3 minutes]
  (or Picadilly Circus [5 minutes], Tottenham Court Road [7 
 min] or Charing
  Cross [15 min ] )
 
  http://www.london-eating.co.uk/2025.htm
  
  http://www.multimap.com/map/browse.cgi?client=publicpc=W1D%205HPcat=res
   
  http://travel.guardian.co.uk/restaurants/story/0,13739,1007545,00.html
  http://www.pizzaexpress.com/kettners/rest.htm
 
  To join up or confirm attendence send me an email off mailing list.
  If you want to bring a friend as well, then that fine. Just turn up
  at the scheduled time. Thanks in advance/.
 
  PS: BOF == Birds of a feather
 
=====

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Struts London Networking / Seasons Greeting / BOF VII / Friday 28 Jan 2005 @ 19:15 / Planning

2005-01-19 Thread Pilgrim, Peter
 -Original Message-
 From: Pilgrim, Peter 
 

Struts JSF London Networking

Here are the details of Sun's Presentation on 28th January 2005 at Lunchtime.

=

J2SE 5.0 Update - The Roar of the Tiger!

When: Friday January 28 2005 12:00-14:00
Where: Davinci Theatre, CBC, ground floor- SUN City Offices, 45 King 
William Street, London EC4. Nearest tube is Monument.

What:
The latest version of Java, J2SE version 5 code named Tiger, is the 
biggest change to Java since its launch over nine years ago. With the 
focus of this release being ease of development there are many new 
features that developers need to be aware of.
As part of the launch of J2SE 5.0 Sun's Technology Evangelism team are 
visiting Java User Groups around the world to spread the word on what's 
new and how to use it. This presentation will provide deep technical 
content covering the use of features like generics, metadata and the new 
concurrency utilities. From a deployment perspective there are many 
useful new features to simplify monitoring, managing and performance 
tuning of the Java virtual machine. Come and learn how to get the most 
out of these new features.
To simplify the development of new Java applications the open source 
NetBeans developer tools now support J2SE 5.0; see demonstrations of how 
easy it is to use the new features.
In addition to all the technical content there will be free starter CDs, 
T-shirts, Tiger keychains, book giveaways and even free food and drink!


Who:
Simon Ritter is a Java Technology Evangelist at Sun Microsystems. Simon 
has been in the IT business since 1984 and holds a Bachelor of Science 
degree in Physics from Brunel University in the U.K. Originally working 
in the area of UNIX development for ATT UNIX System Labs and then 
Novell, Simon moved to Sun in 1996. At this time he started working with 
Java technology and has spent time working both in Java technology 
development and consultancy. He now specialises in looking at emerging 
technologies including grid computing, Auto-ID, robotics and wearable 
computing. Simon and his performing Java powered Lego robots have 
appeared before audiences worldwide.
If you would like to attend this seminar please send your name and 
company name, e.g. John Smith-ACME Corp, in the body of the message to 
[EMAIL PROTECTED] with the title: J2SE 5.0 Update - The Roar of 
the Tiger! - 28 January 2005.
 
Yahoo! Groups Links
* To visit your group on the web, go to:
http://groups.yahoo.com/group/jsig/
* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 



 
 Welcome back. It's 2005. The time has nearly come for the 
 Seventh BOF Struts London Networking.
 
 I think it is time to rename the group for 2005 to support the
 relevances of Faces technology. This would allow enthusiasts
 for standard JSF, MyFaces and Shale to join our merry band.
 I propose we rename the group to ``Struts  JSF London Networking''. 
 Are there any objections?
 
 Can I also start to have to some confirmations on 28 January 2005
 please?
 
 BTW: Any suggestions for a venue in central London?
 I will set the venue by COB (Close of Business) Monday.
 
 BTW 2:There is also Java Special Interest Group meeting at 
 lunch 12:00-14:00
 at Sun's London Educational Offices, the nearest Underground 
 tube is Bank.
 I believe it is about Tiget J2SE 5.0 taking place on the same 
 day 28/01/2005
 
 
 
  -Original Message-
  From: Pilgrim, Peter 
 
 ====
 
  
  I am planning the seventh Birds-of-Feather Struts London Networking
  for Friday 28th January 2005. (NB: This is a prelimanary date, 
  it might change next year! )
  
  1) The venue is not yet planned: Central London, West End, 
  the Docklands? Any suggestions / preference let me know.
  2) The agenda is not yet planned.
  
  Let me know who will / wants to definitely attend. All are
  welcome see http://www.strutslondon.com . If you are flying
  into the UK, London and want to attend email offline.
  
 
 ====
====

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e

[ANN] Struts/JSF London Networking / BOF VII / Friday 28 Jan 2005 @ 19:15 / Kettners Restuarant

2005-01-19 Thread Pilgrim, Peter
The Seventh Struts/JSF London Networking BOF 
is taking place on 28 January 2005 at 19:15
at Kettners Restaurant in SOHO, West End, London.

See all you there!

29 Romilly Street, 
London, 
W1D 5HP  
Telephone: 0871 223 8103 

Nearest Tube: Leicester Square [3 minutes]
(or Picadilly Circus [5 minutes], Tottenham Court Road [7 min] or Charing
Cross [15 min ] )

http://www.london-eating.co.uk/2025.htm
http://www.multimap.com/map/browse.cgi?client=publicpc=W1D%205HPcat=res
http://travel.guardian.co.uk/restaurants/story/0,13739,1007545,00.html
http://www.pizzaexpress.com/kettners/rest.htm

To join up or confirm attendence send me an email off mailing list. 
If you want to bring a friend as well, then that fine. Just turn up
at the scheduled time. Thanks in advance/.

PS: BOF == Birds of a feather

 -Original Message-
====
 
 Welcome back. It's 2005. The time has nearly come for the 
 Seventh BOF Struts London Networking.
 
 I think it is time to rename the group for 2005 to support the
 relevances of Faces technology. This would allow enthusiasts
 for standard JSF, MyFaces and Shale to join our merry band.
 I propose we rename the group to ``Struts  JSF London Networking''. 
 Are there any objections?
 
====
 
 
  -Original Message-
  From: Pilgrim, Peter 
 
 ====
 
  
  I am planning the seventh Birds-of-Feather Struts London Networking
  for Friday 28th January 2005. (NB: This is a prelimanary date, 
  it might change next year! )
  
  1) The venue is not yet planned: Central London, West End, 
  the Docklands? Any suggestions / preference let me know.
  2) The agenda is not yet planned.
  
  Let me know who will / wants to definitely attend. All are
  welcome see http://www.strutslondon.com . If you are flying
  into the UK, London and want to attend email offline.
  
 
 ====
====
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[GOOD] LazyDynaBean works terrific

2005-01-19 Thread Pilgrim, Peter

http://www.niallp.pwp.blueyonder.co.uk/lazydynabean.html
http://www.niallp.pwp.blueyonder.co.uk/lazyactionform.html

Niall

These `LazyDynaBean' and `LazyActionForm' classes really are fantastic. 

Just had a chance to crank out a simple Struts web app for a client.
I copied and renamed, then edited blank.war. Built the whole thing
with one JSP / one DispatchAction sending asychronously JMS messages to 
control the flow of an EJB application. Look no action form!

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts 1.3 Snapshots ?

2005-01-17 Thread Pilgrim, Peter
 -Original Message-
 From: Craig McClanahan [mailto:[EMAIL PROTECTED]
 
 
 On Mon, 10 Jan 2005 13:54:42 -, Pilgrim, Peter
 [EMAIL PROTECTED] wrote:
  Is there any site where one can download Struts 1.3 Daily snapshots?
 
 The usual nightly builds:
 
   http://cvs.apache.org/builds/jakarta-struts/nightly/
 
 are compiled from the trunk of the repository, so they constitute
 snapshots of the ongoing 1.3 development.
 

I just downloaded the struts-20050117.zip. In order to be
useful to developers and to test them is there any JavaDoc 
API to go with these nightly builds?

Otherwise how do you know what you are programming against?

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts 1.3 Snapshots ?

2005-01-17 Thread Pilgrim, Peter

 -Original Message-
 From: James Mitchell [mailto:[EMAIL PROTECTED]
=====
 
 The source repository is under a bit of restructuring right 
 now, we will try 
 to get those back online ASAP.
 
 Can you use this for now?
 
 http://struts.apache.org/api/index.html
 

I actually had a look there earlier, I was looking for classes like 
**/*(Chain|Command)*.java. Did not see any thing like this pattern.
I wrongly assumed the javadoc was 1.2 only.

In truth I descended to the src folder from the repository trunk.
The ``struts-src=20050117.zip'' is about 27MB but the zip file does 
contain HTML JavaDoc, JAR files, TLDs, Chains configuration, various
Command and Chain implementations and the source code for 
everything. Whether it actually executes properly is another thing!

====

 - Original Message - 
 From: Pilgrim, Peter [EMAIL PROTECTED]

=====

 
  -Original Message-
  From: Craig McClanahan [mailto:[EMAIL PROTECTED]
 
 
  On Mon, 10 Jan 2005 13:54:42 -, Pilgrim, Peter
  [EMAIL PROTECTED] wrote:
   Is there any site where one can download Struts 1.3 
 Daily snapshots?
 
  The usual nightly builds:
 
http://cvs.apache.org/builds/jakarta-struts/nightly/
 
  are compiled from the trunk of the repository, so they constitute
  snapshots of the ongoing 1.3 development.
 
 
  I just downloaded the struts-20050117.zip. In order to be
  useful to developers and to test them is there any JavaDoc
  API to go with these nightly builds?
 
  Otherwise how do you know what you are programming against?

====


--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts 1.3 Snapshots ?

2005-01-17 Thread Pilgrim, Peter
 -Original Message-
 From: Joe Germuska [mailto:[EMAIL PROTECTED]

====

 
 
 At 4:34 PM + 1/17/05, Pilgrim, Peter wrote:
-Original Message-
   From: James Mitchell [mailto:[EMAIL PROTECTED]
 =====
 
   The source repository is under a bit of restructuring right
   now, we will try
   to get those back online ASAP.
 
   Can you use this for now?
 
   http://struts.apache.org/api/index.html
 
 
 I actually had a look there earlier, I was looking for classes like
 **/*(Chain|Command)*.java. Did not see any thing like this pattern.
 I wrongly assumed the javadoc was 1.2 only.
 
 In truth I descended to the src folder from the repository trunk.
 The ``struts-src=20050117.zip'' is about 27MB but the zip file does
 contain HTML JavaDoc, JAR files, TLDs, Chains configuration, various
 Command and Chain implementations and the source code for
 everything. Whether it actually executes properly is another thing!
 
 I haven't yet committed any of the code I was posting about last week 
 (I've had a drought of free time to keep working on it).  Therefore, 
 what's in CVS is essentially struts-chain merged into the core and 
 specified as the default request processing mode, plus a few small 
 enhancements.  This code has been fairly stable for a while 
 (independent of the merge) so I am pretty comfortable guessing that 
 it will function as expected.
 

Should we wait until your commtit code has been marged?

 Given that there hasn't been a whole lot of feedback on that code, 
 I'm going to try to zero in on getting it committed as soon as I can 
 go through a few more basic checks, with the belief that more people 
 will notice any problems if it's in the repository!  Note that I'm 
 not only looking for bugs, but also critiques of a couple of design 
 decisions, so in contrast to the last year or more of Struts 
 development, it will be important to take to heart typical warnings 
 about API stability, at least in these new areas.
 

I think the daily snapshot of the binary only release should be changed to
include the generated javadoc of the whole API, especially for
those developers who definitely do not want to work with the source
code directly. I am interesting in developing some Struts chain
code because I have some requests to build database table report
and browsing on-line applications. Small scale web apps, so it
is an opportunity to test the ease of development and compare
how we use to do it in 1.1 and against what we could do now.

Also if you do deliver binaries, then javadoc writing has to be
up to scratch. Most of the committers in Struts have been writing
copious javadoc that is very well documented about the purpose
of a class and method, and including exceptions. Thanks!

When I downloaded the struts-src-20050117.zip file it had JAR binaries
related to struts-faces and shale. So I am confused. Are these binaries
built against the lastest sources themselves or are they themselves
legacy.

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Struts 1.3 Snapshots ?

2005-01-17 Thread Pilgrim, Peter


 -Original Message-
 From: Craig McClanahan [mailto:[EMAIL PROTECTED]
====
 
 
 On Mon, 17 Jan 2005 17:22:16 -, Pilgrim, Peter
 [EMAIL PROTECTED] wrote:
 
  When I downloaded the struts-src-20050117.zip file it had 
 JAR binaries
  related to struts-faces and shale. So I am confused. Are 
 these binaries
  built against the lastest sources themselves or are they themselves
  legacy.
 
 The binaries of the nightly build have always been created by running
 ant clean dist in the core module ... whatever that thing creates
 is the binary distribution that is uploaded.

The thing that get uploaded should contain some javadoc is all I am 
saying. I am not disputing the process. If it does not then it should
be available as a separate download.

 
 The source distro isn't supposed to contain any JARs or Javadocs ...
 it should only contain the source code, and should be buildable given
 appropriate build.properties files of your own to point at the
 dependencies. I'll look at that.  Just yesterday I was trying to adapt
 to the various changes, and it's going to take a while to work out the
 kinks.

Yes this makes sense. As most source distribution do not contain
javadoc or prebuilt jar just as old C++ code distribution do not contain
shared libraries or objects . I just noticed the raw JARs in the 
source distribution.

 
 Keep in mind that the structure of the repository is rapidly changing
 at the moment, so expecting stable results with the nightly builds is
 not a good idea right now :-).  Your best bet is to check out the
 current pseudo-project from SVN yourself.
 
Thanks for the heads up. I'ill do SVN from my home office. 
We are not quite ready for primetime yet at banking headquarters. Ta.

  Peter Pilgrim
 
 Craig



--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Struts London Networking / Seasons Greeting / BOF VII / Friday 28 Jan 2005 @ 19:15 / Planning

2005-01-14 Thread Pilgrim, Peter
Hi 

Welcome back. It's 2005. The time has nearly come for the 
Seventh BOF Struts London Networking.

I think it is time to rename the group for 2005 to support the
relevances of Faces technology. This would allow enthusiasts
for standard JSF, MyFaces and Shale to join our merry band.
I propose we rename the group to ``Struts  JSF London Networking''. 
Are there any objections?

Can I also start to have to some confirmations on 28 January 2005
please?

BTW: Any suggestions for a venue in central London?
I will set the venue by COB (Close of Business) Monday.

BTW 2:There is also Java Special Interest Group meeting at lunch 12:00-14:00
at Sun's London Educational Offices, the nearest Underground tube is Bank.
I believe it is about Tiget J2SE 5.0 taking place on the same day 28/01/2005



 -Original Message-
 From: Pilgrim, Peter 

====

 
 I am planning the seventh Birds-of-Feather Struts London Networking
 for Friday 28th January 2005. (NB: This is a prelimanary date, 
 it might change next year! )
 
   1) The venue is not yet planned: Central London, West End, 
   the Docklands? Any suggestions / preference let me know.
   2) The agenda is not yet planned.
 
 Let me know who will / wants to definitely attend. All are
 welcome see http://www.strutslondon.com . If you are flying
 into the UK, London and want to attend email offline.
 

====


--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Struts 1.3 Snapshots ?

2005-01-10 Thread Pilgrim, Peter
Is there any site where one can download Struts 1.3 Daily snapshots?

mtia

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] Struts London Networking / Seasons Greeting / BOF VII / Frid ay 28 Jan 2005 @ 19:15 / Planning

2004-12-17 Thread Pilgrim, Peter
First of all

Seasons Greeting to all Struts Users
http://web.icq.com/shockwave/0,,4845,00.swf

I am planning the seventh Birds-of-Feather Struts London Networking
for Friday 28th January 2005. (NB: This is a prelimanary date, 
it might change next year! )

1) The venue is not yet planned: Central London, West End, 
the Docklands? Any suggestions / preference let me know.
2) The agenda is not yet planned.

Let me know who will / wants to definitely attend. All are
welcome see http://www.strutslondon.com . If you are flying
into the UK, London and want to attend email offline.

I am away from the office from 20/Dec/2004 to 05/Jan/2005. 
When I return I will finalise (1) and (2). Until then, have a 
great winter festival, code J2EE, Struts, etc and ...

HAPPY NEW YEAR

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Pilgrim, Peter
Where does it say Common Chain is now released at V1.0


--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497



 -Original Message-
 From: Julian [mailto:[EMAIL PROTECTED]
 Sent: 10 December 2004 14:29
 To: Struts Users Mailing List
 Subject: Common Chain 1.0 and Struts Chain
 
 
 Hi,
 
 I was wondering if the release of Commons Chain 1.0
 will enable a Best Available release of Struts with
 struts-chain?  If not, how stable is the COR stuff in
 Struts?
 
 Thanks,
 Julian
 
 
   
 __ 
 Do you Yahoo!? 
 Take Yahoo! Mail with you! Get it on your mobile phone. 
 http://mobile.yahoo.com/maildemo 
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Common Chain 1.0 and Struts Chain

2004-12-10 Thread Pilgrim, Peter

 -Original Message-
 From: Niall Pemberton [mailto:[EMAIL PROTECTED]
 
 
 http://article.gmane.org/gmane.comp.jakarta.commons.devel/58801
 
 - Original Message - 
 From: Pilgrim, Peter [EMAIL PROTECTED]

 
  Where does it say Common Chain is now released at V1.0
 
 
  --
  Peter Pilgrim

====
 
Sugar.

I looked and downloaded the thing this morning and it was still said 0.2
There's nothing like Internet time!
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] Complicated Digester Rules [ RE: Common Chain 1.0 and Struts Chain ]

2004-12-10 Thread Pilgrim, Peter

 -Original Message-
 From: Niall Pemberton [mailto:[EMAIL PROTECTED]
 
 Also in jakarta news
 
 http://jakarta.apache.org/site/news/news-2004-2ndHalf.html
 
 and its listed in the Releases section on the Commons Chain site:
 
 http://jakarta.apache.org/commons/chain/
 
====

Cheers Niall

The reason I downloaded the chain again, because I want to study
the chain implementation. I think the Chain would make a good 
invocation AOP/IoC element, if you want to inject some complicated
rules driven advice ... but not this thread

I also wanted looked close at the Digester rules in the Chain 
implementation. I am not if I follow everything in it.

Does any one have a HOWTO and GUIDE into writing Digester rules,
config set and possibly regexp rules?

I have written some Digester stuff and now I want to refactor it
because there is a lot of commonality with the XML grammar (DTD) 
and the stuff I have now is becoming terser every version.

mtia

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Struts Networking / BOF VI / Friday 10 Dec 2004 / AGENDA

2004-12-10 Thread Pilgrim, Peter
Hello
 
I will be in the area of Leicester Square for 6:30PM I think. I will be in
the pub The Trafalgar? which is next door to the Odean Leicester
Square and to left of the Capital Radio. 
 
If you arrive early you can meet me there before going to the restaurant.
 
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497



-Original Message-
From: Pilgrim, Peter 
Sent: 09 December 2004 14:02
To: Pilgrim, Peter; Adam Hardy (E-mail); Alan Mehio (E-mail); Alex McLintock 
(E-mail); Allister Sneddon (E-mail); Charles Cordingley (E-mail); Christopher 
Marsh-Bourdon (E-mail); Daniel Perry (E-mail); Duncan Mills (E-mail); Hue 
Holleran (E-mail); John Bell (E-mail); Jonathan Butler (E-mail); Marco Mistroni 
(E-mail); Niall Pemberton (E-mail); 'Peter Pilgrim (Xenonique)'; Suman 
Prashanth. S (E-mail); Thomas Plümpe (E-mail); Tim Penhey (E-mail)
Cc: 'Struts User Apache (E-mail)'
Subject: RE: [OT] Struts Networking / BOF VI / Friday 10 Dec 2004 / AGENDA




London Struts Networking BOF VI


 


Agenda


 

Since it is nearly Xmas, rather than concentrate entirely on niche and very 
specialist topics, I want to generalise and open-up the discussions during the 
evening. I have put together a basic agenda of themes.

 

Depending on the seating arrangements and who turns up I might swap seats with 
somebody after the starter, and then again before the desert or extra drinks to 
give everyone a chance to talk to everyone else.

 




Looking forward to next year 2005


 

*   Which technologies are going to be hot? 

*   What was the brilliant in 2004? 

*   What are the things that should be consigned to /dev/null forever?

 


The State of the Struts Address


 

[This topic probability ties into the next one.]

*   Struts was literally rocking in 2001. It is still doing its thang in 
2004, but will it continue to glide splendidly across the dance floors in 2007? 

*   What is the different between Jericho and Shale?


Is anyone planning a project with Faces?


 

*   Jumping into bed with Struts and/or JSF? 

*   If you have such plans we'd definitely like to hear them.

 


Your Shout


 

*   What topics are interesting to you?

 


Networking Website


 

*   We haven't done much with the official web site  
http://www.strutslondon.com/ http://www.strutslondon.com. Why not?


AOB


 

 

 

See you there!

 

Wagamamas, Leicester Square

serving great, fresh and nutritious [orientally asian 

derived rice/noodles] food in an elegant, yet 

simple environment. 

14a Irving street

London WC2H 7AF

Tel 020 7839 2323

 

  http://www.streetmap.co.uk/newmap.srf?x=529944 
http://www.streetmap.co.uk/newmap.srf?x=529944y=180641z=0sv=WC2H+7AFst=2pc=WC2H+7AFmapp=newmap.srfsearchp=newsearch.srf
 
y=180641z=0sv=WC2H+7AFst=2pc=WC2H+7AFmapp=newmap.srfsearchp=newsearch.srf
 

  Nearest tube Leicester square or Charing cross

 

  Friday 10th Dec 2004 @ 19:15

 

 

Peter Pilgrim

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497



==
This message is for the sole use of the intended recipient. If you received 
this message in error please delete it and notify us. If this message was 
misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains 
and monitors electronic communications sent through its network. Instructions 
transmitted over this system are not binding on CSFB until they are confirmed 
by us. Message transmission is not guaranteed to be secure.
==


RE: [OT] Struts Networking / BOF VI / Friday 10 Dec 2004 / AGENDA

2004-12-09 Thread Pilgrim, Peter

London Struts Networking BOF VI


 


Agenda


 

Since it is nearly Xmas, rather than concentrate entirely on niche and very
specialist topics, I want to generalise and open-up the discussions during the
evening. I have put together a basic agenda of themes.

 

Depending on the seating arrangements and who turns up I might swap seats with
somebody after the starter, and then again before the desert or extra drinks
to give everyone a chance to talk to everyone else.

 




Looking forward to next year 2005


 

*   Which technologies are going to be hot? 

*   What was the brilliant in 2004? 

*   What are the things that should be consigned to /dev/null forever?

 


The State of the Struts Address


 

[This topic probability ties into the next one.]

*   Struts was literally rocking in 2001. It is still doing its thang in 
2004,
but will it continue to glide splendidly across the dance floors in 2007? 

*   What is the different between Jericho and Shale?


Is anyone planning a project with Faces?


 

*   Jumping into bed with Struts and/or JSF? 

*   If you have such plans we'd definitely like to hear them.

 


Your Shout


 

*   What topics are interesting to you?

 


Networking Website


 

*   We haven't done much with the official web site
http://www.strutslondon.com/ http://www.strutslondon.com. Why not?


AOB


 

 

 

See you there!

 

Wagamamas, Leicester Square

serving great, fresh and nutritious [orientally asian 

derived rice/noodles] food in an elegant, yet 

simple environment. 

14a Irving street

London WC2H 7AF

Tel 020 7839 2323

 

  http://www.streetmap.co.uk/newmap.srf?x=529944
http://www.streetmap.co.uk/newmap.srf?x=529944y=180641z=0sv=WC2H+7AFst=2pc=WC2H+7AFmapp=newmap.srfsearchp=newsearch.srf
y=180641z=0sv=WC2H+7AFst=2pc=WC2H+7AFmapp=newmap.srfsearchp=newsearch.srf

  Nearest tube Leicester square or Charing cross

 

  Friday 10th Dec 2004 @ 19:15

 

 

Peter Pilgrim

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston,
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497



==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


RE: [OT]Threads and Servlets Question

2004-12-08 Thread Pilgrim, Peter
 -Original Message-
 From: Yves Sy [mailto:[EMAIL PROTECTED]
 
 
 Here's a follow-up question:
 
 I remember creating a thread in one of my Action classes because I
 needed to show a Wait while your request is being processed... page.
 
 The flow goes something like:
 1. the MAIN thread returns an ActionForward right away that
 contains the processing page;
 2. the NEW thread I created goes ahead and makes the back-end call
 that takes a considerable amount of time to process;
 3. After NEW thread returns with the results, it sets a flag in
 the session that it's done with the processing;
 4. Meanwhile, the processing page keeps refreshing itself and
 sending execution to an action which checks for the session flag set
 in #3;
  5. When it finally finds the session flag, it forwards 
 to the results page.
 
 Its working fine for me. No weird behavior on Weblogic or SAP WAS.
 Although now I'm curious: Is there a better way to approach this
 problem?
 
 Regards,
 -Yves-

As others have noted JMS is one way of handling asynchronous processing.
You can think of it as glorified publish and subscribe / observer and
observee, since only an instruction is being passed.

What you describe is one of the solutions an idiom for asynchronous 
processing. You solution is cool for ``indeterminates datasets' where
you cant tell in advance how much data you have to query.

Generalise the step 2,3,4 into this.

2. the new LONG TERM thread LT is created and the ActionForm B
associated with the HttpSession (per Login account) registers its
self as a Observer of LT.

3. Whilst LT is processing, every so often, it fired an notification
event of the progress to the registered listener.

4. The processing page is refreshing or a Web User submits the page
for a new update. The Processing Action only has to call the accessor
of the ActionForm B to find out how far the LTT has process.

This is the solution for `determinate dataset'.

I have implemented the `determinate dataset' solution for the
`eForum' component that uses `Expresso Framework'. 
This framework has support for `Jobs' for long term processes.
I wrote a `Job' to index the forum messages using the Jakarta
Lucene and it has a `IndexingProgressionBean' or something
like that ...

You also might want to check out the `Quartz Scheduler'.

hth

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Struts Networking / BOF VI / Friday 10 Dec 2004 / 19: 15 / REMINDER

2004-12-07 Thread Pilgrim, Peter
 - Original Message - 
 From: Pilgrim, Peter [EMAIL PROTECTED]

====

The next birds-of-feather London Struts Networking meet up is 
taking place at


Wagamamas, Leicester Square
serving great, fresh and nutritious [orientally asian 
derived rice/noodles] food in an elegant, yet 
simple environment. 
14a irving street
London WC2H 7AF
Tel 020 7839 2323

http://www.streetmap.co.uk/newmap.srf?x=529944y=180641z=0sv=WC2H+7AFst=2pc=WC2H+7AFmapp=newmap.srfsearchp=newsearch.srf
Nearest tube Leicester square or Charing cross

Friday 10th Dec 2004 @ 19:15


So far the following people have confirmed:

Charles Cordingley,
Adam Hardy,
Marco Mistroni,
Christopher Marsh-Bourdon,
Alan Mehio,
John Bell,
Niall Pemberton,
Peter Pilgrim

People who would like to come along but cant:

Hue Holleran

Anyone else who 'd like to attend contact me offlist.

BTW: Here is the restaurant's website:
 
  http://www.wagamama.com/
 
  This is Flash site so you cant jump to the link choose
  location - central london - leicester square
 
 

http://www.multimap.com/map/browse.cgi?client=publicdb=pclang=addr1=client=publicaddr2=advanced=addr3=pc=WC2H7AFquicksearch=WC2H+7AFcidr_client=none



--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: [OT] Eclips 3.01 + IBM WTP + Tomcat 5

2004-11-29 Thread Pilgrim, Peter

 -Original Message-
 From: Eddie Bush [mailto:[EMAIL PROTECTED]
====
 
 
 Has anyone successfully setup IBM WTP with Tomcat 5 under 
 Eclipse 3.01?
 Every time I go to fire the server off it fails and says 
 there was a problem in thread main.  I can launch Tomcat just 
 fine from the command prompt or as a service :-|
 My guess is that it's doing something wrong in trying to 
 launch Tomcat (duh!), but I can't find a confuration 
 parameter that's incorrect and I can't find any other handle 
 by which to control things or even tell which end it thinks is up.
 Anyone experienced / solved this?

====
 

0) Look under Eclipse menu Windows-Preferences , see if you
can fine the tabbed pane for the plug-in that launching
the application / web server.

1) What does WTP stand for?

2) Have you looked at the Sysdeo Eclipse Plug-in?
This can launch Tomcat 3,4,5 fine.

3) Eclipse and Big Project are notorious for out of memory errors.
Under windows XP you need configure the Shortcut for 
``C:\opt\eclipse\Eclipse.exe'' and add something like 
`` --vmargs -Xss32m -Xmx256m '. Keep the stack size low
for lots of threads, and increase the heap space as proportional
to 1/3 to 1/2 of RAM on your PC (for big projects 2000 classes or more)

The same advice might apply to another Java programs you 
launch under the control of Eclipse, ie Debugging or Running apps, 
JUnit tests, or launching web / app servers if they do not add 
configuration for their own memory requirements.

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Reset button does not clear JSP fields

2004-11-29 Thread Pilgrim, Peter

 -Original Message-
 From: aris [mailto:[EMAIL PROTECTED]
 
 
 Instead of a reset you could use a simple button and the 
 related onClick
 event to call a javascript that sets all field to .
 What do you think about this workaround?
 Take note that it isn't an expected behaviour for a reset 
 button. I suggest
 you to name such a button with a value different from 
 reset. What do you
 think about wipe or erase?
 Bye,
 aris.
 
 - Original Message - 
 From: O. Oke [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Monday, November 29, 2004 3:01 PM
 Subject: Reset button does not clear JSP fields
 
 
  Please help!
 
  Background
  ==
  I retrieve data from the database, copy the data into
  an Action Form, the data is then automatically entered
  into corresponding fields.
 
 
  After viewing the data, I want the RESET button to
  empty all fields whenever it is clicked.  Presently,
  after clicking the RESET button, all fields still have
  data.  I believe the fields are repopulated with the
  data in the Action Form.
 
  Does the RESET button have to forward to an Action
  class that in turn replaces the relevant Action Form
  in the relevant scope with an Action Form that has no
  data? If not, can you please tell me the conventional
  Struts way of setting all JSP fields to empty.
 

There is no conventional method. I recommend that you 
avoid html:cancel because it is slightly confusing.

The way I did is, is assume that RESET or REVERT button
is just same behaviour to a SUBMIT button in terms of Struts

See below

  Note:  In the reset method of the Action form, I set
  all fields to  .
 
  Thank you.
 
  O. Oke


====

What kind of reset functionality do you need ?

1. Reset as in Clear

Clear all the input fields in a HTML Form to be blank.

2. Reset as in Revert

Change all the input fields back to their original values,
before the user edited the form.


With (1) you can write a function with JavaScript to navigate
your around the DOM for your HTML Form element. You can
make an Struts Action that clears the ActionForm for you
(the so-called going back to the server option).

With (2) you can program it with JavaScript, quick tricky
to do but not impossible. It is much easier to do this
inside server side Java. You will need to make the ActionForm
session scope. It will have to have to duplicate beans or
delegated beans inside, but if you know Commons BeanUtils
you can copy the value of one bean to another easily.

I would use delegated beans for this to implement (2) revert

class EmployeePayrollBean { ... }

class SomeDahForm extends ActionForm {

EmployeePayrollBean payroll = ... ;
EmployeePayrollBean payroll_backup = ... ;

// assume getter/setter methods exists
}

In the Action itself  

class SomeTypeOfAction extends Action {

public void execute( ... ) {

if ( button.equals(REVERT) {

BeanUtils.copyProperties( 
yourform.getPayroll(), 
yourform.getPayrollBackup() );
// forward request back to JSP/view
}
}
}

Because of the nested properties in Struts/Commons BeanUtils/JSTL the
above shouldn't be a problem for creating a JSP.

It is trivial to take the Common BeanUtils API to write a ``GenericBean''
resetter that will reset all properties of a POJO to 
either  0, 0.0F, 0.0,  , null 
(but be very careful list Java Collections!!!)

HTH

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: talking about paradigms

2004-11-17 Thread Pilgrim, Peter

 -Original Message-
 From: Don Brown [mailto:[EMAIL PROTECTED]
====
 
 
 Now, now, Peter, you can't quite say that since you met me at the
 Struts user group at JavaOne. :)  I've used stxx, an XML
 transformation Struts extension, for a production app and have been
 pretty happy with it.  Performance is good, as long as one has memory
 resources available.  The stylesheets can be cached when compiled, and
 using a decorator tool like sitemesh, the pages your XSL generates are
 quite small.  The big disadvantage, as I see it, is it requires XSLT
 knowledge, which most web developers don't have.  I probably wouldn't
 recommend it for apps that don't have their data in XML and don't need
 multiple views.
 
 Don

Don, it's bean so long that I cant remember all the discussions
from July this year, so there you go. My apologises, because
I dont remember Stxx coming up in the conversation. 
Yeah! I agree XSLT is a bit harder to fathom for 
web page designers too. The use case is multiple views, 
data already stored and prepared in XML i.e. XML database / report
or web services.

 
 
 On Tue, 16 Nov 2004 17:59:48 -, Pilgrim, Peter
 [EMAIL PROTECTED] wrote:
  
  
  
  
   -Original Message-
   From: Dakota Jack [mailto:[EMAIL PROTECTED]
   Sent: 16 November 2004 17:46
   To: Struts Users Mailing List
   Subject: Re: talking about paradigms
  
  
   Bill,
  
   Sounds like you don't need what XSLT provides.  The 
 important thing, I
   think, is to make sure that the framework leaves that 
 option open for
   those that want it and does not require that option to 
 those who do
   not want it.  I am not privy to the details of your 
 application, of
   course, but adding code to the controller to assist in the
   presentation seems to me to indicate a serious design flaw.  That
   simply is not the business of the control layer, if you 
 are using the
   control layer in an MVC pattern.  Part of your bad experience with
   XSLT sounds like it is not related to the view issues but to some
   confusion in the architecture of the application?  Not 
 knowing much
   about the details, this is probably a harsh assessment, 
 but it is what
   I would intuitively expect to find.  My head keeps saying 
 What the
   heck is the controller doing generating XML?.  The 
 controller should
   be deciding what to do about user input given whatever 
 strategy the
   application has adopted.
  
   Jack
  
  
   On Tue, 16 Nov 2004 10:55:52 -0500, Bill Siggelkow
   [EMAIL PROTECTED] wrote:
Jack,
   
What I found was that alot of Java code to generate XML
   (using DOM API)
had to be added in the controller layer to facilitate 
 the view; for
example, an odd/even indicator was added just to facilitate
   striping on
the generated HTML table; to me, this seems downright
   overkill for some
feature that is purely presentation (granted, the
   developers could have
avoided this through better use of XSLT).
   
Personally, I've never warmed to the idea of using the
   XML/XSLT approach
when the data is already in the form of a Java object; 
 it just seems
like an extra step that doesn't buy me a whole lot.
   
-Bill Siggelkow
   
  
  I have never come across anyone in a face-to-face who uses
  the XML/XSLT approach at least with Struts. I met a straight-up
  Cocoon fantastic a few years ago, but by then he was moving
  away from XSLT to proprietary web application framework on
  some app server.
  
  This biggest problem of the XML is the transformation phase,
  and it sounds like that the original tabular XML was not
  augmented with attributes to say this is hint render
  this row in green and now render that next row with
  white background. Then an XSLT can be written to easily
  transform things around (or not as the case may be).
  
  I think XML/XSLT pipeline is useful for static stuff that
  mostly does not change frequently. How did you find the
  XSLT transformation performance on your project?
  Did you cache the XSLT results somewhere?
  

====



--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] GMail Invite

2004-11-17 Thread Pilgrim, Peter

Anyone got a spare GMAIL invite pending.

I subscribed to the flaming thing a couple of months, but
I forgot both my gmail username and password log. 

I invented some security noshbit that is unfathable or 
gmail admin have locked the account. (I wanted check out
some javascrpt that google have invented or copied)

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497


==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: talking about paradigms

2004-11-16 Thread Pilgrim, Peter
All mixed up below

 -Original Message-
 From: Rosenberg, Leon [mailto:[EMAIL PROTECTED]
 Sent: 16 November 2004 10:58
 To: Struts Users Mailing List; Dakota Jack
 Subject: AW: talking about paradigms
 
 
 Hi Jack,
 
 I like you kind of cashing out, but I think your diagram 
 misses some points. In fact the view-controller itself is a 
 view on the application model, where the business logic unit 
 (which can be a component in a co-architecture i.e. 
 session-bean) is the appropriate controller. So a complex 
 mvc-architecture, contains more than one controller, but a 
 grid of smaller mvc cycles, each of them being the view on 
 the previous controller.
 
 You are partially right talking about Webframeworks as not 
 truly MVC, at least they do not have the possibility of 
 callbacks from controller to view (see also 
 subject/observer), but on the other hand, there is no need 
 for explicit back calling opportunity issued by Gamma as he 
 defined the MVC pattern. This why I think, we can still speak 
 about webframeworks as MVC, keeping in mind, that they are 
 solely client triggered.
 

The design for web application is never not quite MVC as in 
the original Smalltalk definition / example, because of
the limits of the HTTP / HTML protocols. Although stuff
like Faces / Tapestry try there best to get around the
missing update from the presentation (view) back to the 
controller.

The classic MVC is the joystick (or input device) and model
(map of a country) and several views ( GUIs anything
you like such as VDUs, projectors). With the GUI programming
in Swing ( and I think SWT) the controller and view are
mashed together in a windows API. However you can still
think of them as being separate because the windows
API generates input event 
(mouse buttons and movement, keyboard keys) and incorporates
a separate rendering pipeline (repaint this window or region
of a window etc).

With webapp and classic HTML development the notifications
are broader than the windows API for operating system. Namely
you can only have Get me a next web page and Render a new
page. Hence the multitude of solutions out there to 
make the notification more narrow, or fine-grain, from 
JSF, to MM Flex, to JDNC.

I unable, personally, to see the landscape changing unless
the underlying protocol HTTP is revisited by W3C. Maybe
a universal standard will come along that will say
Fire event for this abstract webpage input and a
corresponding notification Please just (re-)render for
this abstract web component with the content I am
sending you now. Yeap with baited breathe ...

====

  -Ursprüngliche Nachricht-
  Von: Dakota Jack [mailto:[EMAIL PROTECTED]
  Gesendet: Montag, 15. November 2004 20:46
  An: Struts Users Mailing List; [EMAIL PROTECTED]
  Betreff: Re: talking about paradigms
  
  The whole discussion about MVC and web frameworks is important, I
  think, because not many cash it out when to do so (cash it 
 out) would
  be helpful for discussion.  We might try some way of 
 refering to this
  such as WEBMVC.  Anyway, the MVC pattern, taken literally, is
  impossible in a web framework.  What is possible is 
 something like the
  following where the arrows indicate where there is a coupling:
  
View == Controller == Model
  
  Here the Model and the View are completely decoupled.  But, 
 even this
  is almost a total representation of what is really going 
 on.  What is
  really going on is that the response object is ultimately HTML and
  that the JSP pages are part of creating the response object, so that
  JSP pages inherently provide a smart-serverside View.  This 
 all is not
  simple to cash out.  I have a sample beginning of cashing 
 this out at
  http://131.191.32.112:8080/ , which, if others want to provide
  alternative way of viewing this I will show them all.  The most
  important thing, I think, is to distinguish between the 
 View data and
  the Model data.  That is the distinction, I think, that 
 Craig makes in
  JSTL between iteration and sql statements in JSP.
  
  Jack
  
  
  --
  You can't wake a person who is pretending to be asleep.
====



--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44-(0)207-883-4497

==
This message is for the sole use of the intended recipient. If you received 
this message in error please delete it and notify us. If this message was 
misdirected, CSFB does not waive any confidentiality or privilege. CSFB retains 
and monitors electronic communications sent through its network. Instructions 
transmitted over this system are not binding on CSFB until they are confirmed 
by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL 

RE: talking about paradigms

2004-11-16 Thread Pilgrim, Peter


 -Original Message-
 From: Dakota Jack [mailto:[EMAIL PROTECTED]
 Sent: 16 November 2004 17:46
 To: Struts Users Mailing List
 Subject: Re: talking about paradigms
 
 
 Bill,
 
 Sounds like you don't need what XSLT provides.  The important thing, I
 think, is to make sure that the framework leaves that option open for
 those that want it and does not require that option to those who do
 not want it.  I am not privy to the details of your application, of
 course, but adding code to the controller to assist in the
 presentation seems to me to indicate a serious design flaw.  That
 simply is not the business of the control layer, if you are using the
 control layer in an MVC pattern.  Part of your bad experience with
 XSLT sounds like it is not related to the view issues but to some
 confusion in the architecture of the application?  Not knowing much
 about the details, this is probably a harsh assessment, but it is what
 I would intuitively expect to find.  My head keeps saying What the
 heck is the controller doing generating XML?.  The controller should
 be deciding what to do about user input given whatever strategy the
 application has adopted.
 
 Jack
 
 
 On Tue, 16 Nov 2004 10:55:52 -0500, Bill Siggelkow
 [EMAIL PROTECTED] wrote:
  Jack,
  
  What I found was that alot of Java code to generate XML 
 (using DOM API)
  had to be added in the controller layer to facilitate the view; for
  example, an odd/even indicator was added just to facilitate 
 striping on
  the generated HTML table; to me, this seems downright 
 overkill for some
  feature that is purely presentation (granted, the 
 developers could have
  avoided this through better use of XSLT).
  
  Personally, I've never warmed to the idea of using the 
 XML/XSLT approach
  when the data is already in the form of a Java object; it just seems
  like an extra step that doesn't buy me a whole lot.
  
  -Bill Siggelkow
  

I have never come across anyone in a face-to-face who uses
the XML/XSLT approach at least with Struts. I met a straight-up
Cocoon fantastic a few years ago, but by then he was moving
away from XSLT to proprietary web application framework on
some app server.

This biggest problem of the XML is the transformation phase,
and it sounds like that the original tabular XML was not
augmented with attributes to say this is hint render
this row in green and now render that next row with
white background. Then an XSLT can be written to easily
transform things around (or not as the case may be).

I think XML/XSLT pipeline is useful for static stuff that
mostly does not change frequently. How did you find the
XSLT transformation performance on your project? 
Did you cache the XSLT results somewhere? 

  
  
  Dakota Jack wrote:
   Yet, Bill, that is not the problem of the XML/XSLT model, 
 is it?  That
   model is really cool in separating the model from the 
 view.  Indeed,
   that model is great at separating the view data from the view
   presentation.  I am not sure what the app you worked on did, but I
   think the idea behind the XML/XSLT model is terrific.  
 Essentially, as
   I undestand it, the XML is sent and is in some language that the
   client may or may not understand.  So, the XSLT contains a crash
   course in the language.  That is way cool from my perspective.
  
   Jack
  
   P.S.  I really liked Eddie Bush's Jedi Knight take on development.
   That is quite true in my experience.  Usually these 
 metaphors break
   down pretty fast.  That one held up pretty good.  
 Probably due to the
   master Campbell being behind the mythology of Star Wars.
  
  
   On Mon, 15 Nov 2004 09:43:19 -0500, Bill Siggelkow
   [EMAIL PROTECTED] wrote:
  
  Sorry, I haven't been following this thread, but I tend 
 to agree with
  you. I worked on an app that used XML/XSLT to achieve 
 purity -- and
  what resulted was a lot of this view helper data coded 
 into the pure
  XML document; defeating the premise behind separation of 
 the model and view.
  
  -Bill Siggelkow
  
  
  
  Daniel Perry wrote:
  
  I think the idea that MVC architecture should have a 
 'dumb view' is totally
  wrong.  The view should be as smart as possible.
  
  MVC should separate the M, V and C.  With a really smart 
 view you dont have
  to do any preparation for the view in the controller.  
 If you have a dumb
  view then you have to prepare the data in the 
 model/controller so that the
  view can cope with it.  Surely this is wrong as you are 
 doing view
  processing outside of the view. Personally i think ALL 
 view processing
  should be done in the view: the view code (be it jsps, 
 java, xml/xsl, etc)
  should take model data, and produce a view of that data 
 - and it should be
  flexible.
  
  The problem with a smarter (or better worded: more 
 capable) view is that
  people start doing things in the view which shouldnt be 
 done there, such as
  database access.  I dont think this is down to a problem 
 with the view
  technology, just a 

[OT] RE: Struts Networking BOF V Summary Report please amend V OROOID

2004-11-09 Thread Pilgrim, Peter
See my intermixed comments below 

 

 -Original Message-
From: Alan Mehio [mailto:[EMAIL PROTECTED]
Sent: 09 November 2004 10:25
To: Pilgrim, Peter
Subject: Struts Networking BOF III Summary Report please amend

 
The fifth BOF was just a meeting I slotted into the November hole. It seems
that it was too soon for many people after the last one (22/10/2004) so I have
learnt from that. The next BOF will be on the Friday 10th December 2004,
almost one month exactly, and then the next BOF VII will be probably in late
January sometime.
 
At the moment, for the Xmas BOF I have decided to try out Wagamamas in
Leicester Square. We can probably go for a beer before and/or afterwards.
 
So if you have a different suggestion for a restaurant, NOW IS THE TIME TO
SHOUT, 
SHOUT and let it all out.  Sorry been gripped by Tears 4 Fears just for a
moment, there.


 

 

The meeting was very technical and the focus was explaining different patterns
and why we use them.

Ref: http://home.earthlink.net/~huston2/dp/patterns.html
http://home.earthlink.net/~huston2/dp/patterns.html 

 

 

Factory 

1- Concerning the Factory pattern, we use it to hide and centralize the
object creation 

2- To  create different object based on some flag parameter 

3- Flexibility to change the classes in the factory without touching
affecting the code 

4- Can be exteranlize in an xml file using JNDI to create different object

5- For example  the creation of the mail session below. 

 

!-- Mail Session --

Resource name=mail/Session auth=Container type=javax.mail.Session/

  ResourceParams name=mail/Session 

parameter

  namefactory/name

  valueorg.apache.naming.factory.MailSessionFactory/value

/parameter

parameter 

namemail.smtp.host/name

value%SMTP_SERVER%/value 

/parameter 

  /ResourceParams

 

+1


The factory, I believe, is used to decouple the construction of the object

instance if the type is not known in advance. So you can say that it 

hides creation, but even better to say the factory virualises it.

 

We gave example about creating a wall in construction industry. Imaging you
have a factory to create a walls for you and to ship the wall to the
construction site to be assembled. If you have on site wall construction, it
will be spread on each floor of the building; as a result, if you want to
change the type of wall from concrete into bricks, you should walk through
each floor and make your changes. If you have a factory, you hide your
internal creation and centralize it. In the factory, you can change the type
of wall without any effort only you make a switch in your internal process.

 

 

Abstract Factory 

 

The purpose of the Abstract Factory is to provide an interface for creating
families of related objects, without specifying concrete classes

Builder focuses on constructing a complex object step by step [GOF, p126]

Abstract Factory emphasizes a family of product objects [GOF, p105] 

 

 

My mind went completely blank at the meeting. I remember what the
AbstractFactory really is. The best implementation

of it is obvious the Swing JFC classes, namely the pluggable look-and-feel for
Metal, Windows, Motif and Organic.

 

If anyone with JDNC experience wants to chime in here, be my guess. 



Often, designs start out using Factory Method (less complicated, more
customizable, subclasses proliferate) and evolve toward Abstract Factory,
Prototype, or Builder (more flexible, more complex) as the designer discovers
where more flexibility is needed. [GOF, p136]

If we take a factory to construct a wall or a geometric shape, we define the
frame work for construction; for example, the wall: height, width, depth,
location etc..

And we leave the wall's material to the implementer class. So the material is
an abstract method.  Peter can you give the example of the Geometric shape
factory

 Tim P will probably know this from his C++ programming. The best examples I
ever saw were in Jim Coplien's Advanced C++. 

Basically any book or paper of about OO GUI toolkit such as Swing, AWT, SWT or
even ancient OSF Motif and Xt will reveal these patterns.

 We will have a factory which build the real wall like: concrete, glass,
bricks, plastic, etc.. ; concerning the Geometric shape, we have a factory to
build circle, line, square, 3 d shape, etc..

 

Why we use the Abstract factory, it is simple since we do not know what we
want exactly to build and we only know the general idea like Geomertic shapes,
Walls so it will work like a guide lines to produce Shapes and Walls without
any specific implementation details. 

 

 

Visitor ( Behaviour Pattern)

Problem: Many distinct and unrelated operations need to be performed on node
objects in a heterogeneous aggregate structure. You want to avoid polluting
the node classes with these operations. And, you don't want to have to query

RE: [OT] BOF V / Coffee Shop / Starbucks / Oxford Street / Monday 8 Nov 2004 19:00

2004-10-28 Thread Pilgrim, Peter
Okay that does it for me. ;-)

We will make the Xmas BOF on a Friday 10th December 2004 @19:30, 
then. I got my heart set on Wagamammas just off Leicester Square, 
there abouts on Charing Cross Road. So unless there are some 
objections ...

www.strutslondon.com

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44 (0)207 883 4447



 -Original Message-
 From: Marco Mistroni [mailto:[EMAIL PROTECTED]
 Sent: 28 October 2004 11:09
 To: 'Pilgrim, Peter'; 'Alan Mehio (E-mail)'; 'Alex McLintock 
 (E-mail)';
 'Allister Sneddon (E-mail)'; 'Charles Cordingley (E-mail)'; 
 'Christopher
 Marsh-Bourdon (E-mail)'; 'Daniel Perry (E-mail)'; 'Duncan Mills
 (E-mail)'; 'Hue Holleran (E-mail)'; 'John Bell (E-mail)'; 'Jonathan
 Butler (E-mail)'; 'Niall Pemberton (E-mail)'; 'Peter Pilgrim
 (Xenonique)'; 'Suman Prashanth. S (E-mail)'; 'Thomas Plümpe (E-mail)';
 'Tim Penhey (E-mail)'
 Cc: 'Struts User Apache (E-mail)'
 Subject: RE: [OT] BOF V / Coffee Shop / Starbucks / Oxford Street /
 Monday 8 Nov 2004 19:00
 
 
 Hi guys,
   Apologize..can't make it... and don't wanna force 'whole group'
 to make it on a Friday...
 I will however appreciate if someone can posts the content of the
 discussion..
 
 With best regards
   marco
 
 -Original Message-
 From: Pilgrim, Peter [mailto:[EMAIL PROTECTED] 
 Sent: 28 October 2004 10:54
 To: Alan Mehio (E-mail); Alex McLintock (E-mail); Allister Sneddon
 (E-mail); Charles Cordingley (E-mail); Christopher Marsh-Bourdon
 (E-mail); Daniel Perry (E-mail); Duncan Mills (E-mail); Hue Holleran
 (E-mail); John Bell (E-mail); Jonathan Butler (E-mail); Marco Mistroni
 (E-mail); Niall Pemberton (E-mail); Peter Pilgrim 
 (Xenonique); Pilgrim,
 Peter; Suman Prashanth. S (E-mail); Thomas Plümpe (E-mail); Tim Penhey
 (E-mail)
 Cc: Struts User Apache (E-mail)
 Subject: [OT] BOF V / Coffee Shop / Starbucks / Oxford Street 
 / Monday 8
 Nov 2004 19:00
 
 
 Ok 
 
 I am setting a preliminary date for BOF V for Monday 8th November 2004
 @ 19:30. This will take place at the Starbucks Coffee shop on 
 New Oxford Street. Anyway it is 150 yards from the
 Tottenham Court Road tube. The shop
 stays open until to 10PM Monday-Thursdays. 
 
 StarBucks
 New Oxford Street WC1
 112/116 New Oxford Street
 London, England  WC1A 1HH
 
 http://starbucks.co.uk/en-GB/_Our+Stores/_Store+Locator/StoreL
 ocatorMap.
 htm?a=1StoreKey=25147IC_O=51.5159402487287%3a-0.135845058773
 215%3a32%3
 aOxford+StGAD1_O=GAD2_O=Oxford+StGAD3_O=London+W1D+1GAD4_O
 =United+Ki
 ngdomRadius=5CountryID=242DataSource=MapPoint.EUDistanceUn
 it=Kilomet
 er
 
 Or here
 
 http://www.streetmap.co.uk/streetmap.dll?G2M?X=529894Y=181411A=YZ=1
 
 
 I am doing this because there was no agenda at the last BOF.
 Some of the feedback I have had so far includes a wishlist
 to discuss other open source projects. e.g. Jakarta Commons / Using
 MySQL / Postgres SQL / Setting up Validator.  
 So obviously this style is a little bit more formal 
 and discussive than the other BOFs.
 
 So let's talk for a hour about about Design Patterns and Practical 
 User Experiences for BOF V. ( Hint: obviously the 
 Chain of Responsibility and its implementation in Commons Chain / 
 Struts Chain are quite relevant here.) 
 
 Those of you who want slip off the pub for a tipple afterwards 
 can do so, because the The Moon Underwater is a 5 minutes walk 
 around the corner, from Tottenham Court Road tube, 
 down Charing Cross Road.
 
 
 
 I am still in the process of organising BOF VI for Xmas / 
 December preliminary date for that one is either 
 [ ] Monday 6th December
 [ ] Friday 10th December
 
 The venue is either going to be a 
 [ ] Pub
 [ ] Restaurant (any suggestions Pizzaland, Wagamamas in Leicester
 Square)
 
 I wont try agenda-rise the Xmas BOF because of the spirit and
 festivities that are going to take place by then, but if any one 
 has a hot topic that they really want to discuss then 
 you know who to call ...
 
 
 
 mtia
 
 --
 Peter Pilgrim
 Operations/IT - Credit Suisse First Boston, 
 10 South Colonnade, London E14 4QJ, United Kingdom
 Tel: +44 (0)207 883 4447
 
 
 ==
 ==
 ==
 This message is for the sole use of the intended recipient. If you
 received
 this message in error please delete it and notify us. If this message
 was
 misdirected, CSFB does not waive any confidentiality or 
 privilege. CSFB
 retains and monitors electronic communications sent through 
 its network.
 Instructions transmitted over this system are not binding on 
 CSFB until
 they
 are confirmed by us. Message transmission is not guaranteed to be
 secure.
 ==
 ==
 ==
 
 

==
This message is for the sole use of the intended recipient. If you received

RE: [OT] Struts Networking / BOF IV / Friday / October 22 @ 19: 3 0 / Restaurant / The Furnace

2004-10-19 Thread Pilgrim, Peter
Hi 

Please see intermixed

 -Original Message-
 From: Pilgrim, Peter 
 
 Hi
 
 The reservation for the BOF IV at The Furnace has been confirmed
 yesterday. The following people are attending so far:
 
   Peter Pilgrim
   Alan Mehio
   Christopher Marsh-Bourdon
   Thomas Pluempe
   Tim Penhey
   Charles Cordingley
   Marco Mistroni
   ( Niall Pemberton - always has arrived later )
 
 If you want to also __definitely__ attend then please contact me 
 off-list ASAP.
 

I added two more people who confirmed

Niall Pemberton
Allister Sneddon

Here are the reservations details agains:

  
  During the last BOF III on the 13th September, Tim and Ali
  suggested that a nice Italian Pizzeria in and around
  Old Street, The Furnace.  I am thinking this would be a 
  very good idea for the next BOF night on a Friday, 
  because it would avoid neatly the pub weekend madness.
  We will get a decent chance to speak to eachother inside
  a restuarant.
  
  (24)
  The Furnace
  1 Rufus Street
  London
  n1 6pe
  t - 020 7613 0598
  Italian restaurant serving to notch pizzas, pastas and seafood. 
  http://www.shoreditchmap.co.uk/venu_eati.html#F
  

Here is the online map from Streetmap UK

http://www.streetmap.co.uk/newmap.srf?x=533222y=182647z=0sv=n1+6pest=2pc=n1+6pemapp=newmap.srfsearchp=newsearch.srf

There is a web site dedicated to Struts Networking London www.strutslondon.com

Thanks for listening
--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44 (0)207 883 4447

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



OT: [FRIDAY] RE: Arzttermin

2004-10-15 Thread Pilgrim, Peter

 -Original Message-
 From: Christoph Kutzinski [mailto:[EMAIL PROTECTED]
 Sent: 14 October 2004 08:31
 To: Struts Users Mailing List
 Subject: Re: Arzttermin
 
 
 Markus Heck wrote:
  Hallo Andreas,
  
  ich hab um 9:50 Uhr einen Arzttermin; ich meld mich dann noch mal
  und sag Bescheid, wann und ob ich heute noch komme.
  

Na Ja! Da tut mir auch leid, aber es ist bei mir egal ob Du kommst or
nicht kommst.

  Zu MAP:
  Dein Programm hab ich gestern noch getestet (mit einer Schleife über
  alle Sätze aus vip_products), ich hab noch eine Änderung eingebaut,
  dann war's korrekt. Programm steht unter 
 h:\orawork\map\stringpattern3.sql
  

Warum ist mein Programm immer gar nichts angetestet. Ich bitte ein Bit.

  zu Excel-Reports:
  Da hab ich gestern das mit dem Password gemacht, hab das 
 aber nur einmal
  kurz in der Entwicklung getestet. Da stehen die aktuellen 
 Sourcen unter
  h:\work\java\article\reports\src...\servlet (3 neue 
 Servlets). Falls Ihr
  eine Übergabe machen müßt.
  

Na das Quelle steht under den Verzeichniss H:\dem\naechste\galaxy\oder\winkel

  für Stefan zu Kostenlieferanten (hab weder Telefonnummer 
 noch Emailadresse):
  Die Patche, ich meine *9320 und *9360 stehen im 
 Project-Verzeichnis und
  sind bis auf die Änderungen vom Torsten vollständig. Die 
 müssen nur in
  PVCS eingecheckt werden und können hochgeschickt werden.
  

Warum benutzen Sie, die Gruppen, solche beschiessenden software als PCVS.
Haben Sie nicht nocht ClearCase gehoren?

Grussen Toersten an

  Damit Du noch an meine Sachen rankommst, mein Password (alles
  kleingeschrieben):
  Stadt, wo ich letzte Woche war mit angehängter 
 vierstelliger Jahreszahl.
 
 LOL
 
Verwirrendend laecherlich!

Well that is the extent of my spoken and written German, 
which I have forgetten in the past decade. 
So I guess it is quite crap now.


--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44 (0)207 883 4447


 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

==
This message is for the sole use of the intended recipient. If you received this 
message in error please delete it and notify us. If this message was misdirected, CSFB 
does not waive any confidentiality or privilege. CSFB retains and monitors electronic 
communications sent through its network. Instructions transmitted over this system are 
not binding on CSFB until they are confirmed by us. Message transmission is not 
guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[OT] ANN: Bridgetown IoC 0.80B-53

2004-10-12 Thread Pilgrim, Peter
 -Original Message-
 From: Matt Bathje [mailto:[EMAIL PROTECTED]
====

 
 Anyways, this is the way I see it: You can talk all you want, 
 and malign 
 struts and its developers all you want, but until you start 
 implementing 
 what you want, nothing will happen.
 
 Matt

LOL but very well said ...

====

Ok I ill just make this announcement a quickie, then

``Bridgetown'' concentrates on just being a ``Inversion of Control''
framework for now and provides a service oriented architecture through
``Service Beans'' configuration.

VERSION INFO

The current version is 0.8-B53.

(*) AOP Service Assembler default implementation
(*) Pointcut and Joinpoint XML configuration
(*) Convenience advice classes for method interceptor
(*) Method injection
(*) Constructor injection

The project page for Bridgetown can be found at
http://sourceforge.net/projects/bridgetown

There is also a web site dedicated to the project
http://bridgetown.sourceforge.net/

That's all she wrote ... Enjoy

--
Peter Pilgrim
Operations/IT - Credit Suisse First Boston, 
10 South Colonnade, London E14 4QJ, United Kingdom
Tel: +44 (0)207 883 4447

==
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



  1   2   >