Hi everybody ,
I am new in EJB, but a have a lot of experience in other distributed
architectures (DCOM,MTS,CORBA). Right now I am developing an application
infrastructure based on the WebLogic App Server. Part of this infrastructure
is client - server Error Handling mechanism. I'd like that every remote
method will have implicit parameter, say Vector of serilizable Error
objects.
I want to transmit them implicitly(for application programmer) from the
server to the client. Suppose, I have on the server singleton server-side
ErrorHandlerr class, which keeps container of errors : where key =
principal, value = vector of error objects. I also have on the client side
the same singleton object - client -side ErrorHandler. On the server side
for example a few errors have been occurred during nested invocation. All
errors are entered into the vector of error for specific principal. When
method is returned to the client, I want that this vector of errors will be
taken with return params from the server to the client. On the other hand,
on the client side, before control is passed to the client code, this
error stack will be inserted into client-side error manager . Is it possible
? Any ideas ?
1. How to force that each remote method in EJB to have implicit
parameter ? like default parameter in C++ ...
I don't want to write it in each remote method. Can I ask
container to do that on the deployment stage for marashaling
code generation ? Hook ??? API ???
2. Server: I'd like to intercept skeleton/ejbobject call, before
it return result to the sub , it do something ... Hooks ????
3. Client: before result will be returned to the client code , I
'd like stub will do something Hooks ????
Generally speaking I am skeptical, but anyway - any ideas ...,
Thanks
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".