ActiveX Bridge Usage in Client-Server architecture

Hi,
We developed an application (client-server architecture) based on RMI layer. Now we want to expose client as an ActiveX Control. Assume, server is running on one m/c, client is running on different m/c. Now in other m/c, on VB container my client activex is running. This activex should fetch data from server(through java based client) and should display it.
We implemented an activex control for client, it is interacting with server. To show server data it should use one user-defined object class. We made this object as public static. But we are not able to use this object on activex side. Even serializing this object and reading it again is also not working.
If anyone has idea on debugging this issue, please help us.
Sagar.

Use the 'NI AlarmEvent Browser' ActiveX control.   Set the machine as the remote station.  Lots of parameters.
Mike
Mike Crabtree - Lead Developer
Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
(866) 964-6948 / (760) 247-9512

Similar Messages

  • How long is it to implement JSSE on a client-server architecture?

    Hi all of you,
    Since I'm not a developper but more a system admin, I'm wondering how long approximatly it would take to adapt an existing JAVA client-server architecture to use JSSE or SSL communication over the internet. Is it a simple task or are we talking about weeks of work? Where would be installed the SSL certificate, on the web server or the database server? In brief, what are the main steps that a developper has to go through?
    Architecture:
    JAVA client
    Web server (RMI server), Microsoft IIS5.0
    Database server (MySQL4.0)
    Thanks you all for your precious time,
    AD

    If your webserver has a server certificate from one of the "Big Boys" in the CA business, and if you don't need client-authentication (and almost no-one does) - in your client, write "SSL" in front of everywhere the app currently has the word "Socket", and scratch out "HttpUrl" and replace it with HttpsUrl,." and change your access-urls to start with "https:" and change your socket-connections to talk to your server's SSL port, and you're done. I've taken a Socket-based app and made it SSL/Plain bilingual in two hours once (admittedly, it was a small and well-designed app).
    If your server-cert isn't signed by a known CA, then you have to play some games to get the client side to accept it - but they've all been discussed to death in this forum.
    Grant

  • 2-tier Client/server Architecture(Urgent!!!!)

    Hi,anyone can help me to do a client/server architecture.The server is able to track and store the client's name,IC number and his machine's IP.And the server is able to broadcast a question stored in the database and get the answer to the question whereby the answer is also stored in the database.The server is able to broadcast the question to multiple server.Thanks!

    Hi,anyone can help me to do a client/server
    architecture.The server is able to track and store the
    client's name,IC number and his machine's IP.And the
    server is able to broadcast a question stored in the
    database and get the answer to the question whereby
    the answer is also stored in the database.The server
    is able to broadcast the question to multiple
    server.Thanks!you mean able to broadcast to multiple clients, right?
    read this webpage:
    http://java.sun.com/docs/books/tutorial/networking/sockets/clientServer.html
    steal some of the code... maybe from the knock knock server client code and then modify it to meet your needs.
    Don't worry about storing the information in a database until after you have everything else working. The database stuff will require knowledge of JDBC.
    Good luck,
    Tim

  • Client server architecture

    hello friends:
    can we use the XE for the client server architecture???.....which means can we use XE in the same way as we use the standard edition by using net configuration assiatant......if yes then how????

    client server architecture :-)

  • Framework for client-server Architecture in Java !!!! With swing

    Hi,
    Considering the scenario where we are having the Client-Server application and the rich clients at the client place , based on the frames.I have though of the logic as :
    Client -----------> ClientComponentframeWorkObject(Genric Objects) ---------> reading the data from the configurable files to find where to take the user action ---------> will call the Servercomponetobject(Generic objects) can be Servlet or just a object which connects to the server(DB).I have been able to find the open-source frame work at the Apache ,all covering the server-side framework so i though of doing some work with the framework covering the client(swing) -server Archetect.Even I dont know how the existing server side framework support the swing client.
    I would appericiate if someone who had worked on the client server requirement with java , could share the knowledge about the framework being used in the existing work.
    regards
    Vicky

    Hi,
    GENERIC CLIENT COMPONENT:
    package com.nst.clientcomp;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    public abstract class ClientComp extends JFrame
      protected JFrame currentframe;     
      protected JPanel  panel;
      public ClientComp()
           // To decide if the ClientComp to be Frame or the Panel.
        //panel=this;     
        //currentframe=new JFrame();
        panel=new JPanel();     
        currentframe=this;
      // Just Concentrate on the GUI , look and feel here .......And the user action will generate
      // generate the event which should call the callNextView()..The component developer have to
      // concentrate on the writing the display() and the callNextView()..
      public abstract void display() ;
      // This is the Final action.Template Pattern being Called
      public String action()
           readServerObj();
           processContent();
           display();              
           return null;
       Reading of the value object which is being Passes from the Server.As per the Design it is
       called VOFS and will be read here.Here
       1) Connect to the Server
       2) Pass the VOFC through the socket connection
       3) Also obtain the VOFS(Value object from server) 
       In certain application it can be implemented here
      public Object readServerObj()
            System.out.println("Hello from ServerObj!!! Should be implemented ");
            return null;
       Processing the Sever Value Object, which is basically as VOFS.It is processed by the
       Client.And infact the Value object from Client(VOFC) should be generated here for next
       user interaction from the Client.
      public void processContent()
            System.out.println("Hello from processContent !!! Should be implemented ");
      // Clear the Frame
      private void cleanUp()
         currentframe.dispose();
         Contains the place where next view takes.Before this is invoked the cache copy of the
         StateObject should be stored in the appropriate Data Structure......      
      public void callNextView(ClientComp com)                     
            panel.removeAll();
            com.action();
            cleanUp();
    }   COMONENTS AS PER THE FRAMEWORK :
    package com.nst.clientcomp;
    import javax.swing.*;
    import java.awt.event.*;
    public class Comp1 extends ClientComp implements ActionListener
      JTextField t,t1;     
    //Default display , displaying the screen.This should be the abstract method
      public void display()
        JLabel l=new JLabel("UserName");
        t=new JTextField(10);
        JLabel l1=new JLabel("Password");
        t1=new JPasswordField(10);
        t.setText("admin");
        t1.setText("admin");
        JButton b=new JButton("Login");
        b.addActionListener(this);
           panel.add(l);
           panel.add(t);
           panel.add(l1);
           panel.add(t1);
           panel.add(b);
           currentframe.getContentPane().add(panel);
           currentframe.setSize(400,400);
           currentframe.setVisible(true);      
      public static void main(String ar[]) throws Exception     
           ClientComp c1 = (ClientComp)(Class.forName(ar[0])).newInstance();
           c1.action();             
           System.out.println("Hello11");
      public void actionPerformed(ActionEvent e)
           //Do someprocessing if required
           if(t.getText().equals("admin")&&t1.getText().equals("admin"))
           callNextView(new Comp2());  
           else
            System.out.println("invalid login");     
    } Similarly you can develop the other components and you have to take care of the display() and the user action Event which eventually calls the callNextView.I hope there might be the cases where this has been implemented ..
    Regards
    Vicky

  • Client/server architecture - how is this supposed to work?

    Hi all,
    I am in the initial throws of developing a client server program - my very first - and have been studying the forums for answers, BUT...
    I am curious how this process works without using RMI...?
    To pass primative types or objects to the server from the client I can use serializable, however, how does one also call a method on the server AND pass these variables as the parameters? Is this even possible or am I not thinking this through properly?
    This is the order of operation I had in mind...
    1. Send an int over the connection
    2. Use the int in a switch statement at the server side to invoke the correct method
    3. The method then reads the serialized data stream and casts to the expected objects/types.
    4. Method executes and sends back any data in the same manner.
    The process must be common practise? Surely there is a less convoluted way of doing this?
    It would be great to suss out a way of doing this without jumping to RMI 'just yet'...
    Gracias!
    Message was edited by:
    hagend
    Actually, I think RMI is probably the easiest way of implementing this. I beleive I misinterpreted aspects of RMI - ALL GOOD!

    CORBA, basically it is RPC just like RMI, but a little different.

  • JMS architecture question for fat client/server.

    Hi. Is JMS suitable for fat client-server architecture where a certain number of fat client applications (like a few hundreds) open connections directly to the JMS provider? Is it going to have scalability problem when the number of connections grow?

    Depending on your JMS provider, this may be a very suitable architecture. The Sun MQ JMS Cluster was architected exactly for this problem. If the number of connections onto a single broker becomes too much of a burden for this broker, it can be put into an MQ cluster and share the number of connections. Of course, the number of connections a broker can handle will be totally dependent on the resources available to it. OS, CPU, memory, other applications running on the same machine, etc....
    TE

  • WARNING - Oracle intends to desupport Forms client server mode

    When Forms 6i becomes desupported you will have to move to Forms 9i. Forms 9i runtime can only be run in web mode from a web browser. You will not be able to run client-server forms in native operating systems such as Windows or Unix. The forms will essentially run on the application server with Java applets to being sent to your web browser. Links to third party products will no longer work with host commands executing on your local machine. You will have to include Java code to make local commands work.
    The transition from Forms 6i client-server to Forms 9i web mode will be one of the most painful upgrades Oracle has ever inflicted on its customers.
    Essentially, Oracle is trying to palm us off with running forms from web browsers whether we or our customers like it or not. Java seems to be creeping in. I suspect Developer will eventually turn into JDeveloper, as they will not want to support two products. Easy one line statements and built-ins will be replaced by hundreds of lines of Java nonsense. Developer will move from a 4GL RAD environment to a cumbersome bloated 3GL Java environment.
    You can stop this happening if you want to keep you customers happy by:
    1. Sending Oracle enhancement requests to allow Forms 9i to run in native client-server mode.
    2. Complaining to your Oracle sales contact.
    3. Asking difficult questions at Oracle user groups.

    Duncan et al.,
    I've been wondering why exactly a Forms9i app. needs to run in a web page? Why could the applet not be deployed in a more "standalone" fashion, i.e., an independent application window. This would at least offer the appearance of a native application, complete with the new Java look-and-feel.
    If Oracle really wanted make their customers happy, they would then take the next step and come up with a way to embed OC4J into a client-side deployment executable, which would then effectively allow for a 2-tier client-server architecture.
    It seems to me that 2-tier/3-tier each have their place in the world, depending on the situation. In the extreme "2-tier" example would be an application that is to be deployed on a single client workstation. It would be hard to argue that a separate application server ought to be used. On the other extreme, anybody who has tried to manage the deployment--and upgrade--of a large number of Forms clients is very attracted to the prospect of only having to maintain and upgrade a few application servers.
    I agree with the direction of the product as far as replacing Toolkit2 and the native runtime with the JRE. The advantage of on-demand updating of application code is compelling. The capability of moving application logic to the middle tier is extremely useful. Platform independence is now done using the "universal" JRE instead of TK2.
    If the product could maintain the client-side processing capability--without resorting to Javabeans--it would be just that much stronger. As an application architect, I want to be able to design the application to allocate the work where it makes the most sense, either on the client, the application server, or the database server.
    How hard would it be to put this client-side processing capability back into the product?
    Regards,
    Bruce MacDonald

  • GENERATE EXCEL IN CLIENT SERVER ENVIRONMENT

    Hi,
    At the moment I use the <utl_file> to generate an excel file(from oracle table) via sql*forms GUI to the server (my development server/cilent were one machine)
    The user presses a button on the GUI form and the excel file is generated.
    Now unfortuanately when we transfer to a 'real' production enviroment with client, server architecture , different machines, my generate to excel cannot generate a excel file :
    error : ORA 29283 : INVALID FILE OPERATION : ORA-06512 at SYS_UTIL file ORA 29283 invalid file operation
    Is thre a solution for this where the user can press the button in the GUI form and the excel gets dumped to the client ? (export the excel)
    THANKS in adavance of any tips.

    Thanks
    But unfortunately with 3 days left and 10 modules using <util_file> , I am in trouble !!
    I usde code as follows in <sql_forms>
                             wfile_handle := utl_file.fopen ('REPORTS',v_file, 'W');
                             utl_file.put_line(wfile_handle,v_header);
    Now in client sever environment wont work and this is coded in many places !!!!

  • Oract Tutor 14 Author server installation and Publisher Client-Server installation

    hi all,
    does any one know about the installation of Tutor Author 14 server version and how to setup Publisher Client-Server architecture??
    please share any document or link that can guide with this..
    thanks and regards,
    SD

    Hi,
    are you on itanium or x86? Your log says, "inux_ia32_jrockit_160_14_R27.6.5-32_jdk.zip not found" that means you should have itanium.
    Regards

  • Client/Server API with push?

    I set up a simple Socket client server architecture with the Java socket API. However, my clients sometimes are initiators or requests, and sometimes my server is the initiator of infos. Example: client want to get infos from server but also want to tell the server something. The server tells all registered clients something but also can accept requests from clients. So both sides are client AND server (depending on what they currently want to do).
    The socket API is just a classic client/server API, i.e. a server listens and a client sends requets and get responses. For my server to send requests to all clients, this is not enough. Is the only way to have all clients offering a socket server on their computer, too? so that this 2-way-request-communication works?
    This is basically some kind of "push" technology, but i don't want my clients to "poll" the server just to emulate the feature of sending requests from the server to the client. Is there some other (perhaps non-socket) API that offers this?

    @sjasja: how is the socket api symmetrical?It is, trust me! Connection initiation isn't, but after that it is. (Let's assume connected TCP/IP.)
    The server does bind() and accept(), the client does connect(). After that, the connection is symmetrical: either end can issue any number of read() and write() calls in any order. You write() to a socket, it pops out from read() at the other end (though not necessarily as a single packet; TCP/IP is stream oriented, so write() "packets" can and will be glued together, or fragmented at the whimsy of network routers and friends.)
    - accept() //wait for client to send request
    - socket.getInputStream() //read request
    - socket .getOutputStream() //write responseThose don't read or write; they get streams which you can read from and write to.
    In the server, when accept() returns a new connection, you'd start a reader thread for that client. The thread would read() (or readLine() if you implement a line-oriented protocol) and handle the incoming messages. Whenever you want to write to the client, write to the stream returned by socket.getOutputStream(). You may need to synchronize writes if you have several threads that do sequences of write()s that need to arrive at the client sequentially.
    As to the difficulty of socket programming: I don't think it particularly difficult. But then I've written dozens of socket programs since my first one in '85... The Java Tutorial socket chapter shows a simple client/server pair; not terribly difficult I think. In particular, check out the KKMultiServer at the bottom of the sample server chapter.

  • CORBA client server issue

    Hi,
    I am making a client server architecture implementing CORBA.
    On the server side there are two classes ChargingManager and Charging.The client first calls a method createChargingSession() on ChargingManager class which in turn returns a reference of the Charging class back to the client.But when the client call a method debitAmount() on Charging reference it throws an exception showing that the call instead to be initiated to Charging class actually goes to ChargingManager class where it throws methodNotFound exception.
    But in a separate scenario if instead of sending back the Charging reference to client I create an IOR file of Charging class as similar to that of ChargingManager and once the client resolves the object reference of Charging class from this IOR file and calls the method debitAmount() it performs well....I am not able to figure it out..Please help me out...Attached are the exception...
    org.omg.CORBA.BAD_OPERATION: ----------BEGIN server-side stack trace----------
    org.omg.CORBA.BAD_OPERATION: vmcid: 0x0 minor code: 0 completed: Maybe at org.csapi.cs.IpChargingManagerPOA._invoke(IpChargingManagerPOA.java:35)
    at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatchToServant(CorbaServerRequestDispatcherImpl.java:637)
         at com.sun.corba.se.impl.protocol.CorbaServerRequestDispatcherImpl.dispatch(CorbaServerRequestDispatcherImpl.java:189)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequestRequest(CorbaMessageMediatorImpl.java:1680)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:1540)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleInput(CorbaMessageMediatorImpl.java:922)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.RequestMessage_1_2.callback(RequestMessage_1_2.java:181)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.handleRequest(CorbaMessageMediatorImpl.java:694)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.dispatch(SocketOrChannelConnectionImpl.java:451)
         at com.sun.corba.se.impl.transport.SocketOrChannelConnectionImpl.doWork(SocketOrChannelConnectionImpl.java:1187)
         at com.sun.corba.se.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:417)
    ----------END server-side stack trace---------- vmcid: 0x0 minor code: 0 completed: Maybe
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.MessageBase.getSystemException(MessageBase.java:902)
         at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(ReplyMessage_1_2.java:99)
         at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(CorbaMessageMediatorImpl.java:572)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(CorbaClientRequestDispatcherImpl.java:430)
         at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(CorbaClientRequestDispatcherImpl.java:326)
         at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(CorbaClientDelegateImpl.java:129)
         at org.omg.CORBA.portable.ObjectImpl._invoke(ObjectImpl.java:457)
         at org.csapi.cs._IpChargingSessionStub.directDebitAmountReq(_IpChargingSessionStub.java:222)
         at com.handler.OsaCharging.charge(OsaCharging.java:331)
         at com.handler.OsaCharging.main(OsaCharging.java:513)
    Does sending back the reference in CORBA changes the reference definition..

    I've got exactly the same problem... I use a SessionFactory to create a Session, and when I try to call session.open(); I actually call sessionFactory.open();
    Don't have an idea why is that... If you solved it, please do tell how.
    Thanks

  • When is client/server forms finished?

    Which is last database, where is possible run forms with client/server architecture? Of cource with guarantee ORACLE.
    We have forms version 6 in client/server, who are running on database 9.2i and we need move to database 10g.
    Thanks...

    user12240408 wrote:
    Unfortunatelly forum doesn't solve my question. There are answers for solution with forms *6i* , but we have developed forms *6* only for client/server architecture.So if you are unable to search the answer, then you can create a new post in forms forum with your question. If someone has the answer, you will get some reply.
    You can also find the forms form here under category "Developer Tools"
    http://forums.oracle.com/forums/main.jspa?categoryID=84
    Hope this helps.

  • JSP and Client/Server Compatibility Issues

    For the new application that we have to design we have two groups of users
    - Group A requires admin access, high response time, better user feel and special previledges and are a few in number at limited locations.
    - Group B requires limited functionality, but are spread all over the world and they are huge in number.
    We are planning to provide Applet/Swing based client server architecture for Group A and JSP/EJB based J2EE architecture for group B users. common webserver would be used.
    Please advise what are are potential issues in this approach or do we have a better approach to achieve the same.

    GUI based applications are good but do you think that will it be maintainable and portable?.. Some of the GUI based applications are build on higher Java like 1.5.. i Presume you have the latest and other workstation have only 1.4 or 1.3, this can be n issue on GUI based applications especially on installation on each workstation.

  • Client / Server Socket Communication - Should use 2 ports?

    If we have a client server architecture using a socket based connection, should there be 2 serperate sockets? One dedicated to sending and one dedictated to receiving? What happens if both the client and server both send at the same time? How does that get handled? Does one of the messages get dropped? Thanks...

    There are of course reasons you might want to use two sockets.
    For instance security. One socket is encrypted and the other isn't. Or because the server initiates a confirmed port connection back it verifies the IP.
    Or because the main socket is used for control and the second one is used for data. That way the client can tell the server to pause or make other adjustments in the data while the data is still flowing.

Maybe you are looking for

  • I can't open new tabs from links in a site, while it is possible from chrome.

    In this site http://www.thepressproject.gr/ I can't open the links in new tabs, while for the same site using chrome I can. When I right click on the link, i don't have the usual options (open in new tab, open in new window, bookmark etc.). It is as

  • CS4 Crashes when Loading Images in OSX Lion

    Hi, I'm having troubles with Photoshop since migrating to a new iMac with Lion and an SSD. Now when I attempt to load any file, PS crashes. I'll attach the errror report below as a seperate message. I have tried: * deleting com.apple.LaunchServices.p

  • Problem with call-offs between APO and R/3 system

    Hi, gurus. We have following problem: APO system receives DELINS idocs. They are processed correctly (status 53). But sometimes the call-offs in R/3 system are not updated. I do not know much about the underlaying process but how can I check where th

  • Posting Date in FB60

    Hi we have an interface into SAP, which calls FB60 to post vendor invoices. Currently the posting date is defaulted as the current day. This works well until month end where for a few days the new period is opened, and the invoices need to be populat

  • How to give decimal data type in abap

    hi i m getting all the data from table and doing calculation i m using field TOTAL field for doing total total = neter + kbetr total = 150.50 + 120.20 here in my out put answer is coming like below total = 270 but i want total = 270.70 THANKS IN ADVA