java Á¬½Ó sap
Ô´´úÂ룺
import com.sap.mw.jco.*;
public class control extends Object
{
public static void main (String str[])
{
control control=new control();
}
int count;
JCO.Client mConnection;
JCO.Repository mRepository;
String[] SAPInterfaces;
public control()
{
try {
// Logon info
mConnection = JCO.createClient("110", // SAP client
"", // userid
"", // password
"zh", // language
"", // application server host name
""); // system number
mConnection.connect();
mRepository = new JCO.Repository("ARAsoft", mConnection);
System.out.println("SAPÁ¬½Ó³É¹¦");
} catch (Exception ex) {
ex.printStackTrace();
System.exit(1);
}
JCO.Functio
Ïà¹ØÎĵµ£º
Javaѧϰ´ÓÈëÃŵ½¾«Í¨
Ò»¡¢ JDK (Java Development Kit)
JDKÊÇÕû¸öJavaµÄºËÐÄ£¬°üÀ¨ÁËJavaÔËÐл·¾³£¨Java Runtime Envirnment£©£¬Ò»¶ÑJava¹¤¾ßºÍJava»ù´¡µÄÀà¿â(rt.jar)¡£²»ÂÛʲôJavaÓ¦Ó÷þÎñÆ÷ʵÖʶ¼ÊÇÄÚÖÃÁËij¸ö°æ±¾µÄJDK¡£Òò´ËÕÆÎÕJDKÊÇѧºÃJavaµÄµÚÒ»²½¡£×îÖ÷Á÷µÄJ ......
ÏÈ¿´¸öÀý×Ó£º
½Ó¿Ú
package example;
public interface Basic {
public void hello();
}
½Ó¿ÚµÄʵÏÖÀà
package example;
public class BasicService implements Basic {
public void hello() {
Sysyt ......
1¡¢¼òµ¥ java
2¡¢¿ÉÒÆÖ²ÐÔ Ò»´Î±àÒë´¦´¦ÔËÐÐ
3¡¢ÃæÏò¶ÔÏó
4¡¢·Ö²¼Ê½ java°Ñ´ò¿ªÌ×½Ó×ֵȷ±ËöµÄÍøÂçÈÎÎñ±äµÄ·Ç³£¼òµ¥
5¡¢½¡×³ÐÔ java±àÒëÆ÷¿ÉÒÔ¼ì²é³öÆäËûÓïÑÔÔÚÔËÐÐʱ²ÅÄÜ·¢ÏֵĴíÎó
6¡¢¶àÏß³Ì ¶àÏ̵߳ļòµ¥ÐÔÊÇjavaÁ÷ÐÐÓÚ·þÎñÆ÷±à³ÌµÄÖ»ÒªÔÒò
7¡¢°²È«
8¡¢½á¹¹ÖÐÁ¢
9¡¢¶¯Ì¬
¡£¡£¡£ ......
ʵÑé1 Java¿ª·¢¹¤¾ß¼°³ÌÐòÉè¼Æ³õ²½
ʵÑéÄ¿µÄ
Äܹ»´î½¨JavaµÄ¿ª·¢»·¾³
ÊìϤ³£ÓõÄJDK²Ù×÷ÃüÁîµÄʹÓÃ
ÊìϤJava³ÌÐòµÄ±àдºÍ±àÒë¹ý³Ì
Á˽ⳣÓÃJava¿ª·¢¹¤¾ßµÄʹÓÃ
ʵÑéÄÚÈÝ
ʵÑéÁ·Ï°1£º´î½¨ºÍʹÓÃJDK
1£®JDKµÄÏÂÔغͰ²×°
JDKÊÇSUN¹«Ë¾Ãâ·ÑÔÚÍøÉÏ·¢²¼µÄ£¬ÎÒÃÇ¿ÉÒÔ½øÈ ......