Invoking a Remote Method

The Question is ?
Suppose there is a object running on system, Say A. Another Object/Client want to invoke a method of the object in the System A and that method returns some value. Now the problem is if the method invoked returns the values in more then, say 10 sec because of some network problem. Now we have to throw an Exception to the program if it takes more then, say 2 seconds. We can't touch the codes running on the Server A. We just have the interfaces to the object. We can think the server as Black Box. So this it.

Is this a homework problem?

Similar Messages

  • Connection problem while invoking remote method from client using oracle 8.1.6 server

    while using a connection object to make connection to oracle in all remote methods(in EJB)only the first remote method called from the EJB client is getting invoked and the connection stops.It gives me COMM_FAILURE while invoking the second method in oracle 8.1.6.Help me out in this aspect immediately please.

    r singh wrote:
    >
    I am getting "No Suitable Driver" exception from WebLogic 6.1 (sp1) at
    the start up of the server.
    My settings:
    - WLS 6.1 on a solaris 8 machine and Oracle 8.1.6 on a WIN2K machine.
    - I created the connection pool for oracle with the following
    parameters:
    connection name: OracleConnectionPool
    url: jdbc.oracle.thin:@myOracleServer:1521:myDBName
    driver class name: oracle.jdbc.driver.OracleDriver
    properties: user=scott
    password=tiger
    - I have also downloaded classes12.zip and nls_charset12.zip from
    Oracle.com
    and have placed under $WL_HOME/lib.
    - I have added $WL_HOME/lib/classes12.zip:$WL_HOME/lib/nls_charset12.zip
    in
    front of the $CLASSPATH in the startWeblogic.sh script. The echoed
    classpath
    from the startup script is:
    /opt/tools/bea/wlserver6.1/lib/classes12.zip:/opt/tools/bea/wlserver6.1/lib/nls_
    charset12.zip:/opt/tools/bea/wlserver6.1:/opt/tools/bea/wlserver6.1/lib/weblogic
    _sp.jar:/opt/tools/bea/wlserver6.1/lib/weblogic.jar
    - Still I get the error:
    <Jan 16, 2002 1:38:45 PM EST> <Error> <JDBC> <Cannot startup
    connection pool "Or
    acleConnectionPool" No suitable driver>
    Can somebody point me out if i am doing anything wrong here.
    Thanks.
    RamanandHi,
    Sure. Your URL should be "jdbc:oracle:thin:@myOracleServer:1521:myDBName"
    not "jdbc.oracle.thin:@myOracleServer:1521:myDBName"
    Joe

  • Unmarshalling error when invoking a remote call in weblogic 9.1/jdk 1.5.

    Hi,
    We are trying to upgrade the weblogic from 7.1 to 9.1. I am getting the following error "java.lang.ClassNotFoundException: Failed to load class <b>void</b> ", when a remote method whose return type is void is invoked. Also I am using jdk 1.5.0_04. Any hints on what might be wrong here is appreciated. I have attached the stack trace below.
    thanks
    Sridhar Sidda
    ;;---------Stack Trace ----------------------------
    Caused by: java.rmi.UnmarshalException: error unmarshalling arguments; nested exception is: java.lang.ClassNotFoundException: Failed to load class void at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:191) at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:176) at com.sabre.fltsked.util.security.ScheduleSecurityValidator3_910_WLStub.hasPermision(Unknown Source) at com.sabre.fltsked.util.security.FSSecurityInterceptor.invoke(FSSecurityInterceptor.java:48) ... 5 more Caused by: java.lang.ClassNotFoundException: Failed to load class void at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:203) at weblogic.rmi.utils.WLRMIClassLoaderDelegate.loadClass(WLRMIClassLoaderDelegate.java:128) at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:308) at weblogic.rmi.utils.Utilities.loadClass(Utilities.java:344) at weblogic.rjvm.MsgAbbrevInputStream.resolveClass(MsgAbbrevInputStream.java:395) at weblogic.utils.io.ChunkedObjectInputStream$NestedObjectInputStream.resolveClass(ChunkedObjectInputStream.java:255) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1538) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460) at java.io.ObjectInputStream.readClass(ObjectInputStream.java:1427) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1282) at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912) at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836) at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713) at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299) at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339) at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:195) at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:555) at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:191) at com.sabre.fltsked.util.security.ScheduleSecurityValidator3_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:517) at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:407) at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363) at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147) at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:403) at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:56) at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:934) at weblogic.work.ExecuteThread.execute(ExecuteThread.java:207) at weblogic.work.ExecuteThread.run(ExecuteThread.java:179)<pre></pre>

    hi,
    I am also getting the same exception when making call to the server.
    If u get the solution for this problem.can u please tell me why this is happening.
    Thanks.

  • Why is the ejbstore() called when i invoke any getter method of my bean ?

    Hi All,
    I have designed one enterprise bean with three attributes title , type and date.
    and i have implemented getter and setter method for these member variables.
    When i call any one of getter methods,
    the output at server as follows :
    getTittle();
    ejbStore();
    getType();
    ejbStore();
    I want to know why the ejbStore() is called as soon as i called any one of getter methods.
    I heard ejbLoad() and ejbStore() are invoked by container based on transaction attribute.
    I even set "Never" as transaction attribute . Still i got a same type of output.
    Could you explain me why it happens ?
    Thanks in advance,
    nvseenu

    Hi magesh ,
    Hi
    ejbStore is called if any of the three is true:
    . A tx completes and the bean participated in the Tx
    and atleast one business method was called. Note that
    getters are also business methods.
    2. A Finder method is called within the tx, which
    causes ejbStore() to be called by the container
    (before the finder executes)
    3. The method is marked using
    "flush-et-end-of-method" attribute in
    sun-ejb-jar.xml.
    I understood the concepts explained here.
    >
    I am surprised that TX_NENVER causes ejbStore(). Can
    you send us the ejb-jar.xml and sun-ejb-jar.xml?The thing which confuse me is why ejbStore() is called for Transction attribute
    "Never".
    My ejb-jar.xml file is as follows:
    <!DOCTYPE ejb-jar PUBLIC
         "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN"
         "http://java.sun.com/dtd/ejb-jar_2_0.dtd">
    <ejb-jar>
    <enterprise-beans>
    <entity>
    <ejb-name>BarronsEJB</ejb-name>
    <home>test.BarronsHome</home>
    <remote>test.Barrons</remote>
    <ejb-class>test.BarronsBean</ejb-class>
    <persistence-type>Bean</persistence-type>
    <prim-key-class>test.BarronsPK</prim-key-class>
    <reentrant>false</reentrant>
    <resource-ref>
    <res-ref-name>jdbc/MySqlDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    <res-sharing-scope>Shareable</res-sharing-scope>
    </resource-ref>
    </entity>
    </enterprise-beans>
    <assembly-descriptor>
    <container-transaction>
    <method>
    <ejb-name>BarronsEJB</ejb-name>
    <method-intf>Remote</method-intf>
    <method-name>*</method-name>
    </method>
    <trans-attribute>Never</trans-attribute>
    </container-transaction>
    </assembly-descriptor>
    </ejb-jar>
    BarronsBean has three member variables " id , title , type " and gettter and setter methods for these variables.
    I use JBoss App Server to run EJB.
    I feel information i have given here may be enough to you to explain me why ejbStore() is called after any one of the getter / setter method is invoked.
    Thanks in advance,
    nvseenu

  • When invoking service 'remoting-service': flex.messaging.MessageException: Argument is not an array

    I'm getting a strange serialization issue with flex blazeds Spring.
    I can search, add and alter entities but when trying to delete i'm getting this error:
    flex.messaging.MessageException: Argument is not an array
    However when i try the debug mode on server everything is OK.
    here the stack trace for BlazeDs:
    [BlazeDS]Exception when invoking service 'remoting-service': flex.messaging.MessageException: Argument is not an array
      incomingMessage: Flex Message (flex.messaging.messages.RemotingMessage)
        operation = supprimer
        clientId = EA1F8D9C-BD0C-941A-F168-02A08E454F43
        destination = ClientService
        messageId = F8D2B72B-C1D3-E4C5-CB06-11AA332A95B8
        timestamp = 1301671457890
        timeToLive = 0
        body = null
        hdr(DSId) = EA1E7EDA-C60E-F245-CF47-35D38F0ED6FB
        hdr(DSEndpoint) = my-amf
      Exception: flex.messaging.MessageException: Argument is not an array
    at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:225)
    at flex.messaging.MessageBroker.routeMessageToService(MessageBroker.java:1503)
    at flex.messaging.endpoints.AbstractEndpoint.serviceMessage(AbstractEndpoint.java:884)
    at flex.messaging.endpoints.amf.MessageBrokerFilter.invoke(MessageBrokerFilter.java:121)
    at flex.messaging.endpoints.amf.LegacyFilter.invoke(LegacyFilter.java:158)
    at flex.messaging.endpoints.amf.SessionFilter.invoke(SessionFilter.java:44)
    at flex.messaging.endpoints.amf.BatchProcessFilter.invoke(BatchProcessFilter.java:67)
    at flex.messaging.endpoints.amf.SerializationFilter.invoke(SerializationFilter.java:146)
    at flex.messaging.endpoints.BaseHTTPEndpoint.service(BaseHTTPEndpoint.java:278)
    at org.springframework.flex.messaging.servlet.MessageBrokerHandlerAdapter.handle(MessageBrok erHandlerAdapter.java:79)
    at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:771)
    at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:716)
    at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:647 )
    at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:563)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.IllegalArgumentException: Argument is not an array
    at java.lang.reflect.Array.getLength(Native Method)
    at flex.messaging.io.amf.translator.decoder.CollectionDecoder.decodeCollection(CollectionDec oder.java:155)
    at flex.messaging.io.amf.translator.decoder.CollectionDecoder.decodeObject(CollectionDecoder .java:139)
    at flex.messaging.io.amf.translator.decoder.ActionScriptDecoder.decodeObject(ActionScriptDec oder.java:70)
    at flex.messaging.io.amf.translator.ASTranslator.convert(ASTranslator.java:77)
    at flex.messaging.io.Java15TypeMarshaller.convert(Java15TypeMarshaller.java:71)
    at flex.messaging.util.MethodMatcher.convertParams(MethodMatcher.java:211)
    at flex.messaging.util.MethodMatcher.getMethod(MethodMatcher.java:132)
    at flex.messaging.services.remoting.adapters.JavaAdapter.invoke(JavaAdapter.java:420)
    at flex.messaging.services.RemotingService.serviceMessage(RemotingService.java:183)
    ... 27 more
    Thanks.

    Found the issue. There was a difference between the target service and the web service object that I was invoking. Even though I have changed the method signature and changed it back, the web service object that I was invoking needed to be recreated. This fixed the issue.

  • Multithread remote method invocation problem

    Hello all
    I have simple method that is entry point of CORBA remote invocation method
    Inside it I have some kind of Logic I need to perform the this logic is inside method and I like
    That each method that performs logic will be executed in its own thread ( from thread pool )
    this method also returns parameters by reference back to the server .
    here is example:
    public boolean RemothMethod(Object obj1,Object obj2){
         //this is where I allocate thread from thread pool to invoke the logic method
         ThreadPool.getTask(LogicMethod(Object obj1,Object obj2));
    }But the problem I have here that I can get several "RemothMethod" calls
    And the returned Parameters can be from the wrong thread call .
    My question is how can I force the right thread to return the right parameters to the "RemothMethod" call

    I have simple method that is entry point of CORBA
    remote invocation method
    Inside it I have some kind of Logic I need to perform
    the this logic is inside method and I like
    That each method that performs logic will be executed
    in its own thread ( from thread pool )Why? Each remote method is already being executed in its own thread.
    //this is where I allocate thread from thread pool
    l to invoke the logic method
    ThreadPool.getTask(LogicMethod(Object obj1,Object obj2));What are these APIs?
    But the problem I have here that I can get several
    "RemothMethod" calls
    And the returned Parameters can be from the wrong
    thread call . Something wrong with the ThreadPool API you seem to have written.
    My question is how can I force the right thread to
    return the right parameters to the "RemothMethod" callGet rid of it and execute whatever you need to execute directly in the remote method body. There is no advantage to what you're trying to do. You already have a thread per concurrent client executing the remote method; you're trying to stall those threads and create yet more threads from an evidently non-working ThreadPool. This seems quite pointless.

  • Can you invoke a protected method in a different class

    I want to tell my method that if a certain event occurs, to invoke a method thats located in a different class but in the same package. But neither inherit each other.
    I also want the original method to pass parameters to the remote method so it can perform actions on them.
    Is this possible somehow, or am I barking up the wrong tree?
    I've included an example to illustate.
    edu.example;
    public class one extends bank{
    protected void count (){
    If i>100{
    spend(5); // method thats in the two class
    else break;
    edu.example;
    public class two extends bank{
    protected void spend (int x){
    i = i - x;

    Yes, protected will work in this case. A protected method is available to all classes in the same package, just like default access.

  • Remote method HELP!

    Hi,
    I'm obviously missing some basic concept on how to handle
    response and return values from remote methods...
    Lets say i'm using the following on the server:
    Client.prototype.GetNumOfMessages = function(uid)
    _NumOfMessages = _ws.GetNumOfMessages(uid);
    _NumOfMessages.onResult = function(res)
    // HERE IS MY PROBLEM. How can I return the "res" value to
    the client function that invoked?
    The _ws.GetNumOfMessages(uid); is a call to a webservice,
    which works fine. If I trace the "res" I get the correct value.
    So, how can I return this value?
    The client code is:
    nc.some_function = function()
    nc.call("GetNumOfMessages",new retVal(),objUser.uid);
    function retVal()
    this.onResult(res)
    trace(res); // I Get "undefined" here...
    Please advise,
    Thanks in advance,
    Guy

    Properties properties = new Properties();
    properties.setProperty(Context.INITIAL_CONTEXT_FACTORY, "your factory");
         properties.setProperty(Context.PROVIDER_URL, "your server url");
         properties.setProperty(Context.SECURITY_PRINCIPAL, "morad");
         properties.setProperty(Context.SECURITY_CREDENTIALS, "morad");
    Context ctx = new InitialContext(properties);
    Object objref = ctx.lookup("the name of your bean);
    yourbean = (yourbean) PortableRemoteObject.narrow(objref,serviceClass);
    Also make sure you include your credentials in the deploy.properties file in your deploy directory.

  • NullPointerException while calling a Remote Method

    I have got the following exception wh�le calling a remote method,
    do you have any idea?
    java.lang.NullPointerException
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:245)
         at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:220)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:122)
         at distributedchess.server.ChessGameImpl_Stub.applyAction(ChessGameImpl_Stub.java:53)

    Looks to me like your server has a bug in a remote method.

  • Hashtables and remote methods

    If
    public Hashtable remoteMethod (MyClass lattice [][], int x, double y, ...) How do I assure a proper call to and return from the former remote method ? I believe that "Hashtable"s are Serializable. Do I have to make "MyClass" extend/implement the Serializable interface to accomplish a sucessful call and return ?

    Now I know why the method failed to get invoked !
    Not only does "MyClass" have to implement the Serializable interface, but all its dependent classes have to implement the interface as well .

  • RFC Error While Invoking A Remote Function Module.

    I am invoking A remote function module while invoking it get  an exception when i see the error logs
    com.sap.tc.webdynpro.modelimpl.dynamicrfc.WDDynamicRFCExecuteException:      Screen output without connection to user.                           , error key: RFC_ERROR_SYSTEM_FAILURE at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClassExecutable.execute(DynamicRFCModelClassExecutable.java:101) at... [see details]
    can anyone pls tell me what the error is..
    regards
    Nilesh Taunk.

    Hi Nilesh Taunk,
    You can go through the following steps
    -o JCO Exceptions 1. http://help.sap.com/saphelp_nw04s/helpdata/en/f6/daea401675752ae10000000a155106/frameset.htm
    -o JCO Exceptions 2. http://help.sap.com/saphelp_nw04/helpdata/en/f6/e002416225f023e10000000a155106/frameset.htm
    -o Restart of the J2EE instance and try re-importing the RFC model. Sometimes it helps.
    -o Logon into WebDynpro Content Administrator as a J2EE Admin and check if the JCO Connections and User /pwd of your application is correct. You can <b>ping </b>or <b>test your JCO connections</b>. if something is wrong, enter the values again for JCO n retest them.
    -o Try undeploying or removing the complete application and redeploy it.
    Tu undeploy please go to
    Go to <b>Visual Admin -> Server -> Services -> Deploy ->
    </b>
    Under Runtime Tab
    select the server, open the tree , you would find the webdypro list there.
    Now select an application, first stop it, remove it and redeploy if necessary.
    Let us know if you could solve the problem or not, gud luck!
    Rgds,
    Sreenivas.

  • Java.lang.NoSuchMethodError while invoking web service method

    Hi, I have a web service which has two methods exposed as
    A and B.
    I deployed it on weblogic server (7.0 SP4) and fired teh request when I got this error:
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <env:Header/>
    <env:Body>
    <env:Fault>
    <faultcode>env:Server</faultcode>
    <faultstring/>
    <detail>
    <bea_fault:stacktrace xmlns:bea_fault="http://www.bea.com/servers/wls70/webservice/fault/1.0.0">java.lang.NoSuchMethodError
    I tried deploying the web service on another instance and there the method A was invoked but I got the same error when I tried invoking B.
    I tried it on third instance and there both the methods were successfully invoked.
    The methods A and B name start with capital letter (someone told me that method name should not start with capital letter but that does not hold good here)
    Any idea why this starnge behavior of web service?

    Hi Guys,
    I have solved the above issue by applying the PATCH 1 & PATCH 2 of the
    BPEL 10.1.2 version .
    Thanks
    Kalyan

  • Strange about invoking web service method declared “string  method(void)”;

    Dear forum readers
    I’m experimenting with OpenESB and web services. I’ve create a simple web service using NetBeans 6.1. The method consists of a single method, getTime, that is declared:
    String getTime()
    My current experiment is to invoke this method from a BPEL-process using the “Invoke” process object. The strange thing is that it seems like I have to provide a “dummy” inbound variable from the BPEL-designer even though the method doesn’t take any parameters. I include a snippet from the BPEL process below which includes the section where I set the dummy GetTimeIn-variable and then invokes the WS method getTime().
    <assign name="Assign2">
    <copy>
    <from>'DummyValue'</from>
    <to variable="GetTimeIn" part="parameters"/>
    </copy>
    </assign>
    <invoke name="Invoke1" partnerLink="PartnerLink1" operation="getTime" xmlns:tns="http://ws/" portType="tns:MyWebService" outputVariable="GetTimeOut" inputVariable="GetTimeIn"/>
    If I don’t initiate the dummy variable or remove it altogether, I can’t successfully call the method. If I include the dummy in-parameter the call works just fine and I get back the current time as a string.
    I must admit that I’m still a rookie to web services, especially when calling them from a BPEL-process, so it may be a very trivial reason for this behaviour. Anyway, any help on this matter would be greatly appreciated.
    Regards, Ola

    Thank you both for the response. Regarding Rennay’s posting I have an additional question. When I create a new web service I don't have the "Document Literal" option nor a "Concrete Configuration" tab. I've created the web service using the "Web Application" project type and then adding a web service using the "Web Service..." wizard. This wizard doesn't have the configuration properties you mention, but if I add a WSDL-file to a BPEL-project the wizard has the properties you mention.
    Is it possible to create a web service, programmed as an ordinary Java-class, from an existing WSDL-file? In that case it may solve the problem with the “Document Literal” property. Currently I don’t know any other way to create such a web-service other than the through the web service wizard in a web application project. Of course, it’s possible to craft it from scratch but that’s to much work to be practical.
    Regards, Ola

  • Invoking a Remote function module for every 5days

    Hi Experts,
    How to invoke a remote function module in R/3 from XI for every 5days?
    After invoking tht i need to post data to a FTP server! Could any one tell me how to achive this
    Thnx
    RAMS

    Hi Ram,
                 If your scenario is R3 -- > XI -- > FILE .
    My suggestion is to go for ABAP Client proxies. It is fast and we can move huge data .
                 1. Generate abap proxy from Outbound interface from R3system .
                  2. Write ABAP  report , call  RFC , fill TABLE structure of abap and send to XI ( IS) . then according to the Receiver determination . It will create flate file .
                3. Schedule report  once in 5 days .
                     Please refer how to work with abap client proxy   and steps to activae  
    How do you activate ABAP Proxies?
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
    ABAP Proxy Runtime
    http://help.sap.com/saphelp_nw04/helpdata/en/02/265c3cf311070ae10000000a114084/frameset.htm
    ABAP CLIENT PROXY
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1387proxies [original link is broken] [original link is broken] [original link is broken] .
    Assign points if u found helpful
    Regards.,
    V.Rangarajan
    Message was edited by:
            ranga rajan

  • Flex Data Services does not see remote methods in extended ColdFusion component.

    I have created a remote service base component as a AModelService.cfc file. I extend that file to make my ModelService.cfc. When I configure the ColdFusion data service and point to ModelService.cfc and click next, I don't see any remote methods (there are none explicitly defined in the component) in the Service Operations window.
    If I go back and point to AModelServide.cfc, the parent component, and hit next, I see all the remote methods that are defined in the parent component. So, either I am doing something wrong, or Data Services does not look at methods up the cfc prototype chain, which from an OOP standpoint means that instead of say creating one restful base class and being nice and DRY you can't. I.e. not OOP for data services. Is this a bug, or what?
    Anybody get data services to work with extended service components?
    Mark

    Thanks for the reply. Yes, I did compile all the Java and it
    works OK with a simple Java program. It just will not work in a
    Flex application.
    The java classes are:
    RRA:
    package blah.myPackage;
    import java.util.List;
    import java.util.Collection;
    import flex.data.DataSyncException;
    import flex.data.assemblers.AbstractAssembler;
    class RRA extends AbstractAssembler
    public Collection fill( List fillParameters )
    RRS service = new RRS();
    return service.getSome();
    RRS:
    package blah.myPackage;
    import java.util.ArrayList;
    import java.util.List;
    import java.sql.*;
    import flex.EORS.*;
    class RRS
    public List getSome()
    ArrayList list = new ArrayList();
    String str = "bob";
    RR rr = new RR(str);
    list.add(rr);
    return list;
    RR:
    package blah.myPackage;
    class RR
    private String name;
    public RR() { }
    public RR(String name)
    this.name = name;
    public String getName()
    return this.name;
    public void setName(String name)
    this.name = name;
    I started with something that retrieved data from a database
    but watered it down just to try and get some kind of communication
    between Flex and Java.

Maybe you are looking for

  • How can I match tempo & sync of old audio files to Garageband?

    HI all, Final question and it's a doozy. While I know the "general concepts" for trying to accomplish the following, acutally trying to get it to work is frustrating. At first thought that the new Garageband tempo/playing thing would work but I'm not

  • How can I make a fillable table that allows me to select text in bulk yet retains tab over ability?

    I'm working on a form in livecycle and am trying to make a form which is easy for my client to fill out and easy for me to extract the data from. Basically I am desiging a form that my clent fills out by entering data into 4 X 3 table (four rows, thr

  • Help, iPhone 3GS stuck in recovery

    Whenever I connect to iTunes I get the recovery mode message, so am having to restore the phone. After 10 minutes or so of restoring, I get a message saying "The iPhone cannot be restored, an unknown error occured(1603 or 1604). One thing that occure

  • Error - Operation could not be completed.

    I am running an AMD quadcore with 8 gb of memory and windows 7 ultimate 64-bit. The photoshop version is cs5 and I installed pixelBender 2.2 with extension manager running in admin mode. It installed successfully and told me to retsart  PS which I di

  • Data Loading issue in APEX

    Hi Everybody.. I'm new to Oracle APEX and i'm facing the issues loading the data into the table. My issue is the text data is getting loaded with double quotes. Please suggests. Thanks, Suresh