sudeep mahapatra

Greenhorn
+ Follow
since Apr 06, 2007
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
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by sudeep mahapatra

"Stuck Thread Max Time" a configurable property in WLServer for performance tuning. Available at server/tuning.
Definition from weblogic is :
"The number of seconds that a thread must be continually working before this server considers the thread stuck."
Minimum value is 0 sec. Default value is 600 sec. Maximum value is 2147483647 sec.

If the execute thread takes more time than the StuckThreadMaxTime declared in weblogic server.
It will show StuckThreadMaxTime error.

Normaly i have seen this while processing sql query in application that is expected to have huge records as a result.
more on stuck thread can be found at "http://e-docs.bea.com/wls/docs81/perform/WLSTuning.html#1125714"
8 years ago
A BusinessDelegate is to delegate/pass the information to business layer (For e.g. to a Bean) not to contain business logic itself.
Usually BusinessDelegate passes the info to a SF(SessionFacade) where the actual business logic resides.
For Example:

SampleAction [Action class]
/** Business Delegate instance */
private SampleBD sampleBD = new SampleBD();
execute() [this method should contain code to call testPDFCreate()]
testPDFCreate() [Here you call the createPDF() present in SampleBD]
{
sampleBD.createPDF();
}

SampleBD [It should contain a method that calls the business method present in Bean]
public createPDF()
{
// create Bean (EJBObject) of SampleSFRemote
// call createPDF()
// catch RemoteException
}
SampleSFRemoteHome [This is the Home Interface having the create method to create an EJB object]
SampleSFRemote create() throws CreateException, RemoteException;
SampleSFRemote [This is a session bean containing the abstarct method createPDF()]
createPDF() throws RemoteException ;
SampleSFBean
public createPDF() {}[Give the method body here. The actual business logic.]

One Important thing to check how you are passing information. Normaly ValueObject is used.
These objects are Serializable.
Can you please check in your project code. I think there must be some DesignPattern being followed.
Just see how other business flow is working.
8 years ago
Struts Action classes are part of controller so they should not contain any business logic. A business delegate is used to delegate the business to business layer. In this manner we can separate the business logic from View and Controller.
More on MVC : http://java.sun.com/blueprints/patterns/MVC.html
8 years ago
Hi,
I'm getting this error in org.log file.
'weblogic.kernel.Default (self-tuning)'] ERROR org.apache.struts.action.RequestProcessor - Invalid path /modulename/search was requested.

Please help fixing this error. Thanks in advance...

8 years ago