2

Hi I am writing a small SDK app for businessobjects (SAPBI 4.1). I am using Java and I want to use the BOE scheduling functionality. I have a question - I am implementing the IProgramBase class, which has a run() method. I am told that I do not need a main method, and that it is good to create an executable jar from the program. So my question is a general one - how can I create an executable jar without a main method?

Thanks!

Mike

4

2 に答える 2

2

Business Objects Enterprise Framework のコンテキストでは、クラスを実装IProgramBaseしてスケジューラを実行する必要があるだけです。

com.example.MainClassただし、通常の JAR ファイルでは、mainメソッドを含むクラス (たとえばMANIFEST.MF

Manifest-Version: 1.0
Main-Class: com.example.MainClass
于 2015-08-26T21:49:26.077 に答える