Several APIs are made available for developers who are creating third-party development tools.
If you are simply developing your own J2EE or EJB applications and are not developing third party application development tools, you will not need to use these APIs, and you can continue working with the user interface for your application development.
Javadoc for these public APIs is included in the classes.
The following operations can be programmed to run in a headless or regular workbench:
SelectiveEJBJarImportOperation op = new SelectiveEJBJarImportOperation(Project sourceEJBproject, List enterpriseBeans, EJBJarFile jarfile); op.runOperation();
SelectiveEJBJarImportOperation op = new SelectiveEJBJarImportOperation(Project sourceEJBproject, String[] enterpriseBeanNames, EJBJarFile jarfile); op.runOperation();
Parameters:
/** * @param anEjbCreationInfoProvider IEJBCreationInfoProvider * @param anEditModel com.ibm.etools.ejb.ejbproject.EJBEditModel * @param anOperationHandler com.ibm.etools.j2ee.operations.IOperationHandler */
Example:
EJBCreationOperation op = new EJBCreationOperation(EJBCreationModel anEjbCreationModel, EJBEditModel anEditModel, IOperationHandler anOperationHandler); op.run(IProgressMontor monitor)