Win a copy of Transfer Learning for Natural Language Processing (MEAP) this week in the Artificial Intelligence and Machine Learning forum!

manasa teja

Ranch Hand
+ Follow
since May 27, 2002
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by manasa teja

Was- Webspehere Applciaion Server, where actually the applcaiton runs in , test or PROD. This is like a heart in any J2ee application.

WSAD-Websphere Stuio Application Developer. As the name indicates, it is where we develop the applciton. you have all the editors for HTML, JSPs, java classes, EJB, XMl etc etc.....It also has a test server built in it. So you can test the applciation, which you are developing.. then finally you deploy the applciton on to real server i.e WAS.

HTH
15 years ago
yeah.. we were getting this staleexception only in Prod , not in Dev ot test environments.

Someone suggested to change "Disable auto connection cleanup" in teh datasource settings.. but our webmaster was not intersted to chnage the standard settings...

Other solution we followd is

get the connection.. test this connection whether this is "valid" or "stale"

basically, you can get the connection, execute a dummy SQL( something like get today's date from DB) , and see whether you are getting the resullt set or not. If you get it, it means that its a valid connection, else, it will throw Staleconnection exception.. so catch it.. make it null and try for a new connection again.. do that validations again..when you get a valid connection, you can send it to the applicaiton, where actually you need to execute your SQLs, stored procs etc..

HTH
15 years ago
Authors,

Does your book have any recipes for exception handling, especially on how to use declarative exception handling, best pracices for exceptions, tips, traps etc..
Also, which one is better, programatic handling or declarative handling??

thanks
15 years ago

Originally posted by Liz Brown:
<html:link styleClass="a_white_bold" href="<%=helpLink%>" target="help">
<bean:message key="headerlink.help"/>

where's the key defined?
I am using weblogic 7
thanks.



In applicaitonResources.properties .
please verify struts-config.xml. You might have mentioend it over there.
15 years ago

Originally posted by Lasse Koskela:
I don't think there's any difference in how one uses EJB's with Struts compared to any other MVC framework or regular servlets.



Mmmm.. Just want to know, whether there are plug-ins, extension points, or configuring some XMLs (like struts-config.xml) etc, when we use struts with EJB...
15 years ago

Originally posted by George Franciscus:
A 500-700 PDF would be a pretty big PDF to return to a web client. This is clearly not the norm for a web app. I think iText will give your the performance you want for a reasonably sized report. Lasse is probably quite correct. I would also be interested in a performance comparison between the two, but let's not forget to factor in the cost to create the XML for the transformation.




Yes thats right.. we tried explaining it to our cleints..
but one of teh business clients said " The other report with 100 pages is taking just 40 seconds which is really good, whereas this report with 700 pages is taking 8 minutes, I am not a techie person , but I dont' undertsand the logic here.... it should be taking just 280 seconds. "

We neither..
15 years ago
Dear authors,
Does have your book have any recipe for Struts and EJB..
it will be really good if we have a chapter explaining how to use with struts ..

what other topics does your book have? Any tips, best practices for each concept?


thanks
[ January 26, 2005: Message edited by: manasa teja ]
15 years ago
yes. Itext is realtively very easu to use. I did use it in my previous project with Struts.. We handled as many as 50 PDF reports.
But I think, XSL-FO is for complex reports where as ITEXt is for simple reports.
We did have some performance issues with ITEXT for "big" reports. ( means the PDF will have 500 to 700 pages of data). It was taking plenty of time to produce the PDF to the client, say 8 to 10 minutes. But we had only 3 reports like this, we were able to convince clients.
BUt as Geroge said, ITEXt is relatively easy to understand and use it.
It has very good API and documentation and sample examples are really good!!
May be in this recipe book, they shoould have talked about XSL-FO also for more complex reports and reports with huge data. I am not sure XSL-Fo performance though...
15 years ago
thanks !!
I just bought them in amazon
15 years ago
JSF
Which sites you generally browse to update yourself with latest happenings..??
one is javaranch obviously.. then ??

15 years ago
Friends,
I am planing to learn JSF.
Could you pease suggest me good books on this topic..

I saw some two /three books in book store here.. one from O'reilly and another is Core jSF..
please suggest me the good one!
thx
15 years ago
JSF
I am yet to start learning JSF..So far , im quite busy with Struts stuff..

so what are USPs of JSF..

Please provide good reference material , good books on JSF..

so much to learn...
in one of my friend's project, they have to decided to use
JSF for View and Struts for controller part and Hibernate for model layer

very intersting.. I have to see, how it goes.
15 years ago
JSF
JSF frm Javaworld
""

In my opinion, it also seems as if Sun was trying so hard to catch up with (and be like) Microsoft�s ASP.NET framework that they neglected some of the excellent architectural pieces that were already present in the J2EE camp. Does anyone see a pattern here (JSP and ASP, EJB and MTS)? Many JSF proponents argue that the internal implementations are different. To them I say �think Windows and Mac�. Worst of all, in the process, JSF also inherited a limitation from ASP.NET; a weak controller model

""

It does not really matter , what the author says inthe above article..
We have to learn JSF...
15 years ago
JSF
a Merry Christmas and a Happy New Year.
Have fun!!!


[ December 21, 2003: Message edited by: manasa teja ]
16 years ago