Re: Tutorials about "struts2 + ibatis + SQLmap"

2007-10-11 Thread Larry Meadors
Yeah, I converted the WW demo to S2 and it was trivial. Larry On 10/11/07, Dave Newton <[EMAIL PROTECTED]> wrote: > --- Emi Lu <[EMAIL PROTECTED]> wrote: > > > http://learntechnology.net/content/main.jsp > > I would be more interested about the > > setup/configuration/tutorial for > > *Struts2 +

Re: Tutorials about "struts2 + ibatis + SQLmap"

2007-10-11 Thread Larry Meadors
http://learntechnology.net/content/main.jsp Larry On 10/11/07, Emi Lu <[EMAIL PROTECTED]> wrote: > Greetings, > > Would someone know some good tutorials about "struts 2.0.9 + ibatis2.3.0 > + SQLmap" > > . setup > . examples > > Thanks a lot! > > --

Re: [OT] Need suggestion about designing web application

2007-09-27 Thread Larry Meadors
With iBATIS, you can supply configuration properties at runtime - look at the API for the constructors of the sqlmapclient - one of them allows you to pass a properties object into it - those can be used to configure the data source. Larry On 9/27/07, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: >

Re: struts irc channel?

2007-08-17 Thread Larry Meadors
There's always #funkycodemonkey on irc.darkmyst.org - often *way* OT, but rarely boring. Larry On 8/17/07, Eugen Stoianovici <[EMAIL PROTECTED]> wrote: > Is there a struts support channel?(other than the one on > irc.freenode.net which only has 4 or 5 members) > > ---

Re: Dynamically rendering image - Servlet/Action

2007-07-02 Thread Larry Meadors
If it's in request scope, I'm assuming it is transient data, so why not pass the key to the database row to the servlet? /ImageServlet?rowKey=123 Or if you want to be more clever, even: /ImageServlet/123 /ImageServlet/123/file.png I've done that before to deal with stupid browsers that seem to

Re: Is it possible to tell if secure sockets in use froma Struts Action?

2007-03-27 Thread Larry Meadors
...or request.isSecure() Larry On 3/27/07, Christopher Schultz <[EMAIL PROTECTED]> wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Adam, Adam Lipscombe wrote: > From a Struts Action is it possible to tell if SSL is in use? > > I tried httpServletRequest.getPathInfo(), getRequestURL() an

Re: [BEER] Ruby Roundup (was Is there a mailing list for S2 only?)

2007-03-20 Thread Larry Meadors
Forget Ruby, use SQL On Rails. http://www2.sqlonrails.org/ Larry On 3/20/07, Dave Newton <[EMAIL PROTECTED]> wrote: --- Leon Rosenberg wrote: > [...] integrated full stack scripting language which > lacks everything a good language needs... Hey, maybe we should have yet another "what is a sc

Re: [FRIDAY] DBCP configuration

2007-01-05 Thread Larry Meadors
Yeah, and like Gareth said, it's pretty easy to make a mock jndi container for your tests. Larry On 1/5/07, Wesley Wannemacher <[EMAIL PROTECTED]> wrote: > > > There's one additional advantage to using JNDI for this ... > in many shops > you have two or even three environments to worry about

Re: OFF RECORD

2006-12-21 Thread Larry Meadors
In never ceases to amaze me how people will go through amazingly convoluted complexity in the name of "keeping things simple". Juan, don't be a technophobe: use velocity. It was made for templating like you want to do. It is very fast, every bit as simple as JSP, and figuring out how to process i

Re: S2 / Mailreader IBatis implementaiton ?

2006-12-20 Thread Larry Meadors
No, but I may try to work on something like that over the Christmas break. You may want to check out these two: http://learntechnology.net/webwork-crud-lm.do http://learntechnology.net/webwork-crud.do Both are done with webwork2, but the it is so darn close that the changes are pretty trivial.

Re: spring jpetstore demo error (possibly O/T)

2006-10-28 Thread Larry Meadors
Not sure if there is a typo in your email or if your copy of the Category.xml file somehow got buggered up, but there is a trailing "." on the select statement there. That would make it puke, but like I said, I am not positive that that is the real problem, or just a weird typo. Can you check it a

Re: why hardcode the path of web.xml?

2006-10-18 Thread Larry Meadors
Why in the name of all that is right in the universe would you name your web.xml something else? Obfuscation? Larry On 10/18/06, Christopher Cheng <[EMAIL PROTECTED]> wrote: I am using version 1.3.5 and found out that that path of web.xml is hard coded at line 1723 InputStream input =

Re: FRIDAY #1 JavaBeans/Model

2006-10-09 Thread Larry Meadors
On 10/9/06, Wesley Wannemacher <[EMAIL PROTECTED]> wrote: Wow :) I am really glad you asked that! I actually came to Java Development from a DBE background. Normalization is actually one of my favorite topics of discussion, and I think this actually stifles my Java development from time to time b

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Larry Meadors
On 10/6/06, Ivo Limmen <[EMAIL PROTECTED]> wrote: iBATIS is only a small helper tool that will help you to map objects to the database. This requires a lot of code to write. If you use Hibernate you can write the mapping and generate your beans. Hibernate does however require some practice, it ha

Re: FRIDAY #1 JavaBeans/Model

2006-10-06 Thread Larry Meadors
The iBATIS in Action book has a really good sample application that uses iBATIS and Struts. You can get the ebook now in from the MEAP ($22.50), but if you need the dead tree version, it won't be ready until December: - http://manning.com/begin/ If free is more your price range, Rick Reumann has

Re: Struts Model Layer in the MVC framework

2006-09-12 Thread Larry Meadors
On 9/12/06, Ray Madigan <[EMAIL PROTECTED]> wrote: Is there an alternative to Spring Integration. I have a project that I need to get a prototype out to the client FAST and I simply want to implement a Model layer with connection pooling. I have gone to the Spring Framework site and I don't hav

Re: Struts Model Layer in the MVC framework

2006-09-12 Thread Larry Meadors
On 9/12/06, Givler, Eric <[EMAIL PROTECTED]> wrote: Can you provide the connection pool from your Container's defined data-source and then use iBATIS for persistence? Yes, create the DataSource using JNDI, then see page 14 of this document: http://people.apache.org/dist/ibatis/ibatis.java/docs

Re: getDataSource, DAO pattern, and Struts

2006-09-11 Thread Larry Meadors
On 9/11/06, Darren Hall <[EMAIL PROTECTED]> wrote: So, should I use the datasource functionality provided in struts, or should I "roll my own" database connection solution by creating a datasource factory that can be used to retrieve connections? I wouldn't do either. If you can, use Spring to

Re: [FRIDAY][OT] Slogan for Open Source

2006-07-28 Thread Larry Meadors
Would you prefer half-wit? Or maybe "retard", one definition of that is "A person considered to be foolish or socially inept." - I actually like that one better "Software by retards for retards...download here." Larry On 7/28/06, Martin Kindler <[EMAIL PROTECTED]> wrote: from wikipedia:

Re: [FRIDAY][OT] Slogan for Open Source

2006-07-28 Thread Larry Meadors
wrote: Great marketing! This reminds me of those "...for Dummies" books. To download, like buying those books, is to submit to the idea that you are, in all likelyhood, an idiot. On 7/28/06, Larry Meadors <[EMAIL PROTECTED]> wrote: > How about "Software by idiots for idiots

Re: [FRIDAY][OT] Slogan for Open Source

2006-07-28 Thread Larry Meadors
How about "Software by idiots for idiots...download here." Larry On 7/28/06, Thomas Joseph <[EMAIL PROTECTED]> wrote: Hi All, I have often felt that, we need a slogan for the Open Source. Something like how Frank has for Java Web Parts - "Supplying the wheel, so you don't have to reinvent i

What am I missing here?

2006-05-15 Thread Larry Meadors
OK, I did this tutorial thing that was like webwork for struts devs. Then last week, a friend of mine did a little load test with it. We discovered that when I use this code on a form: === === We were getting about 8-10 pages per

Re: Beginner's question on Struts and JSP

2006-04-22 Thread Larry Meadors
If you want a working example of getting data from a database to a jsp that follows good practices, look here: http://www.learntechnology.net/struts-spring-ibatis.do Larry On 4/21/06, Developer Developer <[EMAIL PROTECTED]> wrote: > Harsh and Ted, > Thanks for the information Here is one more q

Re: Session lovers... how do you handle this 'common?' situation?

2006-04-22 Thread Larry Meadors
Heh, I know what you mean Dave, I think everyone I know used those at some point. :-) I like the new lessons, too - http://www.learntechnology.net/ Larry On 4/21/06, David Evans <[EMAIL PROTECTED]> wrote: > Hey its friday and its late :) > And while i'm talking to you, thanks for the struttin

Re: MVC Dilemma

2006-04-08 Thread Larry Meadors
Yeah, then /join #funkycodemonkey and you are on monkey island. Larry On 4/8/06, netsql <[EMAIL PROTECTED]> wrote: > So... how do you do it again? > /server irc.darkmyst.org ? > or ... (I tried in X-Chat) > > tia, > .V > > Larry Meadors wrote: >

Re: MVC Dilemma

2006-04-08 Thread Larry Meadors
On 4/8/06, Dakota Jack <[EMAIL PROTECTED]> wrote: > hard to tell what you are doing. So, despite the fact that I don't have a > lot of good feelings about Larry, I support his attitude in this case. Why > don't you forget the "smart talk" about applications and just tell us in > English what you

Re: convert collection to excel spread sheet

2006-04-07 Thread Larry Meadors
The jexelapi tool is pretty nice. Easy, too. Larry On 4/7/06, temp temp <[EMAIL PROTECTED]> wrote: > I must create "export to excel spreadsheet" capability for my pages . > I will be having java.util.Collection containing search results which I > have to convert into an excel sheet.Wh

Re: [OT] Need information about books to buy

2006-04-07 Thread Larry Meadors
I recently picked up "Ajax Patterns" from APress, it was good, in spite of being written by a .net hack. ;-) Larry On 4/7/06, Ashish Kulkarni <[EMAIL PROTECTED]> wrote: > Hi > I need to buy couple of books, 1 for AJAX, and 2 for > Webservices, > I know the basics of Ajax and Webservices, and nee

Re: MVC Dilemma

2006-04-07 Thread Larry Meadors
Bummer, sucks to be you. Enjoy. :-) Larry On 4/7/06, olonga henry <[EMAIL PROTECTED]> wrote: > No, I am using Hibernate 3 and there are a lot of advantages you get from > using a complete ORM solution like this compared to Ibatis. > No, I am forced to use two databases Ticket (MySql) and Employee

Re: MVC Dilemma

2006-04-07 Thread Larry Meadors
All you want is a list of tickets by employeeId with the employee name? You confused us all with the database term, I guess - if I am reading your question correctly, you mean two tables, not two databases (a database is a collection of tables). Keep it simple - use iBATIS (or jdbc) and put the r

Re: Open Source Motivations (Re: I Apologize)

2006-03-29 Thread Larry Meadors
On 3/29/06, Al Eridani <[EMAIL PROTECTED]> wrote: > That shows they are not stupid. They stand to gain a lot when their > little-known framework is re-branded as Struts. > > Just go to craigslist, DICE or other job sites, search for Struts and > WebWork and compare the resulting numbers. That is th

Re: I Apologize

2006-03-29 Thread Larry Meadors
ncoherent. Do you recognize at all that your > points have no logic or sense to them? Don't you care if they are logical? > > > > > On 3/28/06, Larry Meadors <[EMAIL PROTECTED]> wrote: > > > LOL, Jon, do you read your own posts? > > On 3/28/06, Jonathan Re

Re: Debate and Free Speech 101

2006-03-28 Thread Larry Meadors
*sigh* Enough noise. On 3/28/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: I Apologize

2006-03-28 Thread Larry Meadors
LOL, Jon, do you read your own posts? On 3/28/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: > Do keep your eye on the ball, Paul. These people have had every chance > to respond to my points via legitimate debate and they chose not to. OK, so what you are saying here is that "these people" coul

Re: I Apologize

2006-03-27 Thread Larry Meadors
f FreeMarkeropia." <-- that is good stuff! > Jonathan Revusky > -- > lead developer, FreeMarker project, http://freemarker.org/ Larry Meadors -- Some dude working at home in his sweat pants - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]

Re: I Apologize

2006-03-27 Thread Larry Meadors
Ouch. On 3/27/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Actually that's pretty funny. That shows how weak our Tampa JUG is:) Larry > speaks one time at it, and he becomes famous. - To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

Re: I Apologize

2006-03-27 Thread Larry Meadors
On 3/27/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: > Larry Meadors wrote: > So I though it just had to be you especially given the idiotic "butt-monkey" > post. > > It was an honest mistake. Your behavior has been deplorable, of course, > but you didn&

Re: I Apologize

2006-03-27 Thread Larry Meadors
Well, true, who can blame him, I mean...I am kinda dead sexy with the "March in Montana" pallor. Larry On 3/27/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > On 3/27/06, Larry Meadors <[EMAIL PROTECTED]> wrote: > > > Way to go Rick, you butt-monkey - Jonathan ju

Re: I Apologize

2006-03-27 Thread Larry Meadors
Way to go Rick, you butt-monkey - Jonathan jumped all over ME! Larry PS: To add insult to injury, you forgot the "a" there - "It was supposed to be *a* joke"...so make that "Way to go Rick, you illiterate butt-monkey". On 3/27/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Lighten up. I wrote i

Re: I Apologize

2006-03-27 Thread Larry Meadors
ts. Larry On 3/27/06, Jonathan Revusky <[EMAIL PROTECTED]> wrote: > Larry Meadors wrote: > > Hi, Larry. How is the weather in Tampa Bay, today? > > I don't know exactly where your talents lie, but you're not very good at > identity spoofing. > > Don&#

Re: maintaining human standards [was Re: [FRIDAY] Re: has struts reached the saturation]

2006-03-27 Thread Larry Meadors
So...are any of the others as bad as this butt-monkey? Larry On 3/27/06, Craig McClanahan <[EMAIL PROTECTED]> wrote: > On 3/27/06, Vinny <[EMAIL PROTECTED]> wrote: > > > > Maybe it's time we heard from the WW2 guys? > > > Several of them have already spoken up ... on the dev list, where it > belo

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
On 3/24/06, Ted Husted <[EMAIL PROTECTED]> wrote: > It's a people thing, Larry. It's really the same reason most of us > came here in the first place. We came here because we believe that we > can build a better framework working together than we can working > apart. Likewise, we believe that we ca

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
On 3/24/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Shale is no Mustang anymore. Will it turn out a Lambo is question > number one. Will many Mustang devotees decide to change from Mustang > to Lambo is question number two. I agree, but this is where the car analogy breaks down (ha, a pun).

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
On 3/24/06, Al Eridani <[EMAIL PROTECTED]> wrote: > But cars are a good example of the type of branding being attempted > with Struts. Why does Ford keep marketing a model like the Mustang that > it has changed so radically over the years, instead of calling it something > else? > > Because they ar

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
to great lengths to make their customers think they are really buying a Porsche, but just a bit different... Kind of like the people selling shale want to make people think it is really just struts, but a bit different. Larry On 3/24/06, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
No, that makes you a cheese head...it is Friday, right? Larry On 3/24/06, Dave Newton <[EMAIL PROTECTED]> wrote: > Larry Meadors wrote: > > On 3/24/06, Dave Newton <[EMAIL PROTECTED]> wrote: > > > >> James Mitchell wrote: > >> > >>>

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
On 3/24/06, Dave Newton <[EMAIL PROTECTED]> wrote: > James Mitchell wrote: > > As far as products, right now there is Action and Shale. > > > > Most people familiar with Action might just say 'Struts' and there > > isn't usually a misunderstanding. I suppose the same confusion exists > > when some

Re: Struts Tutorial

2006-03-24 Thread Larry Meadors
On 3/24/06, James Mitchell <[EMAIL PROTECTED]> wrote: > As far as products, right now there is Action and Shale. > > Most people familiar with Action might just say 'Struts' and there > isn't usually a misunderstanding. I suppose the same confusion > exists when someone says 'Apache'. Do you mean

Re: [OT off topic] Oracle Database Performace Issue

2006-02-10 Thread Larry Meadors
Huh...and that runs slow? Imagine that. ;-) Sweet mother of mystery, that is one gnarly query. Seems to have a lot of repetition in it...could it be redone as a stored procedure? Are you running it as a prepared statement? Larry On 2/10/06, Jonnalagadda, Sumithra <[EMAIL PROTECTED]> wrote: >

Re: [OT] Re: With a new project, what technologies should I use?

2006-02-10 Thread Larry Meadors
ve Newton <[EMAIL PROTECTED]> wrote: > Larry Meadors wrote: > > - iBATIS because HQL sucks, and every coder worth *paying* knows SQL > > > I'd actually disagree with this... unless we're using different > definition of "knows". Many (most?) developers mi

Re: With a new project, what technologies should I use?

2006-02-10 Thread Larry Meadors
I have to agree w/ Simon on this: it really does depend on the project, but tried and true is key - use what you know you can succeed with. Don't experiment with real projects. Learning new stuff is great, but getting paid is great, too. :) I started a project in December, and went with: - JDK5

Re: Database Access

2006-01-19 Thread Larry Meadors
Interesting note: iBATIS was in the top 3 for JDJ's "Best Java Persistence Architecture". http://jdj.sys-con.com/read/171303_3.htm Larry On 1/19/06, Rick Reumann <[EMAIL PROTECTED]> wrote: > Asad Habib wrote the following on 1/19/2006 10:10 AM: > > What are the different ways in designing the p

Re: which one is best for DATA PERSISTENCE

2006-01-10 Thread Larry Meadors
I use iBATIS because it is the least intrusive of the two (among other things). It is also MUCH simpler to integrate into an existing database/project, because it works around your database structure instead of making you change your database structure to meet the needs of your persistence mechani

Re: submit double click, js and html:submit

2005-12-19 Thread Larry Meadors
"But when i use this code, after clicking on submit button i get error on page message in IE." Can you throw us a bone here? What is the error? Larry On 12/19/05, Amol Yadwadkar <[EMAIL PROTECTED]> wrote: > U may have to use validToken method provided by struts > > -Original Message- >

Re: Want dynamic menus

2005-12-12 Thread Larry Meadors
Tigra menu is the bomb. http://www.softcomplex.com/products/tigra_menu/demo/blue/ Larry On 12/12/05, Antony Paul <[EMAIL PROTECTED]> wrote: > Hi all, > I am looking for a component to create menus in Java web applications. I > want to have a drop down menu with many levels and a tree menu w

Re: Online Struts Tutorial

2005-12-09 Thread Larry Meadors
Yes, 1.x and 2.x are different enough to make the transition not much fun...not terribly difficult, but if you can avoid it, do. Also, version 1.x is not currently being maintained, so I would suggest that you go for 2.x instead...it is way better anyway. :-) Larry On 12/8/05, Michael Jouravlev

Re: Online Struts Tutorial

2005-12-08 Thread Larry Meadors
Rick's is old old old - version 1.x ibatis...I keep hounding the slacker to update it, but he says he's busy. ;-) Larry On 12/8/05, netsql <[EMAIL PROTECTED]> wrote: > In the wiki, I think there's a rick reuman Struts and iBatis tutorial > > Access Denied wrote: > > Would someone please recommen

Re: Online Struts Tutorial

2005-12-08 Thread Larry Meadors
Hey there, Mr. Denied, JPetstore 5 is available in the iBATIS SVN repository...more of an example than a tutorial, but it does use Struts and iBATIS ... as well as junit+emma for testing. http://svn.apache.org/repos/asf/ibatis/trunk/java/jpetstore/jpetstore5/ Larry On 12/8/05, Access Denied <[

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

2005-12-02 Thread Larry Meadors
AMEN! Less Code <> Simple In my experience, over-complexificationialzing in the name of writing less code always makes for more cost. Larry On 12/2/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > Preach on, brother Rick! :) > > I think your arguments about simplicity are very cogent. I thi

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

2005-12-01 Thread Larry Meadors
On 12/1/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > On 12/1/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > Put another way, my application depends on a Duck API, with methods like > > drumstick() and bill() and foot() that do things for me. Am I going to care > > if the internal implem

Re: [OT] performance of JDBC only, without Hibernate or iBatis

2005-11-28 Thread Larry Meadors
Yeah Frank, I would agree - I would guess that on a small scale (500 operations) reflection may cost you some time, but on a large scale (millions of operations) that difference is so small as to become insignificant compared to the gains that even the simplest caching would gain. Larry On 11/28

Re: [OT] performance of JDBC only, without Hibernate or iBatis

2005-11-28 Thread Larry Meadors
On 11/28/05, Raghu Kanchustambham <[EMAIL PROTECTED]> wrote: > I have not worked with iBATIS... and the intention was not to compare > hibernate vs. iBATIS Heh, mine was. :) > The recommendation I was making was to use Hibernate instead > of raw JDBC calls embedded in your code. I am still

Re: [OT] performance of JDBC only, without Hibernate or iBatis

2005-11-28 Thread Larry Meadors
Having used both iBATIS and Hibernate on large systems (100's of tables, 100's of GB of data), I would recommend iBATIS, especially if you are coming from a shop that has any good SQL experience. It does caching on both levels (connection pooling and POJO caching), and makes managing queries and u

Re: [OT] performance of JDBC only, without Hibernate or iBatis

2005-11-27 Thread Larry Meadors
I disagree Paul. :-) I believe that using a tool such as iBATIS can make an application use resources more efficiently by converting JDBC objects into POJOs, and caching database access. Even though the initial data request from the user may be slower (by a couple of ms), future requests for that

Re: Reporting Tools

2005-11-20 Thread Larry Meadors
It depends on what you are looking for. I have used both, and think they both suck. :-D Jasper has the advantage that it is free, but usability is crappy. Crystal has the advantage that it usually works, but requires a windows PC to modify the reports. Choose the evil you prefer. ;-) On a side

Re: Anyone hear of com.ibatis.struts.BeanAction?

2005-11-14 Thread Larry Meadors
It was an experiment that Clinton was trying. :) It essentially merges the action/for into one class...sort of JSF-ish. Larry On 11/14/05, Jim Reynolds <[EMAIL PROTECTED]> wrote: > Hello, > I am disecting a tutorial from IBatis which of course uses struts, > called "jpetstore". Anyway, they are

Re: Newbie help with Struts idiom: functional if/else tags

2005-11-14 Thread Larry Meadors
I like this: true Larry On 11/14/05, Michael Jouravlev <[EMAIL PROTECTED]> wrote: > Use either Struts or JSTL or bare scriptlet. In > your particular case you can make the decision in the bean itself. Do > not print HTML tags from Java, this produces unmaintable and > unportable code. > >

Re: Bean write problem on emebedding an image

2005-11-11 Thread Larry Meadors
On 11 Nov 2005 06:31:34 -, vineesh . kumar <[EMAIL PROTECTED]> wrote: > scope="session"> Was that just an email typo? lgic:iterate instead of logic:iterate? Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

Re: [OT]what techonolgies will you use to develop a new web application

2005-11-09 Thread Larry Meadors
That is like asking "If you were going to build a house, where would you build it?" Sooo many variables. I am currently working on an app that uses Spring+Struts+Tiles+iBATIS+Tomcat. Provide some more details on what the app will do, and you will get more accurate answers. Larry On 11/9/05, A

Re: [OT] Re: Picking a framework

2005-11-09 Thread Larry Meadors
Yes. On 11/9/05, Frank W. Zammetti <[EMAIL PROTECTED]> wrote: > On Wed, November 9, 2005 1:14 pm, Ted Husted said: > > We use Subversion for version control, MySQL for the > > database, iBATIS for the data access layer, and Spring.Web for > > dependency injection. > > Are there iBATIS and Spring p

Re: Record locking

2005-11-01 Thread Larry Meadors
I agree with Jason's assertion 100%. Your best bet on the web is record versioning. Larry On 11/1/05, Jason King <[EMAIL PROTECTED]> wrote: > This isn't a struts question so much as a persistence layer question. > There are several approaches you can use depending on your data and your > users.

Re: Performance test tool

2005-10-28 Thread Larry Meadors
JMeter was a turd the last time I looked at it. The docs were all out of date, and the app was about as intuitive as quantum physics in a mix of German and Hebrew. IMO, I'd spend the $$ to get one that was usable. Maybe Grinder is better... Larry On 10/28/05, Marco Mistroni <[EMAIL PROTECTED]>

[OT] It's FRIDAY!!!

2005-10-28 Thread Larry Meadors
So, here is an irrelevant topic. What is with the 500 word essays for email discalimers on public mailing lists? "This e-mail is confidential and intended for the use of the named recipient only." WTH?!? Larry By opening this email, you acknowledge that you are a Friday slacker like me.

Re: Showing my ignorance here. Sorry.

2005-10-28 Thread Larry Meadors
+1 == I agree, like if someone said your email discalimer was too long..I would reply and say: +1! Larry On 10/28/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hello, > > Every once in a while I'll see an e-mail with a +1 in the body. Sorry for > my ignorance but can someone please expla

Re: [slightly OT] Prince of Struts questions his database maintenance strategy

2005-10-24 Thread Larry Meadors
In spite of being one of "the others" who use iBATIS, I go with (a) and script the database changes. Larry On 10/24/05, Murray Collingwood <[EMAIL PROTECTED]> wrote: > Hi folks > > This is for those of us not using Hibernate or iBatisthose still using > JDBC or DBCP. > > You've spent 2 month

Re: tag allow maxlength???

2005-10-21 Thread Larry Meadors
The HTML textarea tag has no maxlength attribute - this has nothing to do with struts. You can however add an onchange java script to do it, and then also check it on the back-end. Larry On 10/21/05, Carl Smith <[EMAIL PROTECTED]> wrote: > I need disallow a user from entering more than 2000 cha

Re: Playing with the file system

2005-10-16 Thread Larry Meadors
I have done this by putting the uploads into a database (in a blob) then creating a servlet to serve them up. This has the added benefit of allowing you to easily add additional info to the image (who uploaded it? when? etc...) Larry On 10/16/05, Benjamin Lerman <[EMAIL PROTECTED]> wrote: > Hi

Re: Struts and db connections :: best practice

2005-10-14 Thread Larry Meadors
regards > Leon > > > > > Do you catch this exception in the DAO method or do you throw it outside? > > When you throw it outside, the local connection will be unclosed. What do > > you to prevent such issues? Thanks in advance. > > > > > > > > > &

Re: Struts and db connections :: best practice

2005-10-13 Thread Larry Meadors
I would argue that a well-written struts application will *never* (at least 99.999% of the time) have jdbc code in it. Larry On 10/13/05, emre akbas <[EMAIL PROTECTED]> wrote: > Hi all, > In a well written struts application, we assume declarative exception > handling is used. Therefore the code

Re: [OT] CVS question

2005-09-30 Thread Larry Meadors
No, but why not just get the branch in a seperate directory (i.e., export it) and copy it over the trunk, then commit it? Lazy is good. Larry On 9/30/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I'm having trouble with merging again. > > I am trying to merge changes from a branch into the

Re: "not-null" attribute in "key-property" tag cause xml parsing error

2005-09-19 Thread Larry Meadors
On 9/19/05, Bianchi Fabio <[EMAIL PROTECTED]> wrote: > hi all, > > this is my hbm.xml: Huh? > why ? Huh? > what can I do ? Try posting to the Hibernate user list instead? ;-) Larry - To unsubscribe, e-mail: [EMAIL PROTECTED

Re: [OT] SCM stories (war? horror?)

2005-09-16 Thread Larry Meadors
Seriously consider SVN, too if possible. From what I am hearing, all Apache projects will be on SVN within the next year. CVS is getting a bit "long in the tooth" but works well for everything i have ever needed. VSS is IMO a waste of digital storage that could have been better used for something

Re: Who decides?

2005-09-10 Thread Larry Meadors
On 9/9/05, Murray Collingwood <[EMAIL PROTECTED]> wrote: > I'm just a humble Struts user (and relatively new), and I don't claim to > speak for the > group as a whole. > > I have read through Donald Brown's presentation (Struts 1.3 and beyond) and I > get the > feeling that the goal posts just d

Re: DAOs in service methods

2005-09-01 Thread Larry Meadors
iBATIS is 100% thread-safe. Larry PS: can you point me to a good example of a Spring-based DAO implementation? On 9/1/05, Christian Bollmeyer <[EMAIL PROTECTED]> wrote: > Hi, > > my suggestion would be to have a closer look at the > Spring framework. IoC / dependency injection is > really coo

Re: DAOs in service methods

2005-09-01 Thread Larry Meadors
Actually, the iBATIS DAO stuff works well with darn near any data access technology - sqlmaps, hibernate, jdbc, and about 5-6 more "out-of-the-box", so don't think that using the iBATIS DAO means you have to use iBATIS SQL Maps - they are very seperate tools. What it does is similar to what you ar

Re: editor for Tomcat and struts

2005-08-24 Thread Larry Meadors
IDEA from Jetbrains is the bomb. Version 5.0.1 came out this week and just continues to amaze me. Larry On 8/24/05, Ayusman dikshit <[EMAIL PROTECTED]> wrote: > > Hi list, > I am new to Struts. > I am using Tomcat5.0 and Struts 1.1 to learn. > Of late I feel I should use an IDE. > Could any on

Re: [OT] DAO Pattern in Struts

2005-08-24 Thread Larry Meadors
stead, all that needs to be changed is the implementations of the interfaces that the application is using. As long as the DAO interface is implemented correctly, the application will continue to function as expected. Larry On 8/24/05, Emmanouil Batsis <[EMAIL PROTECTED]> wrote: > Larry

Re: [OT] DAO Pattern in Struts

2005-08-23 Thread Larry Meadors
You can (and should) use the DAO pattern with Hibernate, too. The iBATIS DAO even has built-in support for hibernate (of course, it has support for sql maps, too). Larry On 8/23/05, Paul Benedict <[EMAIL PROTECTED]> wrote: > Erik, > > Oh, I have worked on a project where that was the > pattern

Re: [OT] DAO Pattern in Struts

2005-08-23 Thread Larry Meadors
Have you looked at using something like the iBATIS DAO? I think it could save you alot of pain. One thing to watch out for is thread safety - putting a connection on an instance (especially a shared instance) is pretty risky, especially when you start thinking about transactions and the like...th

Re: [Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread Larry Meadors
I did not want to be greedy, but OK. ;-) Larry On 8/23/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Larry Meadors <[EMAIL PROTECTED]> wrote on 08/23/2005 03:59:50 PM: > > > On 8/23/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > > > &

Re: [Shale/JSF] Extending AbstractViewController doesn't automagically give me access to init() etc.

2005-08-23 Thread Larry Meadors
On 8/23/05, Craig McClanahan <[EMAIL PROTECTED]> wrote: > > Hmm ... sounds like a "shale-blank" app (corresponding to > struts-blank) might be a good idea ... +1! :-D - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional c

Re: How to Debug easier

2005-08-22 Thread Larry Meadors
Why not just use a debugger? There are several very good free debuggers available - netbeans, eclipse, jedit, ... Simple to set up, and a bit less "predictive" to use. (By that, I mean instead of trying to log what you think the problem might be, you can examine it as it is running to SEE what th

Re: Struts in Desktop Application

2005-08-21 Thread Larry Meadors
n can also be browser based. A typical example is > Google Desktop search. So, I guess you meant a centralized web based > application. Well, considering the same example of desktop search, you > see that there are cases where desktop applications still make sense. > > Gregoire. > >

Re: Struts in Desktop Application

2005-08-21 Thread Larry Meadors
For a desktop app? Struts makes very little sense in that environment. If you layer your application well (Data Access -> Business Logic -> View), struts would just get in the way of a desktop application. Larry On 8/21/05, Gregoire Diboula <[EMAIL PROTECTED]> wrote: > Hi *, > > Please help me

Re: Struts Download Action

2005-08-21 Thread Larry Meadors
I have used a straight servlet to download a blob from a database using a URL like this: http://someserver/documents/123/file.pdf I did it this way instead of using struts because IE is a pile of crap. :-) In this URL, the /123/ is the record's id, and file.pdf is the suggested extension for the

Re: Database Best Practices

2005-08-19 Thread Larry Meadors
Here is one example: http://ibatis.apache.org/petstore.html It's use of struts is different, but the database access approach is solid. Larry On 8/17/05, C.F. Scheidecker Antunes <[EMAIL PROTECTED]> wrote: > Hello all, > > In order to access a Database on my Model layer, which one is best? >

Re: Using Tiles as Email Templates

2005-08-06 Thread Larry Meadors
On 8/6/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I still wonder, how one would do it with the standard struts/tiles > combination. Hmm, I wonder WHY? Larry - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

Re: [OT] DTOs are evil

2005-08-05 Thread Larry Meadors
On 8/5/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > On Fri, 2005-08-05 at 08:13 -0600, Larry Meadors wrote: > > > > > Who cares? is opacity not the point of Object Oriented-ness? > > > > maybe. But code readability is the more important feature :-) >

Re: [OT] DTOs are evil

2005-08-05 Thread Larry Meadors
On 8/5/05, Leon Rosenberg <[EMAIL PROTECTED]> wrote: > On Fri, 2005-08-05 at 08:13 -0600, Larry Meadors wrote: > > > > > Who cares? is opacity not the point of Object Oriented-ness? > > > > maybe. But code readability is the more important feature :-) >

Re: [OT] DTOs are evil

2005-08-05 Thread Larry Meadors
Agreed. /me shudders... Larry On 8/5/05, Dave Newton <[EMAIL PROTECTED]> wrote: > Daniel Perry wrote: > > >you can do that without the getter/setter in java as MyProperty is public. > > > > > Public properties--now _that_ is evil! > > Dave > > > > --

  1   2   3   >