tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jaime Geovane Marcondes <>
Subject Re: @WebService - LocalInitialContextFactory
Date Tue, 24 Jun 2008 14:32:27 GMT


    We have to ignore the @WebService annotation in
LocalInitialContextFactory. Our legacy project contains more than 100 EJB's 
with these annotations, and can't be changed. The legacy libraries are
currently running on an OC4j/IAS environment.
    To solve this problem, we made an adjustment on the AnnotationDeployer
class, at line 1021: 
"if (sessionBean.getServiceEndpoint() != null)", but that's not recommended
as at least 50 developers will use this tool. 
    I think that creating that kind of "fork" over your GA is not the best
way to deal with the problem.

    Thank's for your support!

David Blevins wrote:
> On Jun 23, 2008, at 6:29 AM, Jaime Geovane Marcondes wrote:
>> I have a project that is annotated with @WebService, but i don't use
>> these in Local mode (LocalInitialContextFactory).
>> It's possible to ignore the annotation of type WebService on start of
>> server ?
> We don't have the functionality to ignore the @WebService annotation,  
> but on the same side supporting the testing of components as  
> @WebService requires you to enable some "heavier" functionality that  
> is off by default; essentially a lightweight http server.
> If you could share some of the motivation behind wanting to ignore the  
> @WebService annotation, we could probably add something that could do  
> the trick.  I.e. is there something in particular about the processing  
> or support of @WebService that you'd really like to avoid?
> Sounds like there might some neat ideas.
> -David

View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message