I am trying to learn Java EE properly and am stumped at a problem. I am unable to get a client to work with my EE application. I asked this question earlier and looked around and found that if I need to run my main
method with EE features then I need an application client container.
The client code that I am trying is
package com.anshbansal;
import org.jboss.weld.environment.se.Weld;
import org.jboss.weld.environment.se.WeldContainer;
public class Main {
public static void main(String[] args) {
Weld weld = new Weld();
WeldContainer container = weld.initialize();
weld.shutdown();
}
}
How can I run this client through application client container of weblogic 12c?