on 05-26-2008 9:56 AM
Hello all:
Coming from IBM WebSphere studio, you are very spoilt according to generating RMIC code which you need for your SessionBean implementations and so on. The distance is only "one right mouse click" and you get all what you need.
SAP (better the SAP Labs Bulgaria) supports you in doing this with a tool named RMI Improved Generator.
Unfortunately, there is only a small online-help with the application.
After a while, having read a lot of forum papers and fiddling around with the software I was able to come clear in generating the P4 stubs and ties for my test example. That means: my application works so far in conjunction with a non-J2EE application client (my NWDS is missing the project type: J2EE Application Client!?!).
But for now, I am not able to do so for RMI-IIOP generating. Is there anybody who can give me some detailed advice and/or documentation which fill in my gaps in using this nice tool according to RMI-IIOP generating stubs and ties?
Thank you in advance for any answers.
Karl-Christian
First of all, if you haven't read it here is some docs:
[Developing RMI-IIOP Applications|http://help.sap.com/saphelp_nw70/helpdata/EN/2a/01633e0084e946e10000000a114084/frameset.htm]
And here about RMI-P4 [RMI-P4|http://help.sap.com/saphelp_nw70/helpdata/EN/4b/fabc3d8af79633e10000000a11405a/frameset.htm] and here: [Generating Stubs and Ties|http://help.sap.com/saphelp_nw70/helpdata/EN/b5/4970bd2ae26442b02e55bcfb411a5d/frameset.htm]
Is this what you're looking for?
Regards,
Benny
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Benny,
Thank you for reacting and for your advice and hints.
No, this is not what I have been looking for. I expected a detailed paper (with pictures) in using the SAP tool RMI Improved Generator, about how it works and what you get (source(s)) after you finished clicking the button Generate... especially some advice to the input field Additional Classpath could be helpful.
Yes, I know and had read so far the docs you adviced to me...
As I mentioned in the very beginnings of my question, in the past the IBM miracle button of IBM WebSphere Application Developer has spoilt us (the colleagues and myself) very much. In fact, I am confused now and I started to read the documentation once more, so I guess it will take some time until I am able to do EJB development and! application via RMI-IIOP from within the SAP NWDS.
In case of need, for myself it is not the most adverse acceptable idea to relapse to IBM software according to J2E EJB development.
Thank you once more.
Regards
Karl-Christian
Hello all, hello Benny:
Hours later, struggling with any trap which could be reached under way I very happy succeeded to implement and to start
Developing an RMI-IIOP Callback Application
with success on my sneak preview java instance system
Specifies the version of the system
Cluster-Version: 6.40 PatchLevel 102141.313
Build-On:Monday, February 20, 2006 19:58 GMT
Perforce-Server:
Project-Dir:JKernel/630_VAL_REL
JKernel Change-List:102141
Build machine:SAPInternal
Build java version:1.3.1_12-b03 Sun Microsystems Inc.
SP-Number: 16
Source-Dir: D:\make\engine\630_VAL_REL\builds\JKernel\630_VAL_REL\archive\dbg
Here is the output from the console display:
Got initial context: javax.naming.InitialContext@2d9c06
sap.com/CallbackApplication/UtiCallbackBean
Lookup successful: IOR:0000000000000034524d493a6578616d706c65732e69696f702e5574696c43616c6c6261636b486f6d653a3030303030303030303030303030303000000000010000000000000060000101000000000d3139322e3136382e302e33330000c41f0000000c5ac4bc0103f9cdab381a010000000001000000010000002c0000000000010020000000050001000100010002000100030001000400010005000101000000000100010109
Narrowing successful: IOR:0000000000000034524d493a6578616d706c65732e69696f702e5574696c43616c6c6261636b486f6d653a3030303030303030303030303030303000000000010000000000000060000101000000000d3139322e3136382e302e33330000c41f0000000c5ac4bc0103f9cdab381a010000000001000000010000002c0000000000010020000000050001000100010002000100030001000400010005000101000000000100010109
-----testing reverseString() method -----
); remotsuc PAS olleH
-----testing squareRoot(double d) method -----
The square root of 5.44 is 2.3323807579381204
Testing whether 222222222222222241 is a primary one.......
Number of maximum trials: 471404520
25% completed....
50% completed....
75% completed....
100% completed....
I got: false
So once more a big thank you to Benny who points me the way!
Karl-Christian
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.