Shalom Rivka,
> -Ursprüngliche Nachricht-
> Von: Rivka Shisman [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 20. Juli 2005 18:50
> An: Struts Users Mailing List; Ed Griebel
> Betreff: RE: ApplicationException sample
>
>
> Hi Ed
>
> I don't hav
Shalom Rivka,
> -Ursprüngliche Nachricht-
> Von: Rivka Shisman [mailto:[EMAIL PROTECTED]
> Gesendet: Mittwoch, 20. Juli 2005 18:50
> An: Struts Users Mailing List; Ed Griebel
> Betreff: RE: ApplicationException sample
>
>
> Hi Ed
>
> I don't hav
I think a good example of the manager classes are in the sample
Struts-based application generated by AppFuse:
https://appfuse.dev.java.net/.
I have yet to see the full benefits of these manager classes, however I
am currently attributing this to my general newbieness with Java web
applicatio
hanks
Rivka
-Original Message-
From: Ed Griebel [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 20, 2005 3:19 PM
To: Struts Users Mailing List
Subject: Re: ApplicationException sample
Rivka-
Since you're developing from scratch, you might want to put a layer
in-between your EJBs and S
eption or ApplicationException at the "user" (Struts).
Erik
-Original Message-
From: Ed Griebel <[EMAIL PROTECTED]>
Sent: Jul 20, 2005 9:19 AM
To: Struts Users Mailing List
Subject: Re: ApplicationException sample
Rivka-
Since you're developing from scratch, you migh
Rivka-
Since you're developing from scratch, you might want to put a layer
in-between your EJBs and Struts. Some will call it business logic,
data access object (DAO), or Helper classes. This allows you to
separate the struts-related concerns from business-related concerns.
It also solves the issu
Erik, Glen, Laurie - Thanks for your help
After doing some more homework about exception handling - I have another
question:
If my Sturts Action calls directly to EJB methods (with no delegate
Layer) - then I have to catch RemoteException for all runtime
exceptions? Or is there a better way to w
Search on the Struts User ML
(http://marc.theaimsgroup.com/?l=struts-user&r=1&w=2) for those
exceptions; also a google on "catch ApplicationException" (in quotes),
etc. may be of help.
Glen
Rivka Shisman wrote:
Can someone please attach a sample of an ApplicationException,
BaseException &
public class ApplicationException extends Exception {
public ApplicationException(String message) {
super(message);
}
}
. . .
public class SystemException extends Exception {
public SystemException(String message) {
super(message);
}
}
. . .
(typical manager -- facade, mi
Rivka Shisman wrote:
Can someone please attach a sample of an ApplicationException,
BaseException & SystemException classes?
An example of catching them in an Action class will be very helpful too.
Can you explain more what it is you're looking for? If you just want to
know how to write and u
10 matches
Mail list logo