RE: DanaFormBean and Non Primative property type

2002-10-04 Thread Galbreath, Mark
Okay, then, no, you can't directly because the only things HTTP carries are strings. But you can intercept the request in your action form, type-cast the returned String into your custom type and pass it to your ActionForm. Or based on the returned String, create a new MyClass( someValue ) and

JSP to forward to please wait page and then result JSP

2002-10-04 Thread JSP Use
I have a long runing querry (5 minutes plus). When a users enters the arguments, I want to submit forward to a please wait JSP, similar to Expedia. When the querry returns, I want the user to see the resulting report. ?? Suggestions? __ Do

Re: Business Logic Bean Question

2002-10-04 Thread John Owen
Ideally, you would want to create a subsystem that your perform() or execute() method interfaces with. Usually this subsystem consists of a business delegate that returns data usable by any view, an optional session facade and either ejbs or a collection of classes for retrieving data, called

RE: [OT] [session] Shared userId

2002-10-04 Thread Aravapalli, Udaya
Yes.It's disappointing. But I am also curious if anybody knows how the BIG sites handle this issue. Mainly if the licensing is based on the number of userIds , the purpose will be defeated if the same userId is shared by many users. -Original Message- From: James Mitchell [

RE: [OT][FRIDAY] brain types

2002-10-04 Thread Galbreath, Mark
Yep, that's the old Kiersey Temperament Sorter. -Original Message- From: Brad Rhoads [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 12:38 PM To: 'Struts Users Mailing List' Subject: RE: [OT][FRIDAY] brain types They ripped off Kiersey Bates and don't even seem to give them

RE: Business Logic Bean Question

2002-10-04 Thread Scott Carlson
What you are reading about is the MVC pattern. The reason to not code your logic in the Action is that you are now locking the application into a web world. You can't reuse that logic in a non-Struts way at all. By encapsulating your Logic in its own class, you break that dependency. Here is

RE: Persistence Framework Comparison?

2002-10-04 Thread Galbreath, Mark
Isn't that always the case? :-( -Original Message- From: Adam Sherman [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 12:30 PM I'm embarking on a big project without time to properly evaluate them. -- To unsubscribe, e-mail: mailto:[EMAIL PROTECTED] For additional

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Mark Silva
this may be what i am looking for. i have a question about this example... how does struts match the parameters, whose names are all the same. his examples uses. category=XYZkey=123 so if you had a bunch of parameters like so category=XYZkey=123category=ABCkey=256category=AAA how does

Re: Business Logic Bean Question

2002-10-04 Thread Pavel Kolesnikov
On Fri, 4 Oct 2002, Billy Ng wrote: I have been reading some articles briefly talking about the business logic beans. The way I build my Struts app is to use the Action's perform or execute method to do the business logic. Then, I set the data into a bean and pass it off to the JSP. It

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Pavel Kolesnikov
On Fri, 4 Oct 2002, Mark Silva wrote: so if you had a bunch of parameters like so category=XYZkey=123category=ABCkey=256category=AAA how does struts correspond the category to the key? They don't. You have to go manually through all the arrays (getCategory, getKey etc) and suppose all

RE: [OT][FRIDAY] brain types

2002-10-04 Thread Joe Barefoot
hurumph. This shit's been around for years. I remember taking personality tests like these when I was a child. Once again, the realm of social science has triumphed in making the patently obvious seem complex and derived. Different people's brains work differently at a fundamental level?

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Mark Silva
Pavel, Can we assume that the parameters will be sent in the right order? I have always assumed that this was something that could not be guarenteed with a form submission? i could be wrong about this point. thanks, mark -Original Message- From: Pavel Kolesnikov [mailto:[EMAIL

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Galbreath, Mark
Not sure, but the only way I can see to do it is manually in your Action class. Mark -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 1:45 PM this may be what i am looking for. i have a question about this example... how does struts match

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Galbreath, Mark
Yes, you can be sure, because form elements are actually an array, and one element will follow another. Mark -Original Message- From: Mark Silva [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 1:59 PM To: Struts Users Mailing List Subject: RE: Design Problem: Multiple Object

Re: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Eddie Bush
Actually, from a (Unix) filesystem perspective, / is *the* root (the directory all others live under). Your home directory probably lives at ~. If what you are asking is how to represent the path to your struts-config.xml file, I can say I always list mine as

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Taylor, Jason
Yeah, I've done this stuff a fair bit. You definitely need 1.1 because the indexed attribute has been added to the html:xxx tags and the nested extension has been folded into the core distribution. You can definitely declare an array or ArrayList of objects as a form-property of a

Re: Persistence Framework Comparison?

2002-10-04 Thread Adam Sherman
Galbreath, Mark wrote: Isn't that always the case? :-( No kidding, putting a ton of work into something only to realize that that other tool could have done most of it for you is *very* unpleasant. A. -- Adam Sherman Software Developer Teach and Travel Inc. +1.613.241.3103 -- To

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Taylor, Jason
I started with Ted's example too, but I prefer to have one list of beans that contain all the properties rather than a bunch of lists of primitives. When you use the indexed attribute the controller automatically converts your form elements to request parameters that look like this:

Re: JSP to forward to please wait page and then result JSP

2002-10-04 Thread Peter S. Hamlen
What I've done in the past: Store a variable in the user's session (eg, queryInProgress). On the results page, use logic:match name=queryInProgress value=true tags to display the please wait content, and otherwise display the results set. (Make sure that the bit running the query sets the

Re: Design Problem: Multiple Object Update

2002-10-04 Thread V. Cekvenich
Here is what I have done: 1. Test that each contained object/bean updates on it's own. The contained beans implement a collection so I can have getRow, next(), etc. (OT: I use reflection and metedata to auto generate the SQL updates). 2. The main objects update and populate calls the contained

RE: [OT][FRIDAY] brain types

2002-10-04 Thread Brad Rhoads
-Original Message- From: Joe Barefoot [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 12:52 PM To: Struts Users Mailing List Subject: RE: [OT][FRIDAY] brain types Seriously: This type of categorization serves no purpose whatsoever except to erect divisions amongst

RE: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Taylor, Jason
I use WLS 6.1 sp3 no problem. I use the plain vanilla ActionServlet from a nightly build in May (don't ask). I specify the init-param to the servlet in web.xml like this: init-param param-nameconfig/param-name param-value/WEB-INF/struts-config.xml/param-value /init-param I *don't* use

Re: Persistence Framework Comparison?

2002-10-04 Thread Peter S. Hamlen
Search the message list - this got asked just a few days ago. Or google on Castor Torque Hibernate Here's an interesting letter that might help: http://www.mail-archive.com/mav-user@lists.sourceforge.net/msg00190.html Personally, I've been using Torque for two projects now and I think it's the

RE: [OT][FRIDAY] brain types

2002-10-04 Thread Peter S. Hamlen
Clearly you're a IAP type Investigative, Anti-Plagiarist!!! :) -Peter On Fri, 2002-10-04 at 12:38, Brad Rhoads wrote: They ripped off Kiersey Bates and don't even seem to give them credit! See http://www.amazon.com/exec/obidos/tg/detail/-/0960695400/qid=1033749305/sr=8

RE: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Galbreath, Mark
That's right - I forgot...been 4 years since I coded anything on Unix. -Original Message- From: Eddie Bush [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 2:04 PM To: Struts Users Mailing List Subject: Re: Parsing error processing resource path /WEB-INF/struts-config .xml

[TagLib bean:write] nog getter methode for proberty xj found

2002-10-04 Thread rainer juenger
Hi, getting a JspException when I try to access a getter within a bean:write/ Tag. The getter is there and it gives back a value from type String. The coresponding setter is form type float. Can it have something to do with that? Thanks, Rainer

Re: Persistence Framework Comparison?

2002-10-04 Thread V. Cekvenich
It is possible that one could change persistence later. Been there done that, got the T -Shirt. There is JDO, Jakarta ORB, my own DAORowSet, Simper, EJB, etc. etc. Now, so that I can change persistance, my bean calls the persistance via an very simple interface and via the interface only!.

RE: [OT][FRIDAY] brain types

2002-10-04 Thread Galbreath, Mark
I just took that test...what's *%@#%@! Tourette's syndrome? Mark -Original Message- From: Joe Barefoot [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 12:52 PM To: Struts Users Mailing List Subject: RE: [OT][FRIDAY] brain types Seriously: This type of categorization

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Peter S. Hamlen
Try this url - it uses the nested:iterate tag to good effect: http://www.keyboardmonkey.com/StrutMonkey/monkey-action-v2.do You can go http://www.keyboardmonkey.com to find out more about how it works. -Peter On Fri, 2002-10-04 at 13:28, Mark Silva wrote: you still need to declare your

Re: [OT] [session] Shared userId

2002-10-04 Thread James Mitchell
Well, I guess you could keep multiple logins down to a single user (preventing more than 1 user to login), but trying to keep the use in one window is where things fail. If using JavaScript is out, then I suppose you could detect a user who has multiple windows, through proper use of tokens

How to set default

2002-10-04 Thread Cathy Osekizoglu
I am using html:options tag to get a dropdown list. How can I make an item as default so every time I open the page that contains the dropdown list, it will show the default. Thanks. Cathy - Post your free ad now! Yahoo! Canada Personals

Re: How to set default

2002-10-04 Thread nirdesh . mohan
There are 2 ways either set it into form bean, I mean initialize with some value or html:select property= value=HERE Is YOUR Selected value . . . . Nirdesh

Re: DanaFormBean and Non Primative property type

2002-10-04 Thread Dan Tran
Okay I got this time. So I cant use DanaFormBean for custom properties, instead I must have my own form to intercept the request. Thanks for everything -D - Original Message - From: Galbreath, Mark [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Sent: Friday,

RE: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Ramu, Manjukumar [PRDUS]
I checked the file name and path, both are correct. -Original Message- From: Taylor, Jason [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 2:33 PM To: 'Struts Users Mailing List' Subject: RE: Parsing error processing resource path /WEB-INF/struts-config .xml I use WLS 6.1 sp3

RE: How to set default

2002-10-04 Thread Karr, David
-Original Message- From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 11:57 AM To: Struts Users Mailing List Subject: How to set default I am using html:options tag to get a dropdown list. How can I make an item as default so every time I open the

RE: Design Problem: Multiple Object Update

2002-10-04 Thread Will Etson
Have you considered using HashMaps or ArrayLists in your forms. BeanUtils supports this kind of thing and therefor so does struts. some thing like... // Load object from the database in init action. HashMap users = new HashMap(); //for each user load key into map. users.put(dbUser.getId,

Re: [Tiles] Conditional menu items. Help !!!!

2002-10-04 Thread LFung
Ok Cedric Thanks again. LFung. - Original Message - From: Cedric Dumoulin [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Sent: Friday, October 04, 2002 9:59 AM Subject: Re: [Tiles] Conditional menu items. Help There are samples in tiles-documentation war

RE: How to set default

2002-10-04 Thread Galbreath, Mark
Put option value=[value] selected[default]/option just after the html:select tag and before the html:options tag. Mark -Original Message- From: Cathy Osekizoglu [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 2:57 PM To: Struts Users Mailing List Subject: How to set default

RE: How to set default

2002-10-04 Thread Sri Sankaran
Here is a reply I made to an earlier post on the same subject: This topic has been addressed *numerous* times on this list. However, I understand what a PITA searching on mail-archive is, so here goes: Firstly take a look at the html-select.jsp that is part of the struts-exercise-taglib

Re: How to set default

2002-10-04 Thread Michael Lee
in your html:select you will include html:option first. This SINGULAR form of options will be the first one. The default will be set to what the user chooses after that. then html:options... /html:select - Original Message - From: Cathy Osekizoglu [EMAIL PROTECTED] To: Struts Users

RE: DanaFormBean and Non Primative property type

2002-10-04 Thread Galbreath, Mark
I meant to type Action class, not action form when intercepting the request. -Original Message- From: Dan Tran [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 3:00 PM To: Struts Users Mailing List Subject: Re: DanaFormBean and Non Primative property type Okay I got this

Re: [TagLib bean:write] nog getter methode for proberty xj found

2002-10-04 Thread rainer juenger
yes, the setter and the getter have to give back an have to become the same type. Rainer Hi, getting a JspException when I try to access a getter within a bean:write/ Tag. The getter is there and it gives back a value from type String. The coresponding setter is form type float. Can it have

Re: Parsing error processing resource path /WEB-INF/struts-config .xml

2002-10-04 Thread Eddie Bush
Why do I have a voice in the back of my head saying Didn't someone have to revert to sp1 to get things going?? If that's an option, you might explore it. If it's not an option - I don't know what to say. I can't say where the above thought comes from, but I seem to have some vague

Re: Persistence Framework Comparison?

2002-10-04 Thread Joe Germuska
At 2:31 PM -0400 2002/10/04, V. Cekvenich wrote: (I wish Struts had a non implemented persistance interface) Really? I think Struts is quite good at what it does, and to me, persistence seems to outside the scope of a web application MVC framework. Why do you wish that Struts had this?

RE: Struts w/ iPlanet6

2002-10-04 Thread Ortega, Carlos
All, I recieved this bit of advice from Dasa Paddock (see next message), if you are having problems getting Struts to work properly with iPlanet 6, the advice in his message helped tremendously. Also, If you're using Struts with PoolMan's connection pool, be sure to place both the the

RE: Persistence Framework Comparison?

2002-10-04 Thread James Higginbotham
(I wish Struts had a non implemented persistance interface) Really? I think Struts is quite good at what it does, and to me, persistence seems to outside the scope of a web application MVC framework. Agreed. Struts does what it does best - web MVC framework. What the original author of

Forms - Exception creating bean of class ...

2002-10-04 Thread Ortega, Carlos
All, Deploying and running my Struts 1.1 B1 application on iPlanet 6 results in errors everytime the system attempts to load any form object. The application works fine on other servlet engines. The error is Exception creating bean of class app.forms.form-name (see stack trace below). The

RE: Persistence Framework Comparison?

2002-10-04 Thread Karr, David
-Original Message- From: James Higginbotham [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 1:12 PM To: Struts Users Mailing List Subject: RE: Persistence Framework Comparison? (I wish Struts had a non implemented persistance interface) Really? I think Struts is

RE: [OT][FRIDAY] brain types

2002-10-04 Thread Joe Barefoot
Seriously: This type of categorization serves no purpose whatsoever except to erect divisions amongst humanity. Do On the contrary, the goal is better communication between people with different temperaments. Try talking to these people. That might help improve communication. ;)

enforcing max upload file size - before its too late!

2002-10-04 Thread jfc
Hi, I have implemented the functionality for file uploads as demonstrated in struts-upload.war however I have a question. How could I implement the example such that the file is uploaded chunk by chunk thereby giving the server the opportunity of stopping the upload at a given max file

RE: Persistence Framework Comparison?

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, James Higginbotham wrote: Date: Fri, 4 Oct 2002 15:11:53 -0500 From: James Higginbotham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Persistence Framework Comparison? (I wish

Re: tabsLayout.jsp ServletException??

2002-10-04 Thread Curtney Jacobs
Hi, I am using Resin EJB server. I begining to think that the problems I am having could be due to the container. I will download tomcat and run your tiles examples on it. If that works, then I have to look closely at my resin configurations. Thanks for your assistance, _CJ On Monday 30

RE: Persistence Framework Comparison?

2002-10-04 Thread Lowe, Jeff
Does anybody know a of a decent comparison of Open Source persistence frameworks? http://c2.com/cgi-bin/wiki?CayenneVsOther You decide if its decent. -Jeff -Original Message- From: Adam Sherman [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 12:30 PM To: Struts Users

RE: Persistence Framework Comparison?

2002-10-04 Thread James Higginbotham
But, I'm curious why you think there would be any glue code needed? Isn't it just a matter of using the persistence framework directly from your DAOs (or from your Actions if you don't use DAOs)? At most, I could only conceive of perhaps providing a Struts PlugIn to initialize such a

RE: Persistence Framework Comparison?

2002-10-04 Thread David Graham
Craig, You're right that your DAOs would be implemented using one of the mapping technologies (JDBC, OJB, EJB, JDO, Castor, etc,). However, what is useful is a framework of helper classes that aid in implementing DAOs for a given technology. I have implemented this framework and it's very

Re: Persistence Framework Comparison?

2002-10-04 Thread V. Cekvenich
(Sorry, I can't read inline comments) I'm curious why you think there would be any glue code needed? It would not be Struts centric, agree. I have said to you Craig in person that I think one of the many reasons Struts was so successful is that it stayed above the persistence fey. My wish was

RE: Persistence Framework Comparison?

2002-10-04 Thread Robert
We have just released a free download for our eQ! software which you might want to take a look at: www.browsersoft.com/eQ The demo app is built using Struts for the controller, JSTL for taglibs, our persistence layer and our XML scripting engine for process logic. I'm the contact for it if you

Using friendly names for application entry points

2002-10-04 Thread K Br
The husted Struts site recommends that all application entry points be given friendly names using the global-forwards mapping table. Following this advice, I converted html:form action=/login.do method=GET //... /html:form to html:form action=performLogin method=GET

RE: Struts w/ iPlanet6

2002-10-04 Thread Gaurav . Goyal
were u actually able to get Struts 1.1 b2 to work with iplanet 6? I was able to fix the logging problem by making a small change in the ActionServlet, however I was having problems with the parsing of struts-config.xml by the Digester class. Since then I've given up on using Struts 1.1 b2 and

Re: Using friendly names for application entry points

2002-10-04 Thread Eddie Bush
I don't think you can specify a forward for the action of a form, can you? I'm not sure what Ted would define as entry points, but here are what I think of as entry points: index.do index.html default.asp index.asp home.asp home.html login.html :-) I think what he's saying is that something

RE: Using friendly names for application entry points

2002-10-04 Thread James Higginbotham
Your problem is that you are probably deploying the struts action with a .do mapping, whereas your user friendly name doesn't end in that extension and thus it never hits the struts framework for your global forward to work. Try writing or locating a servlet that you can map to that friendly

[OT] RE: Persistence Framework Comparison?

2002-10-04 Thread David Graham
I think you missed the point. Yes, JDO lets you program to an interface with multiple vendors competing on implementations. But what if you don't want to use JDO? This is a layer above all persistence frameworks (JDBC, JDO, EJB, OJB, etc.) that your application programs to. If you decide

Re: Using friendly names for application entry points

2002-10-04 Thread Dave Derry
Tryhtml:form action=performLogin.do method=GET Notice the '.do'; it has to do with the servlet mapping. You apparently have *.do mapped to the the Struts ActionServlet, but Jasper doesn't know what to do with performLogin. Dave Derry - Original Message - From: K Br [EMAIL

Re: Using friendly names for application entry points

2002-10-04 Thread David Graham
Additionally, you could make your entry point the directory's index page without using the index in the url: http://mycorp.com/struts/login/ would reference the index.jsp in the login directory. index.jsp would forward to index.do so it would go through the struts controller. The action

RE: Persistence Framework Comparison?

2002-10-04 Thread Sandra Cann
David, ...what I would recommend happen on top of Struts. Something that takes Struts, a proven OSS O/R framework, and some glue to make DB-driven Struts applications faster to develop. ... But if one existed, I'd problem knock out a couple of pet projects faster. One exists. :)

[ANN] Expresso 4.1 (Release Candidate 3)

2002-10-04 Thread Sandra Cann
New Expresso Release files (RC3 - release candidate 3) are available as well as an updated contact demo. Expresso Release Candidate 3 files are available to download at: http://www.jcorporate.com/product/expresso.html Downloads link Changes include: - Updated Tomcat - Security Fix for

RE: Persistence Framework Comparison?

2002-10-04 Thread Robert J. Sanford, Jr.
There are two things that I want/need in a persistence framework and I have yet to find them. I know that OJB does not support them and I have not looked very hard at the others. Maybe you can tell me if Expresso handles them. 1) Read only attributes so that a setter method is not automatically

RE: Persistence Framework Comparison?

2002-10-04 Thread Robert J. Sanford, Jr.
There are two things that I want/need in a persistence framework and I have yet to find them. I know that OJB does not support them and I have not looked very hard at the others. Maybe you can tell me if your product handles them. 1) Read only attributes so that a setter method is not

RE: Persistence Framework Comparison?

2002-10-04 Thread Joe Barefoot
-Original Message- From: Robert J. Sanford, Jr. [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 3:00 PM To: Struts Users Mailing List Subject: RE: Persistence Framework Comparison? There are two things that I want/need in a persistence framework and I have yet to

Re: [OT] RE: Persistence Framework Comparison?

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, David Graham wrote: Date: Fri, 04 Oct 2002 15:28:34 -0600 From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [OT] RE: Persistence Framework Comparison? I think you missed the point. Yes, JDO lets

RE: [OT] RE: Persistence Framework Comparison?

2002-10-04 Thread James Higginbotham
-Original Message- From: David Graham [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 4:29 PM To: [EMAIL PROTECTED] Subject: [OT] RE: Persistence Framework Comparison? I think you missed the point. Yes, JDO lets you program to an interface with multiple vendors

RE: Persistence Framework Comparison?

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, Joe Barefoot wrote: Date: Fri, 4 Oct 2002 15:00:04 -0700 From: Joe Barefoot [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Persistence Framework Comparison? -Original

RE: Persistence Framework Comparison?

2002-10-04 Thread Joe Barefoot
-Original Message- From: Craig R. McClanahan [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 3:19 PM To: Struts Users Mailing List Subject: RE: Persistence Framework Comparison? On Fri, 4 Oct 2002, Joe Barefoot wrote: Date: Fri, 4 Oct 2002 15:00:04 -0700

Re: Persistence Framework Comparison?

2002-10-04 Thread Kevin . Bedell
My wish was for a persistence or a ADO interface, and interface only, in Jakarta or else where respected. If there were such an interface one could switch from JDO to ORB to OJB to EJB to Simper to DAORowset to xyz, assuming other followed the interface. Let them compete. Such interfaces

Re: Persistence Framework Comparison?

2002-10-04 Thread V. Cekvenich
Cool desgin! One comment is that ... it might be a bit harder to make it OO/reusable implementation. (my version has CRUD that uses reflection ) With a single interface there could be more reuse. Curios, how do you do reuse? .V [EMAIL PROTECTED] wrote: My wish was for a

RE: Persistence Framework Comparison?

2002-10-04 Thread Dan Cancro
This made me think of a thought I had earlier. Folks developed things like Velocity and XMLC because jsp has given people more than enough rope to hang themselves. What if someone came up an analogous Controller Template Language that made it impossible to put business logic in your Action

RE: Persistence Framework Comparison?

2002-10-04 Thread Jacob Hookom
I've always thought of a DAO not as an Adapter pattern as what you are describing, but as an external Table Gateway. BO interfaces and even the implementing classes shouldn't need to know how to persist itself or even what to persist to (XML, DB, IO). That is up to the implementing Gateway. I

Re: Persistence Framework Comparison?

2002-10-04 Thread Kevin . Bedell
Cool desgin! One comment is that ... it might be a bit harder to make it OO/reusable implementation. (my version has CRUD that uses reflection ) With a single interface there could be more reuse. Curios, how do you do reuse? .V Reuse? Hmm... I guess you don't reuse much at that

Re: Persistence Framework Comparison?

2002-10-04 Thread V. Cekvenich
Is it free? Where can I download this? Is there a sample? .V Jacob Hookom wrote: I've always thought of a DAO not as an Adapter pattern as what you are describing, but as an external Table Gateway. BO interfaces and even the implementing classes shouldn't need to know how to persist itself

RE: Persistence Framework Comparison?

2002-10-04 Thread Robert J. Sanford, Jr.
But, I cannot guarantee that the view I am reading from is updateable so I How can you not guarantee this if you are creating the data model? I don't understand. 1 - I cannot guarantee the database that I will be using. Customer requirements and all that other rot. 2 - On one of

RE: Persistence Framework Comparison?

2002-10-04 Thread Jacob Hookom
I wrote it one weekend to get ready for a project (packages are named org.apache.persistent.*); I can send you the original code with a sample Main if you are interested. I wrote it such that I could donate it to Jakarta possibly, but I'm not familiar with the procedures involved. |

RE: Persistence Framework Comparison?

2002-10-04 Thread Kevin . Bedell
I've always thought of a DAO not as an Adapter pattern as what you are describing, but as an external Table Gateway. BO interfaces and even the implementing classes shouldn't need to know how to persist itself or even what to persist to (XML, DB, IO). That is up to the implementing

RE: [OT] RE: Persistence Framework Comparison?

2002-10-04 Thread David Graham
I think we're talking about the same thing. Whatever you want to call it (DAO, persistence layer, mappers) it still accomplishes the same thing. Only your daos would know about JDO or JDBC so yes, the change is located in one place. All I'm suggesting is that a dao helper framework is

[OT]RE: Persistence Framework Comparison?

2002-10-04 Thread David Graham
I'm concerned about the piece of your code that returns a Method object. I assume this is the Method class from the reflection package. It doesn't strike me as a very good use of reflection and poor OO technique. Of course, your code snippet doesn't show what you ultimately do with the

RE: Persistence Framework Comparison?

2002-10-04 Thread Kevin . Bedell
btw - Given all this talk about DAO's etc, I'm wondering why the Torque work from the Jakarta Turbine project isn't coming up. It's very cool and worth checking out. I've seen it used on production apps and I know people like it. http://jakarta.apache.org/turbine/torque/ From the

[OT] RE: Persistence Framework Comparison?

2002-10-04 Thread David Graham
Craig, It's good to see some MySQL bashing from a Sun guy :-). I'm guessing you don't express that view too often working for the company that proclaimed Unbreakable MySQL is the future. No views, triggers, stored procedures, disdain for people who want views...what a joke. Dave From:

Re: [OT]RE: Persistence Framework Comparison?

2002-10-04 Thread Kevin . Bedell
I'm concerned about the piece of your code that returns a Method object. I assume this is the Method class from the reflection package. It doesn't strike me as a very good use of reflection and poor OO technique. Of course, your code snippet doesn't show what you ultimately do with the

[OT] RE: Persistence Framework Comparison?

2002-10-04 Thread David Graham
It did come up briefly. The Jakarta OJB project uses Torque under the covers as well. Dave From: [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: Persistence Framework Comparison? Date: Fri, 4 Oct 2002

RE: Persistence Framework Comparison?

2002-10-04 Thread Jacob Hookom
| I've always thought of a DAO not as an Adapter pattern as what you are | describing, but as an external Table Gateway. BO interfaces and even | the implementing classes shouldn't need to know how to persist itself or | even what to persist to (XML, DB, IO). That is up to the implementing

RE: Persistence Framework Comparison?

2002-10-04 Thread Joe Barefoot
-Original Message- From: Robert J. Sanford, Jr. [mailto:[EMAIL PROTECTED]] Sent: Friday, October 04, 2002 4:14 PM To: Struts Users Mailing List Subject: RE: Persistence Framework Comparison? But, I cannot guarantee that the view I am reading from is updateable so I

Re: [OT] RE: Persistence Framework Comparison?

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, David Graham wrote: Date: Fri, 04 Oct 2002 17:44:14 -0600 From: David Graham [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [OT] RE: Persistence Framework Comparison? Craig, It's good to see some MySQL bashing

RE: Persistence Framework Comparison?

2002-10-04 Thread Craig R. McClanahan
On Fri, 4 Oct 2002, Dan Cancro wrote: Date: Fri, 4 Oct 2002 15:53:42 -0700 From: Dan Cancro [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: 'Struts Users Mailing List' [EMAIL PROTECTED] Subject: RE: Persistence Framework Comparison? This made me think of a

RE: [OT]RE: Persistence Framework Comparison?

2002-10-04 Thread Jacob Hookom
| -Original Message- | From: David Graham [mailto:[EMAIL PROTECTED]] | Sent: Friday, October 04, 2002 6:39 PM | To: [EMAIL PROTECTED] | Subject: [OT]RE: Persistence Framework Comparison? | | I'm concerned about the piece of your code that returns a Method object. | I | assume this is

RE: [OT] RE: Persistence Framework Comparison?

2002-10-04 Thread Joe Barefoot
No, it doesn't, not for any of the persistence mechanisms or runtime operations at least. The only thing that OJB uses Torque for is generating a database schema from an XML mapping file. Everthing else is built from the ground up. It's very likely that Turbine will replace Torque with OJB

Re: [OT] RE: Persistence Framework Comparison?

2002-10-04 Thread Bryan Field-Elliot
On Fri, 2002-10-04 at 15:28, David Graham wrote: This is a layer above all persistence frameworks (JDBC, JDO, EJB, OJB, etc.) that your application programs to. If you decide to change persistence frameworks, most of your code remains unchanged because it doesn't know which one you're using.

Re: Persistence Framework Comparison?

2002-10-04 Thread Matt Veitas
I am sure that you have all heard one time or another about how certain persistence frameworks rock... Hibernate is a simple and flexible framework. http://hibernate.sourceforge.net Matt Joe Barefoot wrote: -Original Message- From: Robert J. Sanford, Jr. [mailto:[EMAIL PROTECTED]]

RE: [OT] RE: Persistence Framework Comparison?

2002-10-04 Thread David Graham
Regardless, it uses torque. From: Joe Barefoot [EMAIL PROTECTED] Reply-To: Struts Users Mailing List [EMAIL PROTECTED] To: Struts Users Mailing List [EMAIL PROTECTED] Subject: RE: [OT] RE: Persistence Framework Comparison? Date: Fri, 4 Oct 2002 16:55:37 -0700 No, it doesn't, not for any of the

RE: [OT] RE: Persistence Framework Comparison?

2002-10-04 Thread Joe Barefoot
Yes, but it doesn't use it ..under the covers in any way, the implications of that are quite different. OJB uses torque as a tool, just as another client application would. It is in no way dependent on torque for its core functionality. Does Tomcat uses Xerces under the covers when it uses

Re: [OT] RE: Persistence Framework Comparison?

2002-10-04 Thread Eddie Bush
Joe Barefoot wrote: Yes, but it doesn't use it ..under the covers in any way, the implications of that are quite different. OJB uses torque as a tool, just as another client application would. It is in no way dependent on torque for its core functionality. ^^ That's what I was getting at ^^

<    1   2