Baumgart
19th October 2001, 22:34
Hi,

I am looking for somebody who has expirience with JAVA and Baan. On each Baan Installation there are some Java Classes on $BSE/internet and also a directory with an example.

I would like to know how can I connect to Baan by using Java.

When I have to use the netserver6.1

And general, how does it work?

mfg

Klaus Baumgart

depp_baan
5th December 2001, 16:37
What Baan Version is your question related to ?

For BaanERP 5.0c. One possible solution could be:

1. Use session ttstpcreatdll to create a Baan internal dll.

2. The corresponding files will be written automatically somewhere under the application directory.

3. With the bin/bic_jstub program it should be possible to create Java classes.

See the BaanERP Tools for the documentation of the BI server and the bic_xxx commands.


Greetings from Mannheim

arunprasath
21st February 2002, 08:59
they are the internet applets, which help u to view 8 session in Baan on the internet.
for that u need to have IIS, create a site.
a detailed document is available.

IIS talks to baan through the ProxyServer, which is given by baan itself.


any help contact me.
Arun

Jeyaseelan
22nd February 2002, 13:23
I tried Internet Applets long ago. But it wont be very helpful when u wish to integrate with heterogeneous systems.

Try BaaN Business Objects (BOI's). Its very reliable and safest way of doing data insertion into BaaN and it wont affect the database schema also. BaaN Openworld adapter and BCK kit helps u in building BOI's.

Regards,
Jeyaseelan

tsanchez
22nd February 2002, 13:34
I was involved on a e-sales workshop a few days ago although
developing new BOIs was nearly overlooked. Could you please
share with us the process ? I tried to create a new one from a
standard session through ccboi0102m000 for later turn it into
a dll with ttstpcreatdll but after this I was unsure whether I
could add it yet to our Self Service Lookups or I should do
anything more to complete the process.

Any hint would be welcome.

Tomas Sanchez Tejero
tsanchez@consultant.com

Baumgart
4th April 2002, 21:40
Originally posted by arunprasath
they are the internet applets, which help u to view 8 session in Baan on the internet.
for that u need to have IIS, create a site.
a detailed document is available.

IIS talks to baan through the ProxyServer, which is given by baan itself.

Its bit tricky.
any help contact me.
Arun

Thank You for helping.

I alraedy installed the Proxy Server and I could start a Baanfunction from Java via the ProxyServer. But I haven't got a return values and I couldn't send any parameter with this function. Where I can get get more information.

Thanks for helping

Jeyaseelan
3rd May 2002, 10:51
Hi,
Im attaching the Installtion Guide for internet applets. Hope this help u.
Bye.

Jeyaseelan

ericthomas
7th May 2002, 16:01
Dear All,

Could someone guide me to run Java on 2000 server?

I have passed through all the stages and finding the logon wont connect. Checking whether java(jview)running or not ?

Please help.

Thanks in advance.

Eric.

Jeyaseelan
8th May 2002, 07:53
Run the javac <filename> command from the directory where you want to run java program in the dos prompt. See wthether its recognising javac command. If its compiling properly then java is running fine. If not then there might be a problem in the java classpath settings.

If u want to set the path permanently Choose settings, Control Panel, and select System. On Windows NT, select the Environment tab; on Windows 2000 select the Advanced tab. Look for "Path" in the User Variables and System Variables. If you're not sure where to add the path, add it to the right end of the "Path" in the User Variables. A typical value for PATH is:
C:\jdk1.3.1_<version number>\bin

Capitalization doesn't matter. Click "Set", "OK" or "Apply". The PATH can be a series of directories separated by semi-colons (;). Microsoft Windows looks for programs in the PATH directories in order, from left to right. You should only have one bin directory for a Java SDK in the path at a time (those following the first are ignored), so if one is already present, you can update it to jdk1.3.1_<version number>.

The new path takes effect in each new Command Prompt window you open after setting the PATH
variable.

If u still face any problems mail me with the details.
Thanks.

mickbaan
4th July 2002, 16:25
As Depp_baan explained above, there should be a bic_jstub in the bin directory to generate Java classes. We are running B4c4 and don't have that executable on our system? Do we need to purchase OpenWorld to get this bic_jstub program?

Can somebody tell me how to call a BOI from Java? (analogue to the submit.function(...) function in VB)
Can somebody provide me with an example of a Java Class calling a BOI (or any other DLL on the Baan server)

Regards, Mick

arunprasath
5th July 2002, 18:02
Hi,
when u create a boi for any session, it gives u a set of classes in java which has certain functions like create(), change(), list(), netlist(),delete().
Using these classes we can write our own java client and execute the boi in baan.
It is successful.
Arun

mickbaan
10th July 2002, 14:31
Is there an official release of the Baan.connect.* classes? in the $BSE/internet directory of our B4C4 system there seem to be different versions.

Also (arun). Have you got a working example of a Java class communicating with a BOI?

How does the connection with Baan take place? From Visual Studio you can start the BW client as a process to create an OLE link, does this work the same in Java? (baan.connect.connection.class???)

Any help would be greatly appreciated.

Cheers, Mick

arunprasath
10th July 2002, 17:15
Hi mick,
after you install BCK(Baan connect Kit) , it has all the necessary java classes that are necessary to connect to baan.
Here Java connection to baan takes place by implementation of the Display Server Protocol.
BCK also gives a sample Java client. Apart from that I am also having some clients in Java.

You can also write a BOI client in Visual Basic or Visual C++. Also the method which u say is also possible through OLE. this doesnt involve BOI. Here we activate the baan client from vb and execute some functions in dlls.

Any responses welcome.
Arun

tdiaz@fuego.com
9th July 2004, 03:13
Hi,

Could you please provide me with an example on how you access a BOI either from Java or from VB or C++ ?

It would be very helpful for me.
Thanks in advance,
Tania

arunprasath
9th July 2004, 08:41
Hi,
Have you installed bck? BCK has got in itself set of samples for every type of client. That would give a better idea of how to integrate boi with other applications.
And FYI I have moved out of baan quiet a long time back. Now I am into a different domain. I dont have any of baan's old code with me.

Arend-Jan
20th July 2004, 10:09
Hi Tania,

To connect to Baan via Java/C++/VB or .NET code you can better use OpenWorldX. This suite contains a BOI development studio (graphical) with several compilers (Baan, Java, C++, .NET). It also supports XML and SOAP messages.

Regards
AJ

tdiaz@fuego.com
27th July 2004, 02:31
Thank you ! I'll research about it.