JAXM to communicate with a VB client

I've narrowed down my problem. I will only use Java on the server side. I'll parse the XML files, once they arrive at the server, using JAXB. Only question now remaining is how to get the XML files from the VB client on the desktop back to the server, and how to return XML files from the server to the desktop.
Should I just use file utilities to upload and download the files, and then process them using java afterwards?
Or should I use JAXM to send them back and forth?
-Adena

What are you trying to accomplish? That will help with the how.
Mark

Similar Messages

  • How do VB Winsock component communicate with J2EE server  by ServerSocket ?

    We are designing a thin client and server software system.
    The server is application server with java language, the client is application with VB language.
    The vb client program using Winsock component connect to the java application server of ServerSocket by specifying port.
    This system had been tested run for end user.
    Now, we would like the application server turn on j2ee platform. we don't know how the JavaTM 2 Platform, Enterprise Edition SDK version 1.3 can communicate with the vb client program?
    Who would like to tell us.

    Your problem is not uncommon. You do have an advantage: your server code is already in Java. You have some options here. However, I am guessing that either (a) you're running out of time to implement a solution or (b) you're running out of budget. In either case, the easiest solution will be to build a simple multiple socket server client to run on the server. You can create multiple threads to talk to multiple clients via server sockets. You could allocate a port range to use. The clients could then use a randomize algorithm to select a port in the range. If already in use, then go to the next one.
    There is a crude sample in the Sun Java Trails that can get you started.
    HTH

  • How does Oracle client communicate with a database server

    Looking to idenify how Oracle Database Client for OpenVMS communicates with database server and whether the protocol used is secure. Realize that it is using whatever the configured network protocol is (ie. tcpip) but is languauge it uses ( ie. SQL, etc..)  secured/encrypted and if not what steps can be taken to encypt

    Arizuddin wrote:
    I have installed oracle client 10g on client pc for getting connection to Oracle databse 10g (runng on windows server) usng ODBC through SAGE ACC PAC (ERP). Working fine earlier. Now all of a suddent user starts complaining about database connection. When checked his pc registry values. Two values of ODBC keys are reset to null. Those are DSN and DRIVER values. How come this values reset to null? What is causing this to reset?Nothing in this has anything to do with the sever. You need to check what the client did on his machine that caused registry to get modified?
    How does oracle ODBC works with Oracle database? Need to know all the steps involved?The connectoin from any client is initiated by a client process. This client process is supposed to get a server process to do his work. So if this is done, the client can work now with oracle . Please see the concepts guide for the gory details of the entire process.
    HTH
    Aman....

  • Ways to Configure Which UNIX Server a PC Client Application Communicates With

    We have several different MS VC++ "fat client" applications that we want to run
    on the same NT 4.0 PC.
    Each application uses the Tuxedo 7.1 client to communicate with Tuxedo services
    located on a UNIX server.
    Each application needs to communicate with a different UNIX server (e.g., application
    A1 needs Tuxedo
    service T1 located on UNIX server S1, application A2 needs Tuxedo service T2 located
    on UNIX server
    S2). We'd like to load the Tuxedo 7.1 client software in such a way that each
    individual application
    controls which server it uses. One way to do that is through registry entries
    specific to each application.
    We are looking for some documentation or tips on other/better ways to configure
    which server the PC
    application communicates with. We are also looking for some documentation or
    tips on how to best
    configure an application that needs to subscribe to services from several different
    servers (e.g.,
    application A needs Tuxedo service T1 on server S1 and Tuxedo service T2 on server
    S2). Thanks.

    Matt,
    This sounds quite unusual, and I am not sure why you want to do things this way.
    Generally, I would expect that the services would be distributed on the server side over
    different boxes as you describe, but the location would be transparent to a client app.
    which would tpinit once, and Tuxedo would route the requests appropriately. Maybe that's
    not how you want to do things because the apps are all logically independent? I'm not
    sure about that though, since you describe needing services on different servers in
    individual clients... Can you do the integration at the back end?
    To do what you describe, however, you need to control the value of the WSNADDR
    environment variable before you call tpinit() - it is the network address in this
    variable that tells the client libraries which server to connect to. Simply set the
    value (from a command line parameter, the registry, an ini file or wherever) with the
    tuxputenv() API before you call tpinit()
    In Tuxedo 7.1 and higher, it is also possible to connect to multiple different servers
    simultaneousy by calling tpinit multiple times and having multiple contexts in the
    client.
    I hope that helps.
    Regards,
    Peter.
    Got a Question? Ask BEA at http://askbea.bea.com
    The views expressed in this posting are solely those of the author, and BEA
    Systems, Inc. does not endorse any of these views.
    BEA Systems, Inc. is not responsible for the accuracy or completeness of the
    information provided
    and assumes no duty to correct, expand upon, delete or update any of the
    information contained in this posting.
    Matt wrote:
    We have several different MS VC++ "fat client" applications that we want to run
    on the same NT 4.0 PC.
    Each application uses the Tuxedo 7.1 client to communicate with Tuxedo services
    located on a UNIX server.
    Each application needs to communicate with a different UNIX server (e.g., application
    A1 needs Tuxedo
    service T1 located on UNIX server S1, application A2 needs Tuxedo service T2 located
    on UNIX server
    S2). We'd like to load the Tuxedo 7.1 client software in such a way that each
    individual application
    controls which server it uses. One way to do that is through registry entries
    specific to each application.
    We are looking for some documentation or tips on other/better ways to configure
    which server the PC
    application communicates with. We are also looking for some documentation or
    tips on how to best
    configure an application that needs to subscribe to services from several different
    servers (e.g.,
    application A needs Tuxedo service T1 on server S1 and Tuxedo service T2 on server
    S2). Thanks.

  • Does Lync client Inside office need to communicate with Lync Edge Servers?

    Does Lync client Inside office need to communicate with Lync Edge Servers?
    Regards

    Hi,
    Agree with David.
    Here is a similar case may help you:
    https://social.technet.microsoft.com/Forums/en-US/0c10a56a-9669-4ff3-8a76-1769afa61232/lync-client-point-to-point-av-or-conferencing-av-traffic?forum
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • How do I enable two wireless clients to communicate with each other?

    I have a WRT54GL with the latest firmware.  I have two computers which are both connected to the router, with IP addresses assigned via DHCP.  Neither has a firewall running.  I cannot get them to communicate with each other -- even ping doesn't work.  I can ping the router itself using the IP address assigned to it on the WAN side by my ISP.   Both computers have no problem reaching the internet through the router.
    What settings on the router will enable the communication to occur?  I can't find anything in the router's user interface which appears to control this. 
    Thanks.
    Solved!
    Go to Solution.

    Hi annie25,
    I think it would be best to check on netgear or belkin technical forums how to make these two talk. 
    Yesterday is history. Tomorrow is mystery. Today is a gift.

  • Jabber for Mac 9.2.1 Cannot communicate with the server

    Hi All,
    I'm using Webex and the Jabber for Mac 9.2.1 client that was automatically pushed.  I see "Cannot communicate with the server" when I attempt to login. 
    The same credentials work correctly when using the 8.6.5 client version.  I've attached the problem report file.
    I would appreciate some guidance on what I need to do to get this to work.
    Cheers,
    Steve

    We've seen this with a few of our users as well. All started noticing having issues Friday morning. As this is a hosted service for us via webex we had our engineers call in to Jabber support. Cisco performed a modification to their account and they were able to connect again. No SRV records were messed with.
    ***EDIT*** - This appears to have been caused by a certificate issue. The Trusted Root Certificate for QuoVadis expired and was not renewed on some machines. 
    Go here: https://www.quovadisglobal.com/QVRepository/DownloadRootsAndCRL.aspx
    Install the Cert for : QuoVadis Root CA2 (in windows, download as DER>right click file>install)
    Jabber should connect now. The issue was in SSL validation with the appropriate hosted servers.

  • Right way to communicate with a socket server (TCP/IP)

    Hi,
    I used to write data from my J2ME socket client to a J2EE socket server with writeUTF(). In this way I can send (and receive) directly Strings.
    When I need an XML file I ask the server with something like os.writeUTF(GIVE_ME_XML_FILE) and I use an XML parser with this socket InputStream.
    I was wondering if it's the right way to proceed ....?
    How do you guys communicate with a server when you need "to talk" a lot ? Do you use only HTTP requests or (if you are allowed to) do you use Socket with writeUTF ?
    Just to know if I'm completely wrong....and if I gonna have unsolicited issues ...
    Thanks..

    AdrienD wrote:
    When I need an XML file I ask the server with something like os.writeUTF(GIVE_ME_XML_FILE) and I use an XML parser with this socket InputStream.
    I was wondering if it's the right way to proceed ....?No, it is not. Read the writeUTF api docs, and you'll know why!
    How do you guys communicate with a server when you need "to talk" a lot ? Do you use only HTTP requests or (if you are allowed to) do you use Socket with writeUTF ?There is answer to this question. it al depends on what data gets send where, how often, and how large..

  • Best way for LV app to communicate with Database/Website?

    Hey all...I'm pretty experienced LabVIEW programmer but I'm in somewhat new territory here with communicating with a server/website.
    We are going to have an online SQL database that stores all data that we record for our application.  That database is going to have a web-based front end that will allow users to add/edit records.
    On the other end, we are going to have a LabVIEW application running on a PC that will allow its users to acquire/input data, and also add/edit records for the SQL database as well.  So basically a web-based client and a LV application client, which will most likely differ in functionality.
    There are going to be multiple PCs running LabVIEW client
    applications (let's assume upwards of 20 for now).  The idea would be
    that the user could:
    Query the SQL database for an existing entry, and then view/edit that entry or add records to it.
    Create an entirely new record. 
    I have played around with the database connectivity toolkit and was able to communicate with the SQL databases online, no problem.  But, I'm not sure if that is the best way to do this yet because....
    Here are our challenges/constraints/specifications:
    Well we need this to be as low bandwidth intensive as possible as each LV client will be using a GPRS(cell phone) data connection to the internet which is pay per use.  Here are my thoughts on this so far:
    Having local copies of often accessed records on each machine with incremental updates to the server to minimize bandwidth for queries.
    Positives/Negatives?
    Send data to the server in a tagged format (XML maybe?) and then have a server-side application that parses the data and updates it to the database.
    Postives/Negatives?
    When updates are made using the website front-end...we would like at a minimum to be able to notify the LV client that an update has been made (like a Push data/notifier service). 
    How to implement?
    POP3 e-mail for each LV client might be an option but is there something better?
    The data types that we are working with include all standard types (numeric, text, timestamps) and also includes images (jpg) and sound files (mp3) and potentially video in the future.
    Thanks and I'm looking for any and all feedback.  Let me know if the problem is still fuzzy...I will try to describe in better detail.
    -Aaron
    Aaron Fleishman
    Certified LabVIEW Associate Developer
    LabVIEW 2011

    MattBradley wrote:
    Next question: Can the clients (easily) talk to each other -- if they can make a single file for updating the server, that could help, too.
    In any case, my first thought would be to put the different priority data in different directories. Have another labview (or even a different software package) running in the background, looking for new data (more often in the high priority directories). When it sees something, copy it to the server. When the server confirms the file has arrived, delete the original one. On the server side, it would have to let the client know it received the file and then unzip it/translate it/whatever and insert it into the database.
    Sound good so far?
    -Matt
    Matt,
    Sounds good so far.  Interesting idea of putting it in different directories, although I'd like to minimize file I/O as much as possible, especially between different VIs.  I'm also intrigued by using .zip files to cut down on file size.
    No, the clients won't easily be able to talk to each other.  All messaging between clients will go through the server as well.
    I guess I'm really looking for how to practically implement this as well.  Like what VIs (protocol) should I be using to get the data to the server?  TCP/UDP/SMTP/FTP/SQL connection/etc...I have little experience making apps communicate with a website/webserver.
    -Aaron
    Aaron Fleishman
    Certified LabVIEW Associate Developer
    LabVIEW 2011

  • Unable to Communicate with Printer - Photosmart 6520

    A few days ago this issue popped up out of no where. I've been using the printer for a few months now with out an issue, but all of a sudden all of our computers can no longer print. When ever I try an error pops up that the computer cannot communicate with the printer, and to try to update the IP address with the IP address tool.
    So far what I've tried without any success:
    - Restarting the printer.
    - Restarting the router.
    - Restarting the computers.
    - Reconnecting the printer to the network (Rerunning the network setup.).
    - Changing the IP address manually.
    - Disabled the router firewall and computer firewall.
    - Changed the wireless security on my router to WPA2 from WEP (Needed to do this anyway.).
    - Uninstalling, then reinstalling drivers and software.
    - HP Print and Scan Doctor (Sorry, left this one off. Doesn't detect any devices.)
    The Photosmart 6520 says it is connected to the network and the printed wireless test page says the same thing, but none of the computer can print to it, or detect it.
    So far I'm stuck there, as I can't locate the printer to finish reinstalling the drivers.
    Having this issue on multiple devices.
    - Desktop running Windows 7 Ultimate x64
    - Acer laptop running Windows 7 Home
    - Two different HP laptops running Windows Vista
    Since it is affecting so many devices on different platforms I'm inclined to believe the fault lies with the router or the printer itself. Though since there's no other network issues and the printer itself shows it connects successfully to the network (I can also see it listed on the router client list.), I'm leaning more towards an issue with the printer.
    Any help would be appreciated and thanks for your time.

    Looks like you have done a lot of what needs to be done.  Nice work!
    Just want to clarify a few things.
    Can you connect the printer to the router using a network cable? 
    Does the printer work fine if connected directly to the router via netowork cable?
    If that works fine, please note the IP address and disconnect network cable.
    Wireless:
    From the 6520 , configure wireless connection
    What is the printer's IP address when you have it assigned automatically and not manually? 
    If both IP addresses assigned are from same subnet (ex:192.168.x.x)
    -can you ping the printer through the command prompt (in accessories) from a PC on the same network?
      'Ping (address) xxx.xxx.x.x'
      You should get back 3 lines showing the mil sec response if successful.
    Sorry if I am asking you to do something you have already done.
    I work for HP

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • Communicate with servlet after using Java Web Start?

    Is it possible to communicate with servlet to get data back and forth
    after using Web Start to download the client application?
    The demos come with Java Web Start are applications which are
    standalone, don't need communicate with the servlet on Web server
    after being launched. I am wondering if it is possible, and how (HTTP
    & JAX-RPC)?
    Thanx in advance.

    I've done this using HTTP. I get the server and port from the codebase:
    BasicService bs = null;
    try {
    bs = (BasicService)ServiceManager.lookup("javax.jnlp.BasicService");
    String codeBase = bs.getCodeBase().toString();
    and use the java.net.HttpURLConnection and java.net.URL classes to send HTTP parameter values to the servlet and to receive results from the HttpURLConnection's input stream.

  • Problem with Mac OS Client

    Hi,
    I have a PowerPC (PPC) Mac Mini with which I'm trying to contact a VPN3000 private network.
    Under Windows XP, the connection works fine, I get an IP address, a virtual adapter appears under "ipconfig" and I can contact the host I need to get to.
    Under Mac OS 10.4.8 (PPC) with VPNclient 4.9.0050, it seems to connect, but I can't contact the client. It appears that no routes are setup, nor a virtual adapter. Here's the output from "vpnclient" - note the lack of routes..
    Can somebody help!? TIA. Tom
    walden-lodge:~ tom$ /usr/local/bin/vpnclient stat
    Cisco Systems VPN Client Version 4.9.00 (0050)
    Copyright (C) 1998-2005 Cisco Systems, Inc. All Rights Reserved.
    Client Type(s): Mac OS X
    Running on: Darwin 8.8.0 Darwin Kernel Version 8.8.0: Fri Sep 8 17:18:57 PDT 2006; root:xnu-792.12.6.obj~1/RELEASE_PPC Power Macintosh
    Config file directory: /etc/opt/cisco-vpnclient
    VPN tunnel information.
    Connection Entry: westbury
    Client address: 192.168.101.11
    Server address: 85.41.89.219
    Encryption: 56-bit DES
    Authentication: HMAC-MD5
    IP Compression: None
    NAT passthrough is active on port UDP 4500
    Local LAN Access is disabled
    VPN traffic summary.
    Time connected: 0 day(s), 00:00.16
    Bytes in: 0
    Bytes out: 431
    Packets encrypted: 3
    Packets decrypted: 0
    Packets bypassed: 13
    Packets discarded: 0
    Configured routes.
    Secured Network Destination Netmask
    0.0.0.0 0.0.0.0
    walden-lodge:~ tom$ ping 192.168.1.5
    PING 192.168.1.5 (192.168.1.5): 56 data bytes
    ping: sendto: No route to host
    ping: sendto: Host is down
    ^C
    --- 192.168.1.5 ping statistics ---
    7 packets transmitted, 0 packets received, 100% packet loss

    I am trying to using VPN client 4.9 on a G5 (dual processor) OSX 10.4.8. I read and reread the instructions. I go to the command line and copy the INI and profiles into the installer.
    When I try to open the VPN client I receive "Error 51: Unable to communicate with the VPN subsystem". The only information I can find on Error 51 is that it is a windows error. Some help. I can't even uninstall the software.
    Is any one else having this problem?

  • How can I have threads communicate with each other?

    I'm working on a project that requires a group of classes communicating with each other. I decided on using a server and carrying out communication that way. However, my app only has communication between the client and server. I need the clients to be able to communicate with each other. Does anyone know how I can do this or point me to a good tutorial?

    Sorry, here's a bone stock example of my server and client:
    <SERVER>
    package testserver;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    public class TestServer
    static int portOpen;
    public static void main(String[] args)
    portOpen=4000;
    try
    ServerSocket portListener = new ServerSocket(portOpen);
    TestServer userThreads = new TestServer();
    while (1==1)
    Socket userConnection=portListener.accept();
    userThreads.new PortConnection(userConnection);
    catch (Exception e)
    System.out.println("The server encountered a serious error. Server shut down.");
    e.printStackTrace();
    System.exit(0);
    class PortConnection extends Thread
    //Declare variables to handle connections.
    Socket ourConnection;
    BufferedReader serverInput;
    PrintWriter serverOutput;
    PortConnection(Socket userConnection)
    try
    ourConnection=userConnection;
    serverInput=new BufferedReader(new InputStreamReader(userConnection.getInputStream()));
    serverOutput=new PrintWriter(userConnection.getOutputStream(),true);
    start();
    catch (Exception e)
    System.out.println("An error occurred when a user attempted a connection.");
    public void run()
    serverOutput.println("Welcome to the Server.");
    try
    serverOutput.close();
    serverInput.close();
    ourConnection.close();
    catch (Exception e)
    </SERVER>
    <CLIENT>
    package testclient;
    import java.io.*;
    import java.util.*;
    import java.net.*;
    public class TestClient {
    static BufferedReader userInput;
    static Socket quizServer;
    static BufferedReader serverInput;
    static PrintWriter serverOutput;
    static String serverData;
    public static void main(String[] args) {
    userInput = new BufferedReader(new InputStreamReader(System.in));
    try {
    quizServer=new Socket("localhost",4000);
    catch (Exception e) {}
    try
    serverInput=new BufferedReader(new InputStreamReader(quizServer.getInputStream()));
    serverOutput=new PrintWriter(quizServer.getOutputStream(),true);
    catch (Exception e) {}
    try {
    serverData=serverInput.readLine();
    catch (Exception e) {}
    System.out.println(serverData);
    </CLIENT>

  • DMZ Ports to Communicate with SCCM Primary Server

    Hello,
    I have searched and came to know that on firewall, following ports should be open for DMZ to communicate with SCCM primary server 
    HTTP 80 and 443
    8530
    TCP 10123
    TCP 135TCP 445
    We are planning to implement a software on DMZ server which should communicate with SCCM primary server.
    Do the above ports work for communication from DMZ to Primary or if there are more ports required for it?
    Is it possible to achieve this without the SCCM client installed on the DMZ server as i would like the software to communicate via its own methods but the required ports should be open.

    Could you please provide the WMI and SQL ports which would be required.
    If we talk about generically, Are below ports enough for a DMZ server to communicate with the primary site server ?
    HTTP 80 and 443
    8530
    TCP 10123
    TCP 135TCP
    445

Maybe you are looking for

  • Using a Math Formula in AS3

    Hi, I am trying to test using a math formula (probit function) in AS3. I can't get the script to work: the dynamic text box is displaying NaN after I run the function and use a hard-coded number for the variable. Here's the button's script that is ge

  • Opening tif files in PSE7

    I am using the trial version of PSE7 on Windows XP Home. When saving Nikon RAW files (NEF) to TIF from the PSE editor, I can subsequently re-open the TIF file without a problem. When exporting NEF files from the organizer to TIF files, I can NOT re-o

  • Exported pdf prints black boxed

    I exported a booklet from indesign to pdf. It looks perfect on screen but when I print the exported pdf i get black boxes, they are not random, they are always at the same spot on the different pages. When I export again, they appear at  different sp

  • Cash Flow - Change the Financial Statement version

    HI, We are trying to run the standard Cash Flow Report from the system using the T Code S_ALR_87012271. However, when we run the report, the report says no records selected. My concern is that it is referring to the standard financial statement versi

  • View video clip recording date in PRE7?

    Hello, The recording date information of video clips is embedded in my AVI-file but how can I view it in PRE7? There must be a better solution than to open the file in my old software (Pinnacle) where this information can be found easily. The video w