hi..
i am new to
ejb. when i try to run the client.which is calling the bean it gives me the following exception.there is no any error in compilation
javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an
applet parameter, or in an application resource file: java.naming.factory.initial
at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
at javax.naming.InitialContext.getURLOrDefaultInitCtx(UnknownSource)
at javax.naming.InitialContext.lookup(Unknown Source)
at AdviceClient.go(AdviceClient.java:21)
at AdviceClient.main(AdviceClient.java:13)
this is the same error which i got after deploy on weblogic 7.0 and j2ee1.3
i put my bean and related classes in folder in d:\projects\advice
and my weblogic is installed on d:\bea\weblogic
plz tell me how can i overcome this problem