SDK 2005 & Java
Hi,
I'm new in SDK and I start width 2005 version.
I'm trying to rewrite in java a project written in VB, but I can't find the java libraries in the SDK installation package of the 2005 version.
I use Netbeans as environment for java.
Can anyone help me?
Thanks.
Paolo,
This is a sample how to connect to SBO
com.sap.smb.sbo.api.ICompany oCmp = null;
long rc = 0;
oCmp = com.sap.smb.sbo.api.SBOCOMUtil.newCompany();
oCmp.setServer(server);
oCmp.setCompanyDB(database);
oCmp.setUserName(user);
oCmp.setPassword(password);
oCmp.setLanguage(com.sap.smb.sbo.api.SBOCOMConstants.BoSuppLangs_ln_English);
rc = oCmp.connect();
if (rc != 0)
System.out.println("Connect to Database: " + rc);
SBOErrorMessage sErrMsg = oCmp.getLastError();
System.out.println(sErrMsg.getErrorMessage());
System.exit(-1);
Regards,
Ad
Similar Messages
-
SDK 2005 SP1. Where is it ?
Hi all,
reading the forum posts i've understanding that is available a Service Pack 1 for SDK 2005, Is Right ?
If yes, can someone send me any reference to download it ?
Thank's in advance.Like Trinidad said,
The SP1 for SBO 2005 is not released yet - SAP said it would be released somewhere in quarter 2 (of 2006)
You can find all details regarding supported platforms in PartnerEdge (http://channel.sap.com) - SAP Business One - Solution Overview - Solution Details -à SAP Business One 2005 - Supported Platforms
Message was edited by: Barend Morkel -
Do I need both the Java 2 SDK and Java 2 JRE(both standard edition) in order to make Java applications? If I do, how do I get them to work together? Which do I install first? Where should I install the SDK in order for it to work with the JRE(and vice-versa)?
Thanks all!You need the SDK. When you install the SDK, you get the tools to develop in the language as well as the JRE to run your code. The JRE download only comes with what you need to run Java. The SDK includes the JRE.
Michael Bishop -
Porting from JDK 1.2.2 to MS SDK for Java 4.0 - Help!!!
Hi All!
My company is developing big project using WLS 4.5.1. + JDK 1.2.2 + Java
Plug-In 1.2.2 on clients. A lot of applied code depend on Java 2 APIs,
javax/swing is actively used as well. But the customer decide to use
Microsoft VM both on server and client sides - they have support contract
(for other products) with MS and MS may decide to cancel support if our
customer will use Sun JDK and Sun JVM.
So, I have to try to port all project to MS SDK for Java and the question
is: Do I have a chance not to rewrite 100% of my code?
Somewhere I read: ":I've downloaded the new MS Virtual Machine
(msjavx86.exe) that should be compatible to Java2:" - is it really so? Does
anybody knows if MS will support Java 2 platform specifications? As I found
at MS, latest MS JDK 4.0 (on which WLS 5.1 can run) meets specification of
Java 1.1 and after installing it I found that I must rewrite about 90% of my
code. Can someone clarify the situation with MS JDK?
Thanks in advance,
Andrey Bogush
PS: Any information, links, documents, overviews on how to persuade the
customer to use Sun JDK and JVM against MS one are VERY and STRONGLY welcomeAndrey Bogush wrote:
>
Hi All!
My company is developing big project using WLS 4.5.1. + JDK 1.2.2 + Java
Plug-In 1.2.2 on clients. A lot of applied code depend on Java 2 APIs,
javax/swing is actively used as well. But the customer decide to use
Microsoft VM both on server and client sides - they have support contract
(for other products) with MS and MS may decide to cancel support if our
customer will use Sun JDK and Sun JVM.MS can cancel their support if they use Sun's JDK! That's an
"interesting" clause in your support contract.
>
So, I have to try to port all project to MS SDK for Java and the question
is: Do I have a chance not to rewrite 100% of my code?
Somewhere I read: ":I've downloaded the new MS Virtual Machine
(msjavx86.exe) that should be compatible to Java2:" - is it really so?I don't believe any versions of Microsoft's JVMs support Java2.
Personally, I think it would be a big waste of time to port working
Java2 code to JDK 1.1 just to run MS's JVM.
-- Rob
Does
anybody knows if MS will support Java 2 platform specifications? As I found
at MS, latest MS JDK 4.0 (on which WLS 5.1 can run) meets specification of
Java 1.1 and after installing it I found that I must rewrite about 90% of my
code. Can someone clarify the situation with MS JDK?
Thanks in advance,
Andrey Bogush
PS: Any information, links, documents, overviews on how to persuade the
customer to use Sun JDK and JVM against MS one are VERY and STRONGLY welcome -
Use vCloud SDK for Java to integrate with vCD 5.6
Hello Folks,
Newbie here.
I have a situation where a home grown app, that uses vCloud SDK for Java to invoke a vCloud Director 5.1 installation. We use this for powering on/ off a few VMs.
Our installation is being upgraded from vCloud Director 5.1 to 5.6.
My question is, are we expected to upgrade/ carry out any code changes to our current implementation to integrate with the newer runtime version (5.6)?
Many thanks in advance.
Regards
MohanSomewhat going from memory here.
As long as the REST API Versions URL states that it is compatible with 5.1, then you should be fine to make the calls as v5.1.
Here is the section of the documentation for that:
Using the vCloud API with vCloud Director
The I think the SDKs are just wrappers in a manner of speaking. They all eventually translate code (java/python/etc) into a REST API system that is sent into vCloud Director via the API. For the most part, I think it'll work.
That's not talking about "support", just that it should work with some exceptions. I don't know if there is an official stance on cross compatibility like this. -
SonyEricsson SDK for Java ME - version 2.5.0.2 - Where?
Hi. I'm looking for a SonyEricsson SDK for Java ME, and I need its version 2.5.0.2 (for p1i on-device debug). But only 2.5.0.3 can be downloaded from developer.sonymobile.com. I've looked for it on google, but I haven't found. Does somebody have this version? If you have it, or you know a download link, post me, please. Thanks!
I've had a look but that version doesn't seem to be available for download anymore, either on Sony's developer world site, or anywhere else. I suggest you contact Sony and see if they can help you:
http://www.sonymobile.com/global-en/support/contact-us/ -
Diffirences between SDK 2005 and 2007?
Hi all,
Is there some informations available about the differences between SDK 2005 and 2007?
Thanks in advance,
Chief.Chief,
There is a "compatibility" document that outlines what has changed between version with respect to issues you could run into as well as new features in the 2007A SDK. You can find those documents here on SDN at ...
SAP Business One 2007 [original link is broken]
Eddy -
Azure SDK for Java on Mac/Linux
I need to develop a part (communication with Service Bus) of a solution in Java (normally I use C# for development) on Mac/Linux. Can I just use the microsoft-windowsazure-api-0.4.6.jar file of the Azure SDK for Mac/Linux in my project, because I don't
use Maven?
Thanks.
GuyWhen trying out some code using the Windows Azure SDK for Java (on a Mac) obviously just adding the jar to my project and adding it to my build path isn't just enough. I get error messages such as:
Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/logging/LogFactory
at com.microsoft.windowsazure.services.core.Configuration.<clinit>(Configuration.java:48)
at com.microsoft.windowsazure.services.serviceBus.ServiceBusConfiguration.configureWithWrapAuthentication(ServiceBusConfiguration.java:88)
at xx.yyy.zzzz.aaaaa.ServiceBusClient.<init>(ServiceBusClient.java:20)
at xx.yyy.zzzz.aaaaa.Main.main(Main.java:7)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory
at java.net.URLClassLoader$1.run(URLClassLoader.java:372)
at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 4 more
When clicking e.g. on Configuration.java:48 I get: Source not found.
The JAR file microsoft-windowsazure-api-0.4.6.jar has no source attachment.
What am I missing. Thanks for your help. -
What's the difference between Netscape SDK for Java & JNDI?
I know I can use either JNDI or Netscape SDK to access iDS. So whats their differences basically?
Why would I need JNDI/Netscape SDK if I can just use either of them to access iDS?
Thanks!Netscape SDK for JAVA developed only for iplanet Directory Server but JNDI for any directory server.
JNDI has classes provided by Sun that will help your application interact with an LDAP server.JNDI applications work similarly to JDBC applications - write applications once and be free to use "drivers" from different vendors. Sun provides the "driver" that will help interact with the LDAP server. Sun also provides "drivers" for other naming services (like CORBA, Netscape).
The Java Naming and Directory Interface (JNDI) allows Java applications to use a single set of methods to access multiple naming and directory services such as LDAP and NIS.
JNDI is a Java API that provides a common way for programmers to access a variety of naming and directory services. The API consists of several packages:
javax.naming for naming operations (access entries)
javax.naming.directory for directory operations (access attributes)
javax.naming.event for requesting event notification
javax.naming.ldap for LDAP-specific features.
JNDI operates through a layer of software called a Service Provider. The Service Provider implements the JNDI operations in terms of a particular underlying protocol.
JNDI's Service Provider Interface (SPI) allows you to select Service Providers at runtime. In many cases you can use the same JNDI methods regardless of whether the Service Provider is talking to an LDAP server or using another protocol such as NIS. In order to access all of the functionality of the LDAP protocol, however, you will have to use methods outside of this abstraction. -
Difference between SDK 2005 and SDK 2007
Hi,
please, can someone help me to find a SAP document about the differences between SDK 2005 and SDK 2007?
I need a document or web link...
Regards
EmanueleHi Emanuele,
The documentation you request is in the SDK's chm help file (that comes with the SDK itself).
Open the Help file and go to the Index tab. There you'll find a "What's New" topic.
Regards,
Vítor Vieira -
Java Software Development Kit (SDK) for Java 6 on Leopard.
Does anyone know if the Java Software Development Kit (SDK) comes with Leopard, or if one needs to sign up for an Apple developer account to obtain it?
I typed the following command on the Terminal command line:
javac
The output of that command was:
Usage: javac <options> <source files>
where possible options include:
-g Generate all debugging info
-g:none Generate no debugging info
-g:{lines,vars,source} Generate only some debugging info
-nowarn Generate no warnings
-verbose Output messages about what the compiler is doing
-deprecation Output source locations where deprecated APIs are used
-classpath <path> Specify where to find user class files
-cp <path> Specify where to find user class files
-sourcepath <path> Specify where to find input source files
-bootclasspath <path> Override location of bootstrap class files
-extdirs <dirs> Override location of installed extensions
-endorseddirs <dirs> Override location of endorsed standards path
-d <directory> Specify where to place generated class files
-encoding <encoding> Specify character encoding used by source files
-source <release> Provide source compatibility with specified release
-target <release> Generate class files for specific VM version
-version Version information
-help Print a synopsis of standard options
-X Print a synopsis of nonstandard options
-J<flag> Pass <flag> directly to the runtime system
I would like to use Java version 6.Hi John,
I sort of remember Java 6 being IntelMac only...
Once you’ve gotten logged in, go to Downloads, select “Java” on the right hand side of the page, and download the Java SE 6 beta. Note: this is only available for Intel Macs running Tiger or Leopard — if you’ve got a G4 or G5, you’re out of luck right now
http://www.metaphoriclabs.com/articles/installing-java-6-on-mac-os-x/
But here they are...
http://ituploads.com/apple/macintosh-os-x-java-jdk/
Can I do Java 6 development in OS X?...
http://stackoverflow.com/questions/739418/can-i-do-java-6-development-in-os-x -
I am using CMSDK API to connect to oracle CM SDK by using the following statement
service = LibraryService.startService(serviceName, schemapassword, serviceConfig, domain);
but i have following exception
oracle.ifs.common.IfsException: IFS-20100: Unable to find service (MODService)
oracle.ifs.common.IfsException: IFS-20120: Invalid service name (MODService)
at oracle.ifs.common.IfsException.<init>(IfsException.java:300)
at oracle.ifs.server.S_LibraryService.findService(S_LibraryService.java:1540)
at oracle.ifs.beans.LibraryService.findService(LibraryService.java:274)
at com.raya.mod.cmsdk.IfsManager.connectToRepository(IfsManager.java:25)
at com.raya.mod.cmsdk.IfsManager.main(IfsManager.java:78)
i need to know if i am using wrong service name , where can i find the right service name ?and what is the Service name ?There is a table in the CMSDK that will give you the service name. You can also login to the Application Server Control and under the CMSDK pages it will tell you the default service. It is usually IfsDefaultService, unless you change it.
-
Hi,
im looking for the 2005A Business One SDK, which contains the samples. Specially i am looking for the 17.ChooseFromList sample.
Does someone know the link to the sdk samples.
Thx for help.Hi Frank,
The SDK samples are copied to your machine when you install the SDK, from the SBO installation package. That includes the sample you want.
You can also look here for a futher demonstration on advanced (and also frequently asked) SDK stuff (including choose from lists).
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21d1212f-0801-0010-dab8-c39b3cacc3b9">https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/21d1212f-0801-0010-dab8-c39b3cacc3b9</a>
" This code sample, which was shown at the 2005 Tech Summit, shows how to work with forms by using SAP Business One SDK. It includes code samples that demonstrate how to download a form designed by using Screen Painter (.srf format), use Grids, use Data Tables, use Choose From Lists, work with events, and add menus on a Right Click event."
Hope this helps,
Ian -
Hi all,
is there any possibility to download SBO 2005 SDK? There was this possibility to download SDK 2004 from SAP Marketplace before, but now, I can not find it.
Or the only way is to order SDK directly from SAP?
Thanks in advance.
Best regards
Libor.Hi Libor,
You must order the SDK from SAP, but the SDK (without a license of course) is included in the normal installation of SBO 2005.
Hope it helps,
Adele -
Adobe InDesign CS5 Server SDK - libraries JAVA
trying with helloworld.java in ids cs5 server sdk.
the library com.adobe.ids.sdk.utils.* cannot be imported.
any idea how/from where to import it?
are there more libraries available?Thanks for that tip Harbs, I have regenerated the API, which produced an InDesignServerAPI.jar that I've been able to use to compile and run against CS5 Server. So I can get on with developing again now . However, it's inconvenient to have to regenerate just to be able to start Java development (and it would be worse if I was using Windows because I'd need to buy Visual Studio, fortunately all the tools needed for regeneration on Mac OS X are free).
Also there are some very useful documents included in the CS4 Server SDK that aren't in the CS5 Products SDK, for example ww-ids-java.pdf (Working with Adobe Indesign CS4 Server Java) and the "Regenerating the Adobe InDesign CS5 Server Java API" document mentions the Server SDK (e.g. "The InDesign CS5 Server SDK installation contains the prebuilt Java API Jar file") so I'm still curious as to whether there will be a CS5 Server SDK.
Maybe you are looking for
-
New retina MacBook Pro - WiFi connectivity problems
Dear all, I've recently purchased the new Haswell 13" retina MBP, and I'm having exactly the same WiFi connectivity problems the 2013 Airs had. I have a solid connection for a short time, and at irregular intervals it just drops out. All of my other
-
Alternate for CTRL+SHIFT+F5 in UCM
currently we are using ctrl+shift+f5 for getting into content editing. Any alternate option for bringing the site screen into contributor mode ~Thanks Hari
-
Display Item not showing Text when form is opened in Forms 6i
Hi, I am using Oracle Forms 6i & I have taken DisplayItem control on a canvas and want to show some text over that e.g., "Your Name". For that I set 'Initial Value' property of that control in Property Palette to "Your Name". But I am not getting any
-
I've tried everything and nothing has worked. I love FireFox and hate Internet Explorer--please help!!!
-
Has anyone thought to remove the anodized backing of the black iPhone 5?
Seeing how the raw aluminum handles the scuffgate problem a lot better than anodized. I really like the look of the plain aluminum and if I could get a black iPhone 5 with it I think it would be the sexiest iPhone every. Any thoughts?