Using java object in a non java application

Can you tell me how will i be able to use a java object(how can i instantiate a java class) in a non java application.I have read about COM,DCOM but these are fine only with micrososft platforms .Can anyone offer me alternative solutions...i also have read about CORBA ...kindly pour in your advice

i have read about it thats true but had i understood it from the material i wouldnt have asked for help ..instead i would i have been working on my project..

Similar Messages

  • Using COM object library & components in Java

    I've built an application that allows a PC (connected to a mobile phone by cable) to send & receive SMS from another mobile phones, using VB & Nokia PC Connectivity SDK. I want to rewrite the application in Java.
    As I have read in the documentation, Nokia PC Connectivity libraries are implemented as COM libraries. That is why I am asking if can I use COM object libraries & components in Java???
    And does Java environment supports object libraries as VB or C++ does???
    I am a VB programmer, but I am migrating now to Java which is why I have little knowledge about it. Please be kind enough to help me with this & with my learning about Java. Any help & suggestions are very well accepted.
    Thanks a lot

    I suggest that if you have a COM library dependency and lock-in, then Java is not the natural choice of platform. If you can re-write the Nokia connectivity app in Java, then that would be best. If you are just doing this to learn Java, then leave it and learn Java on a diff project!
    When you talk of object libraries, I am guessing you are just talking about software components (as COM objects could be classed)... in which case - of course Java supports components. Take a look at JavaBeans.
    HTH

  • How can I call a java object from Web dynpro ABAP application?

    I made Web dynpro ABAP application and posted it to SAP EP.
    For certain business purpose, we need to call external 3rd party java object using 3rd party's java api in Web dynpro application.
    Is there anybody who experienced this kind of java interface issue?
    I know Web dynpro Java environment can fully support this kind of requirement. but regarding Web dynpro ABAP, I couldn't find any clue for this.
    Any comment or suggestion would be greatly appreciated.
    Thanks,
    Raymond, ABAP Consultant

    if you have jco configured, then you can make calls to java api from ABAP .
    check out this weblog.
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    Raja

  • Accessing Object Clusters From non-web applications

              Say I have a three-tiered WebLogic cluster (web proxy, servlet, EJB).
              I have an application that wants to access the EJBs directly from
              the object cluster via RMI or Corba.
              If I'm correct, the only load balancing/failover would be provided
              by DNS. So how are non-web applications able to enjoy the benefits
              of the cluster?
              I suppose you could send your EJB requests through a servlet??
              Is that the only way?
              Please share your ideas!
              Thanks,
              Dave
              

    See http://www.weblogic.com/docs51/cluster/concepts.html#1024225
              David Mrozek <[email protected]> wrote:
              > Say I have a three-tiered WebLogic cluster (web proxy, servlet, EJB).
              > I have an application that wants to access the EJBs directly from
              > the object cluster via RMI or Corba.
              > If I'm correct, the only load balancing/failover would be provided
              > by DNS. So how are non-web applications able to enjoy the benefits
              > of the cluster?
              > I suppose you could send your EJB requests through a servlet??
              > Is that the only way?
              > Please share your ideas!
              > Thanks,
              > Dave
              Dimitri
              

  • Using CW UserInterface Control in non MFC application.

    Is it possible to use CW++ controls in non MFC application ?
    I need to display a graph in a dialog based application that does not
    use MFC (written with all windows procedures).
    Dimitri

    Dmitri,
    This is not directly supported in CW++. CNiGraph derives from CNiControl,
    which derives from MFC's CWnd.
    The controls are ActiveX controls, however, so it should be possible to use
    it in a non-MFC application just as you would any other application. The
    downside to this is that you will have to use the automation data types such
    as SAFEARRAY and VARIANT instead of the C++ data types such as CNiVector.
    David Rohacek
    National Instruments
    "Dimitri Ghinis" wrote in message
    news:[email protected]..
    > Is it possible to use CW++ controls in non MFC application ?
    >
    > I need to display a graph in a dialog based application that does not
    > use MFC (written with all windows procedures).
    >
    > Dimitri

  • JAVA Object to XML to JAVA to XML

    I have to achieve below in java:-
    -Create input XMLs from Java class (that resides in a jar).
    -Take input from user then store that data to Java object and submit for processing.
    -After processing print response java object again in XML.
    What is the best API to achieve this. Will be helpful if any example is available.

    Thanks for the Reply =)
    I have a Java Object that have some fileds like arraylist<Class> I want to take care of these fields as well.
    If that arrayList<Class> have another fields that can be normal fileds or arraylist of another class, need to take care of all fields during XML generation
    Example:-
    Root Class have below fields
    private int ArCt;
    private ArrayList<ClassChild1> Ar;
    Setters
    Getters
    ClassChild1.class
    private int PlnCd;
    private int cArCt;
    private ArrayList cAr<ClassChild2> cAr;
    ClassChild2.class
    private String PlNm
    XML Needed - Example from above object
    <root>
    <ArCt>1</ArCt>
    <Ar>
    <ClassChild1>
    <PlnCd>S</PlnCd>
    <cArCt>2</<cArCt>
    <cAr>
    <ClassChild2>
    <PlNm>Plan1</PlNm>
    </ClassChild2>
    <ClassChild2>
    <PlNm>Plan2</PlNm>
    </ClassChild2>
    </cAr>
    </ClassChild1>
    </Ar>
    </root>
    Edited by: nitingautam on May 15, 2011 11:01 PM

  • Declarative java object cache in non oc4j container

    hello,
    i'm trying to use the cache.jar from 10g in a standalone application.
    i've followed the j2ee services guide and use cache.open(path_to_javacache.xml). javacache.xml has preload-file defined, in which i've declared my userdefined classloader and userdefined cached object. the implementations of both implement declarable. however,when i use cacheaccess.getaccess(region_name) i get regionnotfoundexception.
    i've also tried to use the configurator alternative, where i specify the declarative cache xml file. but this gives me a classcastexception.
    any suggestions. better yet is there a sample program that
    shows the use of a decl cache in a non oc4j container.
    thanks

    Hi,
    I ran into the same problem while evaluating OC4J V9 Java Cache standalone.
    Cache.open() silently ignores errors:
    * Cache.open(path_to_javacache.xml) seems to silently swallow alle error messages (in your case the ClassCastException) and the ignore the configuration file
    * so to get meaningful error messages, first attempt to open the file with new Configurator(path_to_javacache.xml)
    * once there are no more errors, you can open it with Cache.open(path_to_javacache.xml)
    Now, to get around the ClassCastException:
    * you need to add xmlparserv2.jar from your oc4j distribution
    * this must be the first xml-parser in your classpath (when e.g. xerces.jar comes first, you will get a ClassCastException)
    A relative javacache.xml is relative to your working directory.
    The preload-file - Path seems to be relative to the javacache.xml path, if it is not absolute. I keep javacache.xml and preload-file together which worked for me.
    Hope this help,
    Andreas

  • Need help using ADF objects directly from a JAVA Class

    Hi Everybody
    I ma new in jdeveloper, what I am doing is an application that does not have visual interface. I created business objects for my tables, then I generated the java classes.
    In a function in my class I created and instance of mytableImpl.java (generated from the busines object mytable.xml), added all the data to it and called doDMLrow(DML_INSERT), doDMLrow is a public function that I created inside mytableImpl.java in order to access the private method doDML. I need to make sure that every record that I insert , delete or update is committed immediately.
    ALso I need to know if there is a guide, example , or documentation that shows how to use this properly.
    Any help is appreciated,
    Cesar A Ortiz

    Cesar,
    you can't just instantiate a entity object (EO), mytableImpl in your case.
    EO should only be used together with the whole framework. So you need an application module, a view object (VO) build from the EO. Then your use case can is pretty simple. You don't have to overwrite any of the generated methods.
    To insert a row into the DB use the VO and create a new row, fill the attributes, insert the row and call commit. If you have more rows to insert (i.e. read the data from a file) you should write a service method at the application module level and let this method do all the work (read the data from file and insert the new rows onto the db, calling commit after each record).
    To call this service method you can use the BC4J tester right inside from JDeveloper.
    All this is documented in the 'Fusion Developer's Guide for Oracle Application Development Framework'
    Timo

  • How to run a java program in a non-java platform

    Hi,
    Need a help...
    I have created an application written in JAVA. I have converted the class files into .exe file using JEXEPACK.
    It's working fine everywhere if JAVA is installed. But not working in a machine where JAVA is not installed.
    Is there any way to create exe file from the class files so that it would be run on any system irrespective of JAVA installed.
    Thanks in Advance,
    Ujjal

    Ujjal wrote:
    Hi,
    Need a help...
    I have created an application written in JAVA. I have converted the class files into .exe file using JEXEPACK.
    It's working fine everywhere if JAVA is installed. But not working in a machine where JAVA is not installed.Right! Just like CD's and DVD's don't work very well without a CD or DVD player.
    Is there any way to create exe file from the class files so that it would be run on any system irrespective of JAVA installed.Simple answer, no. However, you can compile x86 or potentially run directly on some Java hardware implementation, but I doubt you really want to do this. What's the problem with simply installing Java?

  • Can I use OBIEE WebLogic Servers for NON-OBIEE Applications ?

    Hi guys !
    OBIEE 11g comes with Weblogic 10.3.X. Technically, there is nothing stopping me from installing my own custom JEE Applications in a WebLogic domain (bifoundation or a new one), correct ?
    These applications have nothing to do with OBIEE. Rather I'm using the provided WL env as a standard JEE Application Server env.
    Have you guys had any experience with it ? Am I going to break OBIEE because of this ?
    Thanks.

    As long as you are good with Weblogic configuration no issues, if at all if you log a SR with Oracle for your custom configuration they may question you.
    This just my opinion, I may be wrong.

  • SSO to non SAP Application using SAP Logon Ticket

    Hi Experts,
    I Have EP 7 SP 15 using SPNego Wizard to SSO with Active Directory and SSO between EP and ECC using SAP Certificates.
    Now I have a demand to SSO some JAVA based applications (non SAP) to my portal using the SAP Logon Ticket.
    I Have followed some blogs that directed me to use SAPSSOEXT (some libs) to read the MYSAPSSO2 cookie. The problem is that I didn't found this cookie, I even executed the command javascript:document to look for this cookie but the browser just show me the JSESSIONID info.
    Does anybody knows where I can find this cookie or if there's a better way to set up this SSO? It´s necessary to say that I cannot SSO these application to the kerberos protocol because some security reasons on my company.
    Thanks
    Armando

    Hi,
    I dont have much info related but i can giv u hint
    refer OSS Notes 442401 and 723896.
    When using SAP logon tickets for non-SAP applications, two different implementation options are available. The difference lies in where the ticket verification takes place.
    In the first case,  the SAP logon ticket is submitted to the web server filter located on the web server. The web server filter verifies the portal serveru2019s public key
    certificate using its local Personal Security Environment (PSE) and then populates the HTTP header field with the user ID for SSO to the non-sap web application.
    In the second case,  the SAP logon ticket is sent to the non-SAP application, which then verifies it using the ticket verification DLL and submits the user ID to the application for SSO.
    You can refer following link :-
    http://help.sap.com/saphelp_nw70/helpdata/EN/89/6eb8deaf2f11d5993700508b6b8b11/frameset.htm
    user authentication and SSO
    http://help.sap.com/saphelp_nw70/helpdata/EN/8f/ae29411ab3db2be10000000a1550b0/frameset.htm
    Authentication Using a Directory with SSO Integration Using Logon Tickets
    http://help.sap.com/saphelp_nw70/helpdata/EN/f8/3b514ca29011d5bdeb006094191908/frameset.htm
    SSO
    SAP Logon Ticket-based Single Sign-On
    http://help.sap.com/saphelp_nwce10/helpdata/en/45/b6af743753003ae10000000a11466f/frameset.htm

  • Calling a webservice(JAX-RPC) from non java client ?

    Hi,
    I read JAX-RPC is used for accessing webservices by calling the webservice methods from a java-based client.
    Is it possible to call the Webservice methods(writeen using jax-rpc) from a non-java client,who sends his request in the form of SOAP based calls?
    If JAX-RPC is not the correct one to call a RPC from a non-java client,In what way i can do this?
    Can anyone please clarify my doubt..,
    Thanks in Advance
    Rao.,

    Hi Arun,
    Can i write a my client program using cgi scripts?
    In the JAX-RPC docs it was said that i can invoke my Webservices through my Service endpoints or using WSDL location?
    If iam using a Non-java Client,it will be easier(I think) to use the WSDL file to call the Web-Service(deployed using JAX-RPC).But,the Client should be aware of that WSDL file.
    I have to develop a small Application using webServices(must use XML,SOAP technologies).The user will pass some Parameters as request and the Response should be an XML(SOAP message) message.User should be able to request via browser.(http://localhost:8080/)
    Can you please suggest me which technology is correct to use,so that i can use the XML,SOAP in it.
    Please let me know...,
    thank you once again..,
    Regards
    Rao.,

  • Get / Cast a Java Object

    Does anybody know how to get (or Cast) a Java Object returned from a Java method call ?
    Example:
    <cfset someList = object1.method1(someString, JavaCast("float",someNumber),...)>
    This method returns a list of Java object of type "Object2". ie. it returns List<Object2>
    Now I attempted to loop thru each objects from the returned list, and invoke some method on them, using code similar to below,
    <cfset var="#someList[index]#"/>
    but ColdFusion does not seem to understand the object "var" as Java "Object2". Is there any way I can cast the "var" to "Object2"?
    Thanks in advance.
    Xiaoling

    "var" is a reserved keyword! You can initialize variables with "var" in the beginning of a component, but do not use it as a variables name:
    <cfset var someVar = "#someList[index]#">

  • Need to use business objects with a project, please guide on basics.

    Hello
    I am a dotnet developer (asp.net with C#). I am sorry I dont know much about Business objects. Our client a financial firm wants to use Business object with a web based application. I couldn't got a clear and good understanding of Business object. The client just said Business objects allows dynamically creating reports even clients can create reports very easily even without knowing SQL.
    Kindly guide me about Business Object product and its what component I should check for using it. Please mention some links that can give me introduction.
    Thanks a lot,
    haansi

    Hi
    Business Objects is not just one tool. You should ask your client what they will use e.g. Crystal Reports or Web Intelligence.
    Here you can see half an hour Webinars that give you a good understanding of Business Objects:
    Webinars
    Regards
    Roland

  • How to exchange a java object  between two applications using web service?

    Hi,
    I am working with Eclipse 3.2 and the application server is weblogic 10.
    I have two applications, each one works in an instance of the server.
    The first application contains a method called "send " which return a java object.
    The second one contains a method called "receive" which must receive this object.
    The two applications must exchange the object using web service,
    Can you help me please?
    Thanks.

    Have you defined your service class/methods accepting, or returning, the appropriate objects? If so, does the generated WSDL appear to be correct? I have just completed a web service project and found that passing specific objects to be simple, however, I was passing objects which were simply container objects with bean characteristics. Also, might I suggest that you have a play with netbeans. I found that IDE to be great for creating and consuming web services!

Maybe you are looking for