Advanced Customization > Info*Engine Java Adapter Development > JADK Classes and Interfaces > JADK Implementation Classes
  
JADK Implementation Classes
There are two implementation classes available. One is multi-threaded and one is single-threaded.
JADKAdapterImpl
This class provides the single-threaded implementation class needed for Info*Engine to invoke the adapter. Depending on whether you run your adapter in coresident mode or standalone mode, the implementation can be invoked either from the same Java Virtual Machine (JVM) that Info*Engine is running on or from an entirely different JVM.
This class implements the IeProcessor interface defined by Info*Engine. The two required methods are processRequest and initialize:
The processRequest method receives a request from Info*Engine and in turn invokes the adapter webject defined by an adapter implementer.
The initialize method does the data member initialization, including, but not limited to, setting the appropriate service name for the adapter, and passing the logging object to the adapter. The initialize method does the initialization for every request.
JADKMultithreadedAdapterImpl
Similar to the JADKAdapterImpl class, this class provides the multi-threaded implementation needed for Info*Engine to invoke the adapter. Depending on whether you run your adapter in coresident mode or standalone mode, the implementation can be invoked either from the same Java Virtual Machine (JVM) that Info*Engine is currently running on or from a totally different JVM.
This class implements the IeMultithreadedProcessor interface defined by Info*Engine. The two required methods are processRequest and initialize:
The processRequest method receives a request from Info*Engine and then invokes the adapter webject defined by an adapter implementer.
The initialize method does the data member initialization, including, but not limited to, setting the appropriate service name for the adapter, and passing the logging object to the adapter. However, with the multi-threaded model, the initialize method performs a one time initialization for all the requests coming to the same adapter instance.