How to add EAR files in a java console application

Posted by Vibhas on Stack Overflow See other posts from Stack Overflow or by Vibhas
Published on 2010-06-14T07:18:45Z Indexed on 2010/06/14 7:22 UTC
Read the original article Hit count: 226

Filed under:

Hi Friends, I want to know how to add an EAR file into a simple java class i.e a standalone application. Let say i have a class Employee

package com.Employee;

import com.xyz.Workflow//this library is present in EAR file whose method i need to call public class Employee{ public static void main(String[] args)

// Wokflow wf = new Workflow(); // ws.initiateWorkflow(); this method needs to be called but for that i need to include this EAR which is given to me from a 3rd party;

}

Can any one help me the API is in EAR only. Thanks

© Stack Overflow or respective owner

Related posts about java