Google
 

Tuesday, August 31, 2004

kbmMW HOT news!!!

August 29. 2004 - Native Java access to kbmMW


The last few codelines are being put into the new Java simple client
library, which allow for a Java application to access a kbmMW based
application server, regardless of the application server running on Linux,
Windows or .Net.



Some code:


...


public TkbmMWSimpleClient SimpleClient = new
TkbmMWSimpleClient();


...


void btnConnect_actionPerformed(ActionEvent e) {
try {
SimpleClient.Connect("localhost",3000);
SimpleClient.RecvTimeout=1000;
taDebug.append("Connected"+"\n");
}
catch (Exception ex) {
taDebug.append(ex.toString()+"\n");
}
}

void btnDisconnect_actionPerformed(ActionEvent e) {
try {
SimpleClient.Disconnect();
taDebug.append("Disconnected"+"\n");
}
catch (Exception ex) {
taDebug.append(ex.toString()+"\n");
}
}

void btnInventoryList_actionPerformed(ActionEvent e) {
try {
Object o =
SimpleClient.SendRequest("KBMMW_INVENTORY","KBMMW_1.0","LIST",null);
taDebug.append(o.toString()+"\n");
}
catch (Exception ex) {
taDebug.append(ex.toString()+"\n");
}
}

void btnGetAbstract_actionPerformed(ActionEvent e) {
try {
String[] sa=new String[1];
sa[0]="KBMMW_INVENTORY";
Object o = SimpleClient.SendRequest("KBMMW_INVENTORY","KBMMW_1.0","GET SYNTAX
DETAILS",sa);
taDebug.append(o.toString()+"\n");
}
catch (Exception ex) {
taDebug.append(ex.toString()+"\n");
}
}

void btn100List_actionPerformed(ActionEvent e) {
try {
for (int i=0; i<100; i++) {
Object o =
SimpleClient.SendRequest("KBMMW_INVENTORY","KBMMW_1.0","LIST",null);
taDebug.append(o.toString()+"\n");
}
}
catch (Exception ex) {
taDebug.append(ex.toString()+"\n");
}
}


August 28. 2004 - kbmMW application server and clients on .Net


kbmMW application servers and clients are now running as fully managed
and safe code on .Net. In addition to a .Net kbmMW client to talk with a
.Net kbmMW app. server, .Net clients can also talk directly with Win32 and
Linux kbmMW app. servers and visa versa.


What has now been ported is about 95% of the functionality of the Win32
kbmMW setup.


That means that you have direct access to remote procedure calls,
remote datasets, objects, loadbalancing, failover, transactions etc. as
you already know from the current kbmMW setup.


May we also use the occation to celebrate that its the first
3rdparty true enterprise level application server framework for the .Net
platform!


Sample diagram of a cluster with native Win32, native
Linux and .Net kbmMW application servers all participating in a
distributed loadbalancing setup.
The cluster is
accessed by Java enterprise servers, .Net handhelds and native
Win32/Linux desktops.



No comments: