Show EJBUtil.java syntax highlighted
package tk.sabreWulf.negest.util;
import javax.naming.Context;
import javax.naming.InitialContext;
import javax.naming.NamingException;
public class EJBUtil {
public static Context getInitialContext() throws NamingException{
java.util.Properties properties = new java.util.Properties();
properties.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
properties.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
properties.put(Context.PROVIDER_URL, "jnp://localhost:1099");
return new InitialContext(properties);
}
}
See more files for this project here
This project aims to offer the SOHO integrated platform to track their customers, the events generated by/with them, the orders and billing, warehouses, customer locations and equipment. Its a CMP/ERP, with its focus on water treatment business, for this
Project homepage:
http://sourceforge.net/projects/negest
Programming language(s): Java,XML
License: other
Constants.java
EJBUtil.java