Not this weekend, but next. Price is cheap - sign up, but goes up. This
is also my last post on it.
Today's NY Times Science has an ad on it. (Does anyone know the page #?).
Here is the line up of sessions:
1. Ted Husted will present - on details of anew sample Struts
application to be
Unit test the performance of the model layer.
.V
Satya Narayan Dash wrote:
Hi,
I am in the process of improving a struts based application. I am using the cache taglib (from apache) and have written some filters to improve the performace.
I am using Apache2 as the web-sever and Tomcat4 as the
Best Practice is to follow the J2EE spec.
The container provides services to the application, such as data source
pool, declerative security, etc.
In your container, create a data source pool.
(Then access the pool via a DAO)
.V
Niall Pemberton wrote:
I have to say I think putting it in the
Here is my jasper code:
public void service(
HttpServletRequest req, HttpServletResponse resp)
throws IOException, ServletException {
//this servlet will take the parms and emit a report.
// best used by fronting with a common of JSP that will pass in
That is bad design.
You should querry the db and do TOP limit or a governor to prevent a
run away qerry.
If you do not find it... just re-run a better querry.
.V
Andy Engle wrote:
Hi all,
I am wondering if anybody has ever worked with a huge amount of data
with iBatis and displaytag? I was
Of course you could switch to a popular DAO such as iBatis or Hiberante
and avoid the issue all together.
There are JDBC forums on Sun.
.V
Shyam A wrote:
Robert,
Thanks for your response. No, the update queries use a
single connection for which auto-commit is turned off.
Commit is done only if
Is there a way you can reproduce this w/ iSQL command line?
I assume Sybase, since you said row-level.
My guess is that it's not the sql, but your DAO logic somehow. It would
take you only a day or so to switch that one update to
http://www.reumann.net/do/struts/ibatisLesson1
.V
Shyam A wrote:
that the DBMS locks up rows of table A
or B (before commit) and waits until it updates table
C for the commit. Is this the cause of the problem?
I've not been able to determine (using SQl Plus, TOAD
) which query is causing the row-level lock.
Any ideas?
Thanks,
Shyam
--- Vic Cekvenich [EMAIL
- Vic Cekvenich Author basicPortal (J2EZ easy and simple to
customize application for membership, portal, cms, community, store,
etc. using bestPractices for large, profitable commercial sites. )
+ more
You will get a CD mailed to you once you register.
April 3rd from 8AM to 7PM in NYC
Corrections:
- Flex and WebWork2 speakers added. This will cover major MVC choices.
- Ted Husted, senior Struts Committer, walks through a new version of
the original Struts example, updated to take advantage of the latest
features in Struts 1.2 and accepted best practices.
.V
Vic Cekvenich
-Original Message-
From: Chappell, Simon P [mailto:[EMAIL PROTECTED]
4. I had the same frustrations that you have. I made the decision that the
best way to restore the balance of good in the universe, was to try to
become the kind of tech lead that I would have wanted when I was a
I have a page with a form that works on it's own, I can submit and will
take me to the next page corrctly. However, I am trying to forward to a
tile definition now and my submit will cause a null pointer exception
and doesn't seem to find my bean in session. can anyone tell me what
i'm doing
Yes, please no more FLAME on Orkut, my bad. I am not adding anyone
anymore, there are 43 people in Struts group on Orkut. and it a
FOAF... Friend of a Friend type, so people that are connected will get
in other ways, I just wanted a seed...
One of the things that is a minus of this list is
!
sebastian
S e b a s t i e n T r e m b l a y
01 - Cryptographic Security
(613) 991-8394
[EMAIL PROTECTED]
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent: Sunday, February 08, 2004 11:16 PM
To: [EMAIL PROTECTED]
Subject: Orkut
If you want to join Struts in Orkut
James Mitchell wrote:
- if you rely on JSP debugging, chances are good that you have WAY too
much logic in your pages. Consider following an MVC approach.
+1
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
If you want to join Struts in Orkut Social Network send me an e-mail
saying so.
.V
(if you do not know what it is don't worry)
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Done. Find the Struts community on there and join.
Now you add others :-)
.V
Ramachandran wrote:
Yes I want to join.
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich
Sent: Monday, February 09, 2004 9:46 AM
To: [EMAIL PROTECTED]
Subject: Orkut
If you want
19 people signed up so far. Cool. Price goes up tmrw.
.V
Vic Cekvenich wrote:
At nyhotel.com on April 3rd, convenient by train from Boston, NJ, Philly
and DC.
1 day early registration rate at baseBeans.com now!
Price will go to $495 and up as the date approaches, and there are
limited seats
At nyhotel.com on April 3rd, convenient by train from Boston, NJ, Philly
and DC.
1 day early registration rate at baseBeans.com now!
Price will go to $495 and up as the date approaches, and there are
limited seats in the booked room.
As advertised in upcoming Feb. issue of JDJ. (scroll down to
http://www.craigslist.org/sfc/eng/22118807.html
(pardon me, but I help the list sometimes and sometimes I milk it)
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED] wrote:
Do you have any recommendation for reducing this testing time for Web pages
that include JSP tags ?
Im using Eclipse for coding JSPs (I mean here HTML pages that include JSP
tags, no tag libraries). In order to test the visual aspects of my JSPs, I
then build a war
Just like everyone else.
http://msdn.microsoft.com/asp.net/default.aspx?pull=/library/en-us/dnaspp/html/aspnet-aspnet-j2ee-struts.asp
This was fun to read, it puts a smile on my face. Somone has a chip on
their sholder.
*
Main point made in there: Do not use JDBC, you make us look bad, use
.
Since my bus rules relie on a fast self caching dao... I have no issues,
but I test w/ OpenSTA anyway.
.V
Thank you again,
Guido GarcĂa Bernardo
Vic Cekvenich wrote:
{repost}
I just override validate() method on formbean and do all there,
including super.validate() that reads validation.xml
Fyi, the infonoia.com Struts class in Geneva's (w/ Cedric the tiles
creator) students get a book the covers how to get around this the right
way!
See the Wolfgang post.
.V
Sgarlata Matt wrote:
OK, I understand now. That makes sense. Thanks for your help, Craig
Richard!
Matt
- Original
: Vic Cekvenich [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, December 20, 2003 12:14 PM
Subject: Re: How find DataSource?
See sample source code section here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
Ex:
Context ctx = new InitialContext
repost (news error?)
Martin Gainty wrote:
how about putting it into DynaActionForm::initialize which
initialises the
beans anyhow..
-Martin
A DAO in a form or a bean hmmm. If that is what you want to do in
an MVC framework.
I don't do data source in formbeans.
Take a peak at PetStore
{repost}
I just override validate() method on formbean and do all there,
including super.validate() that reads validation.xml. In here I call
DAO's to do business validation also, ex: what is the available credit
for the client to place this order.
Then in action I do this:
errors =
Example of what not to do:
public SomeActtion extend Action {
Object _someObject;
public execute (.. ) {
... bla bla
_someObject.setSomething();
... bla bla
}
David Erickson wrote:
Hey I have been reading a lot about threading lately from the JLS and
otherwise.. but my
e-denton Java Programmer wrote:
Has anyone set up a connection pool using web.xml? Steps? Examples? Tips?
No one has, it can't be done. You can declare it in web.xml, that's all.
Read Rick Reumans tutorial on ibatis dao and ibatis petstore 3 example
and do that, and you will be in a good
See sample source code section here:
http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
Ex:
Context ctx = new InitialContext();
if(ctx == null )
throw new Exception(Boom - No Context);
DataSource ds =
(DataSource)ctx.lookup(
I have a commercial Struts product that includes an event that is
generated when a new action is called.
I built it so that one can clean up any session stuff when going to
another action for large projects.
We could work out something VERY reasonable.
.V
Hookom, Jacob wrote:
We are doing a lot
Hookom, Jacob wrote:
Vic,
I did notice that there is pattern matching now available on the CVS head,
but I was wondering if your solution was done with Struts as is, or if you
had to make modifications to the Struts Config DTD and/or RequestProcessor?
The solution of using a workflow to enforce
http://www.macromedia.com/devnet/flex/articles/struts.html
Is this for real? YES!
Point of Struts is MVC, so some people do JSP, Velocity... other do
Hibrenate or iBatis... one thing remains.
(note how they did not support Spring, or WebWork or XYZ).
Flex is XML like, used to be Royale ( and
?
currious what a RIA looks like...
Regards,
Daniel
-Original Message-
From: news [mailto:[EMAIL PROTECTED] Behalf Of Vic Cekvenich
Sent: Wednesday, 17 December, 2003 3:07 PM
To: [EMAIL PROTECTED]
Subject: Flash Flex w/ Struts article
http://www.macromedia.com/devnet/flex/articles
BaTien Duong wrote:
Yes. This is what I am looking at Struts 2 of request/response framework
(struts-chain): in the article example of registration service, we will
probably have something like this:
Registration request - RequestProcessor - RegistrationService -
RegistrationAction - blah
I avoid timestamps.
Just make your where class = to the selct cluase.
In case any colum is changed, it fails.
(if you really need this)
.V
David Erickson wrote:
Hi I am using Struts with Hibernate in a webapplication.. we are using forms
etc. The problem I am currently trying to decide how to
I would use Ibatis or Hibrenate as a DAO, not both.
iBatis lets you use any SQL(corelated self join, sooner or later you
will need to do a trick or tune performance), which is why I have been
using it with much success; and I teach Struts with it, and there are
other Struts/iBatis resources.
:
What do you think about OJB?
Pedro Salgado
On 16/12/2003 16:58, Vic Cekvenich [EMAIL PROTECTED] wrote:
I would use Ibatis or Hibrenate as a DAO, not both.
iBatis lets you use any SQL(corelated self join, sooner or later you
will need to do a trick or tune performance), which is why I have been
That feature does sound neat. I know of other exaples where good code
did not make it in.
HOWEVER... a strength of Struts IS the DEVELOPER COMMUNITY support and
interactivty. No other framework comes close to the developer culture
relative to this Struts, for example this mail list.
It's also
Yes, I would say BEAN and LOGIC tags should not be used!
One should use JSTL, DisplayTag, Struts Menu, HTML-el, Tiles-el.
AFAIK EL will become main (and others deprecated) when Struts drops
support for Tomcat 3, which is planed for Struts 2.0.
I do think everyone is using EL and if they are not,
I would say JDBC drivers should not be in the WAR file (WEB-INF/lib) but
should go to container.
I am wondering, why would you not use a DAO, for my own reasons, since
there are questions on user list regarding JDBC, when I think DAO should
be used (unless people using DAO just have no
With a layered MVC application you can re-use beans outside of Struts.
Have cron call beans application. I do.
.V
Raman wrote:
Hello,
I am using struts/beans in my application. I want a scheduler kind of thing that
after regular interval of time should check the db and send mails.
I want some
This is very interesting I think.
.V
Hookom, Jacob wrote:
I was looking at chain's implementation, instead of executing the
commands
with the visitor pattern, wouldn't a more powerful/flexible method be to
implement it using a filter pattern?
See:
of separating layers,
how is your architecture like now ?)
(we would need something similar...)
Thanks,
M.
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent: Monday, December 08, 2003 6:29 AM
To: [EMAIL PROTECTED]
Subject: Re: designing simple scheduler
With a layered
No, no that is not what we are saying.
Just call the beans from your UI. In this case your UI is console.
Same bean that you allready tested. Struts is the fastest way to develop
that I know (15 years of IT for me)
So your console app check the JavaMail and saves it or send it from db.
Same
Struts users Servlets Role for it's tags, etc.
This snipet is from WEB.XMl (and not Struts.xml):
security-constraint
web-resource-collection
web-resource-nameSecure/web-resource-name
url-pattern/do/loginPg/*/url-pattern
Ah a small comment... The Struts DataSource should not be used, I agree;
the J2EE container DataSource should be used; but it will not be
removed for a while AFIAK.
(Deprecated just means it might be removed in some futre version. Just
like hopefully bean, logic and html:link get deprecated in
Take a look at a very good db example app that uses Struts on iBatis.com
caled PetStore 3.
.V
Ricky wrote:
hi, there,
with my project i had several queries about get datasource in struts. i know how
to get datasource in struts, just as in myAction, use getDataSource method and
Wendy Smoak wrote:
and restarting this weblogic again and again
each time i debug .. :-( ...
stil waiting for a solution ...
Trim your posts! Not only was it off topic, it was 400 lines long. How
about doing your development work on Tomcat, then deploying to Weblogic?
This has the added
I disagree with you as well Robert.
Having a confgiration nudges you toward design and separation, and
everyone on the team know where to find things.
In fact, when not doing Web apps, I use HiveMind, just so that I can
have the structure.
Anyway, there a lot of MVC compeitoris.
.V
Robert H.
I disagree.
DataSource should not be used, you should use a DAO, for example iBatis.com.
.V
Gurpreet Dhanoa wrote:
hi
You have to Configure DataSource and then u can get the refernce of the same
it in the ACtion and can use it
Regards
gary
- Original Message -
From: Divya B Sridhar
Errr. request processor might be upgraded in version 2.0 of Struts.. so
I subclass Action.
.V
Fullam, Jonathan wrote:
All,
I need to check the Session for an authenticated user before most
requests.
To do this I subclassed ActionServlet and only call super(request,
response)
upon
This is not a Struts question IMO.
here is a FAQ for Wiki:
#1. No one should use connection pool, if you want for some (I can't
think of a good one myself) do low level JDBC, you should use data
source. You can look up the data source via JNDI. Things like (low
level) RowSet take a data
surprises me that
there hasn't been a greater need for something like this in the community.
I'd be curious to hear how others have solved this problem.
Brian McClung
Senior Programmer
Belo Interactive
214-977-4083
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent
I use it with tiles!
Just the top tile is the menu.
(Ex: tab1, option 1: goto /do/action1) configured with CSS for look
and feel.
So a simple menu 1st, and then you wil see tabs as no big deal.
.V
Wendy Smoak wrote:
Vic wrote:
Struts Menu does tabs (and trees) much better, example of a
to mention my database, it is mysql.
Regards
Ajay Kalidindi
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 04, 2003 3:04 PM
To: [EMAIL PROTECTED]
Subject: OT:Re: connection pooling issue
This is not a Struts question IMO.
here is a FAQ for Wiki
(possibly multiple) independent unit(s) of many
actions and pages, what entries in Struts's configuration file do I need to
remove? The other option allows me to just remove the jar file (or a
corresponding directory) worry-free.
- Robert.
- Original Message -
From: Vic Cekvenich [EMAIL PROTECTED
Consider Tidy from W3.org or jTidy on sf.net for html clean up.
.V
Derek Clarkson wrote:
My thoughts exactly, I just don't know where and how to do this. ;-)
On Friday 05 December 2003 11:27, Wendy Smoak wrote:
Derek Clarkson wrote:
Is there anyway to automatically remove white space blank
http://www.reumann.net/do/struts/ibatisLesson1
(among others)
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
It's in the navigator package.
(but no need for CVS, you can just use the jar and look at the war example).
.V
snpe wrote:
Hello,
Is it Struts Menu 2.0 in CVS for Struts Menu ?
I checkout HEAD and RELEASE_NOTES have only 1.3 version
regards
Haris Peco
On Monday 01 December 2003 11:07 am, Matt
What I do is do data (Model) caching the data layer, the DAO, such as
iBatis. For example I can set the cache for options to 24 hours or
more, thus no special code for caching otside of DAO.
Then I retrive optionsCollection from DAO order by
some_sort_colum_for_order. This puts them in order.
Just today a new version of Struts Menu was released, that is what I use.
.V
Francesco Di Candia wrote:
Hi all, i'm a Struts newbie and i'm trying to move my web-application from JSP/Servlets to
Struts/Tiles. Someone of you can suggest my the best way to implement menu tile using Struts
Tiles
From home page of Struts you can get to Tiles API here:
http://jakarta.apache.org/struts/userGuide/struts-tiles.html#insert
See the role option?
That will optional display or not display a tile. There are many
variations on role with other tags.
.V
Mohan Radhakrishnan wrote:
Hi,
We need to
(thanks Batien for emailing the war).
When runing Struts Chain example I get a Sepecified RequestProcessor is
not compatible with TilesRequestProcessor.
Is there a work arround?
(Tiles and tilesaction are VERY important to my designs)
.V
(I am still just looking at examples.. still not sure
Here is what I do in WEB-XML:
security-constraint
web-resource-collection
web-resource-nameSecure/web-resource-name
url-pattern/do/pageA/*/url-pattern
/web-resource-collection
auth-constraint
role-nameRoleBA/role-name
of Sturts is broken).
If anyone (Batjen?) wants to e-mail me privetly the example war file
great, tia.
.V
Craig R. McClanahan wrote:
Quoting Vic Cekvenich [EMAIL PROTECTED]:
BaTien Duong wrote:
i am able to have struts-chain example (the old
struts-example with struts-chain built from cvs
Struts Menu does tabs (and trees) much better, example of a tab:
http://www.raibledesigns.com/struts-menu
Eric Chow wrote:
Hello,
I tried to use the tiles-example's tabsLayout but have a problem.
There are two TAB in my web page, HOME and ADMIN.
I want to implement as following:
* when click
Edgar P Dollin wrote:
There is another issue regarding connection pooling in struts vs connection
pooling in the container. In struts the war file contains all the
information the app needs to run. With container pooling (at least with
tomcat and resin) you have to coordinate the container
I used to use Crystal and now use ireports.sf.net with JasperReports
Butt, Dudley wrote:
Hi all,
Has anyone used any good reporting stuff recently? Please let me know. We're currently evaluating to get rid of our Crystal reports, just need to know
some other options...THANX
NOTICE:
This
OpenSTA works for me.
Jerry Jalenak wrote:
Hi All,
I've got a problem with my current web app where it stops responding after
about 6 hours. I need to set up a test environment and simulate multiple
logon's so I can trap my way through the code and figure out where it is
failing. I think there
Did you read any of the Struts books or tutorials on the home page of
Struts?
.V
Meenakshi Dhawale wrote:
Hi,
I am new to STURTS architecture I have told to implement it for live
project.
So I have downloaded STURTS 1.1 from
Larry Meadors wrote:
What is JSTL? kinds of questions should be answered
SNIP
As long as these questions are answered, they will continue to be
asked.
+1
Maybe a FAQ Wiki? Who will be the first to create a page and post a FAQ?
The culture of the list is part for Struts Community. The
Here is the Wiki url ... should somone want to do a first post on FAQ, I
will post 1 or 2... but I won't be first.
http://nagoya.apache.org/wiki/apachewiki.cgi?StrutsDocComments
Maybe dev makes the Wiki page more prominent.
Ted Husted wrote:
Paul McCulloch wrote:
Is it my imagination or are
You know in Struts you could submit on entering a field to get your
options, but you did not do that I assume for good reasons.
Let me try this as a stab:
Please read this:
http://jibbering.com/2002/4/httprequest.html
section on Calling a server-side Script without refreshing the page
Then once
Puneet Agarwal wrote:
Hi all,
Would it be possible and desired to make struts based applications be
available on 24x 7 basis.
What I mean is for a struts based application deployed in production
environment, the possible downtimes are two
1. Dependency down - like Database backup.
2.
I use Eclipse, with Colorer plug in for JSP; and Sydeo plug in for JSP
debuging.
.V
Davidson, Glenn wrote:
Which UI editor would you recommend someone use when developing web
applications based upon the struts framework? I am using eclipse as my IDE.
Thanks
--
I just wanted to say Validator is great!
And like Matt said, not in action/ actions should be stupid, in
formbean, ie:
errors=bean.validate();
(which then also makes .js validation work)
.V
Kruse, Matt wrote:
Using either customized Java code or regular expressions, a
developer can ensure that
I use this:
http://ireport.sourceforge.net
.V
[EMAIL PROTECTED] wrote:
Does anyone use datavision as reporting tool together with struts? any
examples?
thank you.
= = = = = = = = = == = = = = = == = = = = = = = == = = = = = == = = = =
This transmittal and any attachments may contain
Jim, action's execute throws exception; this exposes the container to
deceleertively do this, if you declare an error page in web.xml.
.V
Jimmy Emmanual wrote:
Why don't you throw the exception from the Data Access class and catch it in
DispatchAction and if there is an exception then forward
For option tag, you might want to use the optionCollection tag instead
for a collection.
.V
Mauricio T. Ferraz wrote:
I have a produtoBean on session and this has a property ArrayList formatosArquivos
How I put the value of option to the same name of bean:write name=formato/ ?
Struts comparison to WebWork:
http://www.jroller.com/page/mrdon/2003#re_struts_vs_webwork_technical
.V
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
Read up on Tokens in the Action class. It explains how to eliminate this
( that would have also happened even in a regular non struts servlet/jsp).
hth,
.V
Judy Spengeman wrote:
Using the following code fragment:
function f_ValidateForm(later) {
var newline = unescape(%0A);
var leading_space =
This is the standard way to do what you want... in web-xml only, using
J2EE for container (such as tomcat JDBC realms) for security, a best
practice.
Once you know this part of JAAS, then you can extend, to put more things
about the user in session, and track that in you actions.
!-- guest --
Do not cross post.
Consider iBatis.com(best one IMO), and write a DAO interface. This way
later you could switch.
.V
Butt, Dudley wrote:
Hi all,
I'm just wanting to find out from anyone who may have started using any JDO implementations? We really want to go JDO, but so far, we found only 2
This is an Eclipse new group question. There are several pages that list
all the Eclipse plugins (links on cheat sheet page on StrutsPlus.com).
I use XML buddy w/ smart typing for any XML, including JSP
and Colorer plug ins.
(also I use JFaceDB plugin for DB exploring)
Also consider DreamWeaver
Say this in WEB.XML
error-page
exception-typejava.lang.Exception/exception-type
location/error.jsp/location
/error-page
Then this in error.jsp or what ever you consider friendly:
%@ page isErrorPage =true %
You are at a J2EE error page:
p
%= exception.getMessage() %
and then:
Consider posting in TagLibs list.
This is covered very nicely in JSTL (aka Standard Tags), read up on set
encoding in
http://java.sun.com/webapps/download/Display?BundleId=8776
and let me know if you then have a question. They even have examples.
(or start here
Flip it and revrse it, go to tiles, that call actions:
definition name=myPage1 extends=baseLayout
put name=body value=/do/myPage1/
put name=tile value=/do/myTile/
/
definition name=myPage2 extends=baseLayout
put name=body value=/do/myPage2/
put name=tile
Brice Ruth wrote:
This still doesn't keep me from having to duplicate entries for each
section of our site (we have 5 - garden, school, office, crafts,
housewares) - and other non-Action driven pages need the same
.baseLayout extended Tiles for each of the sections (.baseLayout.school,
Let me try it this way:
_DO NOT_ call a /do from your definition to provide varibility by
calling an action from tiles, so that you have much less definitions.
Also, DO NOT loook at this :
http://cvs.sourceforge.net/viewcvs.py/basicportal/bPproj/bP/WEB-INF/config/layoutsShop.xml
(a shoping cart
James Mitchell wrote:
If you don't like Outlook features, stop using Outlook.
+1.
Outlook also spreads viruses.
I use Mozilla based mail client (Netscape, etc.) and have less of a need
to run any virus checkers, becuase it's just a better mail client.
.V
BaTien Duong wrote:
i am able to have struts-chain example (the old
struts-example with struts-chain built from cvs) up and running using
j2sdk1.4.2_02 and tomcat 5.0.14.
Where did you find an example of using a Struts chain?
.V
Jerry Jalenak wrote:
Hi All -
I've been trying to figure out a good way of handling something, and just
can't quite seem to get a grip on the best approach. Here's what I've got:
Two database tables - Table 1 has a BILLING_CODE and an ACCOUNT_CODE. Table
2 has the ACCOUNT_CODE and other
to pre-load the table(s) in a plug-in
and access everything in memory.
Make sense?
Jerry Jalenak
Development Manager, Web Publishing
LabOne, Inc.
10101 Renner Blvd.
Lenexa, KS 66219
(913) 577-1496
[EMAIL PROTECTED]
-Original Message-
From: Vic Cekvenich [mailto:[EMAIL PROTECTED]
Sent
[EMAIL PROTECTED] wrote:
retrieving all the records because just in case the client may need them does not look very efficient approach to me.
One never designs for all the exceptions of what might be, that would be
a bad design.
One designs for the likely case only, at least good designers do.
Is it OK using session attributes (performance, memory, etc. ), even if
you make sure session attributes are removed when no more needed ?
I ALLWAYS use session for form bean and then clean up.
I allways use request for read only beans (c:out, display tag, etc.)
And there is a non-standard thing I
Would this support JSTL tags?
In essence, if you can deal with tlds, it should.
Bean and logic should not be used, JSTL should be used instead.
Forest Arnold wrote:
FWA Software, Inc released Visual Tags for Struts 2004 on 03 November 2003.
Visual Tags for Struts 2004 is the latest release of FWA
of the box support TLD's smart typing, so I am just
saying why not work with other tags, that one would use in new
development in '04, next year.
.V
Ted Husted wrote:
If your container supports 2.3, preferring JSTL is a good idea. But many
teams still don't have that option.
-Ted.
Vic
You are of by a few orders of magnitude (2,000 to 4,000 concurrent is
what I get using j:Rockit VM)
A nice thing about layered MVC architecture is that you can stress test
a layer, the Model layer for example. I use OpenSTA + DBMonster to
simulate. I use JaMon to monitor live app., so I know
OpenSTA
Read the great step by step tutorial that comes with it.
Brice Ruth wrote:
Hey, Vic -
I'm looking to do some stress testing of our site before we deploy, can
you recommend any good reference books/sites to get started in this area?
Brice
Vic Cekvenich wrote:
You are of by a few
1 - 100 of 398 matches
Mail list logo