Implementation Options: Server Side Object Model & Client Side Object Model

Hi All, I'm design a custom web application and it will be deploy on SharePoint 2010/2013 (to be confirmed) server, and I found some aritical as follows:
http://consultingblogs.emc.com/sanjaypatel/archive/2011/09/17/comparison-between-server-side-object-model-client-object-model-rest-api-s-and-decision-matrix-on-what-to-use-when.aspx
May I ask ask your advice for following items?
1) Is the above URL still valid? e.g. Vice Versa for SharePoint 2013?
2) Microsoft has a phase out plan for server side object model or not? (e.g. MOSS 202X)
3) For programmatcally update of SharePoint permission: should I call client-side OM instead of server-side OM even I will deploy the web application to SharePoint server?
Thank you very much.
.NET Beginner 3.5

In sharepoint 2013 I don't think this link is
http://consultingblogs.emc.com/sanjaypatel/archive/2011/09/17/comparison-between-server-side-object-model-client-object-model-rest-api-s-and-decision-matrix-on-what-to-use-when.aspxis reliable at all.
what is your say?
====================================================
 Hi All, I'm design a custom web application and it will be deploy on SharePoint 2010/2013 (to be confirmed) server, and I found some aritical as follows:
http://consultingblogs.emc.com/sanjaypatel/archive/2011/09/17/comparison-between-server-side-object-model-client-object-model-rest-api-s-and-decision-matrix-on-what-to-use-when.aspx
May I ask ask your advice for following items?
1) Is the above URL still valid? e.g. Vice Versa for SharePoint 2013?
2) Microsoft has a phase out plan for server side object model or not? (e.g. MOSS 202X)
3) For programmatcally update of SharePoint permission: should I call client-side OM instead of server-side OM even I will deploy the web application to SharePoint server?
Thank you very much.
.NET Beginner 3.5

Similar Messages

  • Setting socket options server-side: when?

    Hi!
    I'm trying to implement a iperf ( http://dast.nlanr.net/Projects/Iperf/ ) -like bandwidth measurement tool in java, and I need to be able to set different socket options (window size, TOS byte etc.)
    My question would be, when should I be setting these options on the server-side? Should I set them for the ServerSocket (whatever's applicable there- not much), or should I try setting them on the socket returned by accept() ?

    Yes, but my point is that you can't set TOS in 1.4
    regardless of where is should be set, so the point is
    moot. And although you can do that in 1.5 that might
    not meet your goals (and given that 1.5 is in beta and
    that the feature is new, it might not work at all.)
    And 1.5 might not do the other stuff that you want
    either.That's strange, as I thought this one should do just that:
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/Socket.html#setTrafficClass(int)
    Even stranger, as I was actually able to set the TOS byte on outgouing packets, using 1.4.2 (Although I'm aware, that it does depend on the underlying implementation, so it's not certain, that it will be respected)
    Right now I'm trying to figure out, why it's not working on my Gentoo Linux system - tryed it with three different JREs, but still nothing.
    I was able to set the TOS byte of outgouing packets on a RedHat7.3, and on several Win2k, and WinXP hosts (after working a bit on their registry ... ).

  • How to implement a server side SOAP invokeable class????

    Here is my class
    public class ABCImpl
    public String exceute (String msg) { ...}
    ABCImpl.execute(...) requires a string parameter and return a string in XML
    format. It is invoked throught SOAP-RPC call by a remote client. How do I
    integrate class ABCImpl into WebLogic 8.1?? What additional steps are
    needed??
    thanks.

    Hi Stephen,
    See servicegen:
    http://edocs.bea.com/wls/docs81/webserv/anttasks.html#1063540
    "The servicegen Ant task takes as input an EJB JAR file or list of Java
    classes, and creates all the needed WebService components and packages
    them into a deployable EAR file."
    Hope this helps,
    Bruce
    Stephen Kong wrote:
    >
    Here is my class
    public class ABCImpl
    public String exceute (String msg) { ...}
    ABCImpl.execute(...) requires a string parameter and return a string in XML
    format. It is invoked throught SOAP-RPC call by a remote client. How do I
    integrate class ABCImpl into WebLogic 8.1?? What additional steps are
    needed??
    thanks.

  • SOAP server side ... how to ... ?

    Hi,
    I'm new to the soap technology.
    I want to write a java application that use SOAP.
    I've downloaded JAXM to implement the client side :
    SOAPMessage response = con.call(message,endpoint);
    But I don't know what I must do to the server side ?
    A servlet ? What must I invoke on the server ?
    (I have IIS with servletexec, but I don't know if a servlet is necessary???)
    I just want to implement a server side that answer the SOAP request.
    Please,
    any information about server side
    or a little "startpoint" to begin is welcome.
    Very thanks.

    A good place to start are the tutorials and sample code that are found at:
    http://www-106.ibm.com/developerworks/webservices/library/ws-peer1/?dwzone=ws
    http://www-106.ibm.com/developerworks/webservices/library/ws-peer2/?dwzone=ws
    http://www-106.ibm.com/developerworks/webservices/library/ws-peer3/?dwzone=ws
    http://www-106.ibm.com/developerworks/webservices/library/ws-peer4/?dwzone=ws
    The second and third parts were the best - best coding samples. Also you might want to check out the Apache SOAP website - have you got your SOAP API? It can be found on:
    http://xml.apache.org/soap/index.html
    Also, the Apache SOAP website has a good bunch of info:
    http://xml.apache.org/soap/docs/index.html
    You'll need to have the SOAP, xerces.jar, and a few other things to fully implement SOAP. I've put together several client/server apps using different types of requirements.
    Does this help??

  • Is there any way to setup server side deferred delivery in Exchange 2013?

    We are utilizing 3rd party software to generate reports and email results.  Unfortunately, the software cannot be configured to execute at a specific time, date only.  This means that some reports are being processed and delivered at 12:00 am.
     For business reasons, management would prefer that those emails not be sent at midnight.
    We are looking for a solution that would allow the messages to be generated at midnight but not be delivered by Exchange until several hours later.
    Is there any way to set a deferred delivery option server side in Exchange?  It can be set through Outlook, but only applies to mail sent from Outlook.
    Any advise or recommendations would be greatly appreciated.
    Thanks

    I afraid that it can't be done in Exchange with native features. You might need to develop custom transport agent or need to utilize the 3rd party tool to achieve this...
    You can try in Development forum to see if you can get any help there...
    http://social.technet.microsoft.com/Forums/exchange/en-US/home?forum=exchangesvrdevelopment
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Problem inserting records after execution of server side code

    Hello,
    I've created a server-side function for duplicating a master record and it's details. This function has two input parameters that define the new unique key of the master record. Because the user has to supply the new unique key, there is a possibility that the unique key already exists.
    The server-side function is being called from a form module. This form module contains all the code needed for opening / closing and aborting the HSD transaction. The form also enables users to add new master records manually.
    If the server-side function is called from within the module there are two possible outcomes:
    1, the unique key already exists and the HSD error message window is displayed.
    2, the unique key does not exist and the records get duplicated.
    If I try to add a new master record in the form after a failed duplication process, I get a form message informing me that NULL cannot be inserted into the ID column. (The primary key.) BTW updates work just fine. However, if I call the server-side function again and the duplication process is succesfull, I can again insert a new master record in the form succesfully.
    I'm assuming that this problem has something to do with the TAPI package because I use TAPI insert calls to insert the master / detail records when duplicating. A workaround for this problem is (obviously) to check if the supplied unique key already exists in the database before calling the server-side function.
    I however am concerned a bit because a lot of program functionality has been implemented in server-side functions and procedures. So I would like to know if anyone has had the same problems and possibly knows if there is a generic solution to this problem.
    Greetings,
    Marco.

    Marco,
    Can you make a test case for me and send it to me? It looks like we might have a bug and I would like to investigate.
    Regards,
    Lauri
    [email protected]

  • How to implement server side methods in client side player from main.asc?

    Hi,
    I am developing video player using RTMP NetConnection and NetStream object but it is giving me below Error. Can you please tell me how can I handle this. I have main.asc file form FMS server side but I don't know how to use it. 
    Async Error found = <br>Error #2095: flash.net.NetConnection was unable to invoke callback setUserID.
    Async Error found = <br>Error #2095: flash.net.NetConnection was unable to invoke callback syncChat.
    Async Error found = <br>Error #2095: flash.net.NetConnection was unable to invoke callback playingNotComplete.
    Async Error found = <br>Error #2095: flash.net.NetConnection was unable to invoke callback nowPlaying.
    Can anyone please help me ot solve this issue?
    Best regards,
    Sunil kumar

    javascript are run on the client side.. but i think what you actually mean is getting some validation to your database without submitting the form?. yes it doesn't consumes time and memory of server.. why not use ajax so you can only submit a little request.. rather than submitting the whole page..

  • ICustomRouter interface CSOM or Server Side Object model

    Hi!
    We are looking into a custom document route, and I know about the ICustomRouter interface.
    Can it be used in CSOM?
    The ICustomeRouter example here:
    http://msdn.microsoft.com/en-us/library/microsoft.office.recordsmanagement.recordsrepository.icustomrouter.aspx
    references:
    using Microsoft.SharePoint;
    ...which leans towards the Server Side Object model.
    I don't see anything for "routing" or "records" here for the 2013 API:
    http://msdn.microsoft.com/en-us/library/office/dn268594(v=office.15).aspx
    Thank you!

    The only thing available from CSOM is the following namespace:
    Microsoft.Office.RecordsManagement.InformationPolicy.ProjectPolicy
    Some of the methods available are below:
    IsProjectClosed
    PostPoneProject
    GetProjectPolicies
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • How JMS client operate on JMS server side objects?

    For example, JMS client got an instance of ConnecitonFactory by JNDI call from a remote side JMS server. Thereafter, the client uses this object to set upconnections. My question is that what kind of remote tech this is? Is it RMI or CORBA or something?

    I suspect it boils down to who your JMS Provider is.

  • How can I convert client-side Shared Object in server-side Shared Object?

    Hello world....
    I have a problem...
    I have a program that uses client-side shared Object, like the Example "Ball" il the FMS 3.5 guide: I can move a ball around the stage...
    I need to convert this program so I can use server side shared object. This is because I can load the .swf to another .swf and I must to be able to reset, or delete, the properties of my shared object. With client-side sahred object I can't delete or reset the shared object after I loaded my external .swf....
    My script is:
    private var pointer1_so:SharedObject;
    nc=new NetConnection  ;
    nc.connect (rtmpNow);
    nc.addEventListener (NetStatusEvent.NET_STATUS,doSO);
    Cerchio=new cerchio ;
    addChild (Cerchio);
    Cerchio.x=220;
    Cerchio.y=280;
    Cerchio.addEventListener (MouseEvent.MOUSE_DOWN,beginDrag1);
    Cerchio.addEventListener (MouseEvent.MOUSE_UP,endDrag1);
    private function doSO (e:NetStatusEvent):void
                 good=e.info.code == "NetConnection.Connect.Success";
                 if (good)
                       //Shared object
                       pointer1_so=SharedObject.getRemote("point1",nc.uri,false);
                       pointer1_so.connect (nc);
                       pointer1_so.addEventListener (SyncEvent.SYNC,doUpdate1);
    private function doUpdate1 (se:SyncEvent):void
                 for (var cl1:uint; cl1 < se.changeList.length; cl1++)
                       trace(se.changeList[cl1].code);
                       if (se.changeList[cl1].code == "change")
                            switch (se.changeList[cl1].name)
                                 case "xpos" :
                                       Cerchio.x=pointer1_so.data.xpos;
                                       break;
                                 case "ypos" :
                                       Cerchio.y=pointer1_so.data.ypos;
                                       break;
    private function beginDrag1 (e:MouseEvent)
                     Cerchio.addEventListener (MouseEvent.MOUSE_MOVE,moveMc1);
                     Cerchio.startDrag (false,Rect1);
    private function endDrag1 (e:MouseEvent)
                     Cerchio.stopDrag ();
    private function moveMc1 (e:MouseEvent)
                e.updateAfterEvent ();
                   pointer1_so.setProperty ("xpos",Cerchio.x);
                   pointer1_so.setProperty ("ypos",Cerchio.y);
    Can someone helps me?
    I know I need of a server side script but...
    Please...
    Emiliano.

    ResultSet is not serializable. It is an active connection. If you wish to serialize the info, then read it into an ArrayList in your serializable class and pass the Data that way.

  • How to use server-side classes in a web service proxy client ?

    Greetings,
    I'm using WebLogic 10.3 with Workshop 10.3 on Windows. I generate a Web Service client in Workshop. There are two options in the New->Others->Web Service category: ClientGen Web Service Client and Web Service Client. I've chosen the second one as it's a JAX-WS Web Service and I think that the first one (ClientGen Web Service is to be used with JAX-RPC Web Services. The proxy is generated but, since the Web Service is using POJOs as parameters, a new version of these POJOs is also generated. For example, my Web Service has an operation like: public OrderStatus putOrder (Order), where OrderStatus and Order are application scoped POJOs. The proxy generation process generates a _PortType class which is supposed to be used by the calling client. This class defines an operation public OrderStatus putOrder(Order), but the OrderStatus and Order classes aren't the original ones but the generated ones. The issue is that these generated classes aren't completely equivalent to the original ones, for examples all lists become arrays, the constructors are different, etc. This is extrememly annouying. Is there any option to say to the proxy generation process to keep with the server-side classes ?
    many thanks in advance for any help.
    Nicolas

    The only solution to this problem seems to be using dynamic proxies. But it doesn't work neither as the following code:
    Service service = Service.create(new URL("http://localhost:7001/OrderServiceProject/OrderService?WSDL"),
    new QName("http://www.simplex_software.fr/demo/services", "OrderService"));
    OrderService orderService = service.getPort(new QName("http://www.simplex_software.fr/demo/services", "OrderServicePort"), OrderService.class);
    raises the following exception:
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass
    INFO: Dynamically creating request wrapper Class fr.simplex_software.demo.services.jaxws.PutOrder
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass
    INFO: Dynamically creating response wrapper bean Class fr.simplex_software.demo.services.jaxws.PutOrderResponse
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getRequestWrapperClass
    INFO: Dynamically creating request wrapper Class fr.simplex_software.demo.services.jaxws.GetOrderStatus
    16 déc. 2009 19:55:51 com.sun.xml.internal.ws.model.RuntimeModeler getResponseWrapperClass
    INFO: Dynamically creating response wrapper bean Class fr.simplex_software.demo.services.jaxws.GetOrderStatusResponse
    Exception in thread "main" java.lang.IllegalArgumentException: fr.simplex_software.demo.services.OrderService is not an interface
         at java.lang.reflect.Proxy.getProxyClass(Proxy.java:362)
         at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:581)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.createEndpointIFBaseProxy(WSServiceDelegate.java:630)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:331)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:313)
         at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:295)
         at javax.xml.ws.Service.getPort(Service.java:92)
         at fr.simplex_software.demo.client.OrderServiceClient.main(OrderServiceClient.java:23)
    As a matter of fact, fr.simplex_software.demo.services.OrderService is not an interface but, nevertheless, it's a SEI and it was generated as it is by the IDE Web Service wizard. Big, big confusion ! Of course, this sample works perfectly with Metro, in NetBeans using Glassfish.

  • RE: Server side objects-if attributes/methods are addedis

    Hi Richard,
    in addition to Peter Sham's mail you might have a
    look at tech note N 11545. The subject is different
    but you will see how to implement 'anchored'
    objects(use proxies) or reference partitions. If your
    server object project is a supplier plan to the
    client I am afraid you have to redeploy client
    whenever you change something on server. So probably
    you have to change the way client and server
    interact. One or two months ago there was discussion
    of how to separate client from server. The subject
    was something like how to avoid "bloated clients".
    Regards,
    Rumen
    Hi,
    You can deploy your server-side objects as server
    using "Configure As"
    in
    Forte Workshop. Then all your client can >use"Reference Partition" to
    reference your SO's on the server. Any change onthe >server-side logic
    won't
    require you re-deploy your clients.
    But if there is object which will pass from serverto >client and no
    matter
    what the change is, you will need to re-deploymentof >your client
    otherwise,
    you will get a "deserialization" error. Bear inmind >that Forte deploy
    all
    the code ( like object structure, logic, etc ) to
    your client during
    deployment, only the data get passes through. Hence, >if there is any
    change
    in an object that will copy from server to client,
    you have to update
    the
    "code" in your client too, that means, re-deploying
    your client. The
    only
    way to get arround this is to "anchore" your object?>to the server, so
    that
    your client only gets a proxy of the object. Aslong >as you are adding
    in
    new things, I guess it ok. But there is a lot of
    issues following
    "archored"
    object.
    Hope this help.
    Regards,
    Peter Sham.
    "Robinson, Richard" wrote:
    Subject says is all. We have a situation wherewe'd like to avoid
    rebuilding/redeploying the client side when aserver object is changed
    (i.e., a new method or attribute is changed) or anobject that is
    passed
    from the server to a client is changed but theclient won't use the
    new
    methods/attributes.
    Thanks in advance_________________________________________________________
    DO YOU YAHOO!?
    Get your free @yahoo.com address at http://mail.yahoo.com

    Hi,
    You can deploy your server-side objects as server using "Configure As" in
    Forte Workshop. Then all your client can use "Reference Partition" to
    reference your SO's on the server. Any change on the server-side logic won't
    require you re-deploy your clients.
    But if there is object which will pass from server to client and no matter
    what the change is, you will need to re-deployment of your client otherwise,
    you will get a "deserialization" error. Bear in mind that Forte deploy all
    the code ( like object structure, logic, etc ) to your client during
    deployment, only the data get passes through. Hence, if there is any change
    in an object that will copy from server to client, you have to update the
    "code" in your client too, that means, re-deploying your client. The only
    way to get arround this is to "anchore" your object to the server, so that
    your client only gets a proxy of the object. As long as you are adding in
    new things, I guess it ok. But there is a lot of issues following "archored"
    object.
    Hope this help.
    Regards,
    Peter Sham.
    "Robinson, Richard" wrote:
    Subject says is all. We have a situation where we'd like to avoid
    rebuilding/redeploying the client side when a server object is changed
    (i.e., a new method or attribute is changed) or an object that is passed
    from the server to a client is changed but the client won't use the new
    methods/attributes.
    Thanks in advance
    For the archives, go to: http://lists.sageit.com/forte-users and use
    the login: forte and the password: archive. To unsubscribe, send in a new
    email the word: 'Unsubscribe' to: [email protected]

  • Establish a connection through RF modem's on client & server side & to set up PPP communication for data transfer

    hi
    can any1 over here help me out in how to establish connection between 2 RF modem's for data transfer , between client & server USing LABVIEW?
    I want to establish a connection between 2 PC's through  RF modem on client & server side & to set up PPP communication for data transfer.
    (I have tried data transfer through RS-232 using TCP/IP whn the 2 PC's are connected over ethernet... which is working.
    I also tried connecting loopback cable between 2 PC's COM port & geting data transfer using VIsa configure serial port & other visa functions  ... which is working)
    can u guide me how to establish connection between 2 RF modem's using LABview?
    & how does the data transfer take place between 2 RF modems through RS-232?
    is it using TCP/IP?
    If you got any links to go abt this issue do send me related links .. or any examples .....
    I am currently using Labview version 8.
    Waiting in anticipation.. reply ASAP..
    thanking you
    Regards
    Yogan..

    Howdy yogan,
    Maybe you could clarify a few things for me, and we'll see how we can help ya. TCP/IP protocol occurs through an ethernet connection; RS-232 communication occurs through an RS-232 serial connection, typically through a cable that has a DB9 connector on both ends. Do you mean that the RF modems in question have the option to communicate via RS-232 and/or via TCP/IP ethernet? Specific information like the manufacturer of your RF modems, the model number of your RF modems, and how you connect the modems to the PC would enable us to give you more efficient support.
    You can check our Instrument Driver Network (IDNet) to see if a plug-and-play/IVI driver already exists for your RF modem. (You'll need to know its manufacturer and model number.) In the case that you do find an IDNet driver for your modem, you can use this KnowledgeBase article for instructions on how to use the driver.
    Another excellent resource to consider is the NI Example Finder. You can access this within LabVIEW by navigating to Help»Find Examples and then searching for serial or TCP/IP examples.
    Message Edited by pBerg on 03-10-2008 04:35 PM
    Warm regards,
    pBerg

  • How to tell client disconection reason when invoke disconnect() on the server side.

    Is there any way to tell client the reason for disconect when I call disconect() on the server side. its some way like using error object as optional parameter to include reject reason when invode rejectConnection

    Ignore the JSRs for now.
    Follow the JavaEE tutorial.
    http://docs.oracle.com/javaee/6/tutorial/doc/
    The answers to many of your questions will be clear to you once you have completed the tutorial.
    I also like the tutorials here (they are a little dated, but still mostly relevant as the core JEE6 specs that the tutorial relies on were released over 5 years ago and JEE7 is yet to be released).
    https://schuchert.wikispaces.com/EJB+3+and+Java+Persistence+API
    zonski has a spring+javafx focused tutorial if you would prefer to learn and use Spring than JEE (they are differing technologies which cover pretty much the same functional set):
    http://www.zenjava.com/series/building-jee-applications-in-javafx-2-0/
    JavaFX is a client side framework so there is not much you would do with it on the server side.
    It seems like there is a ton of "JSR's" for different tasks, and I'm not sure exactly what I need, and all that, so I'm really confusedNobody needs all of JEE, just use the bits that you want that are a good fit for whatever project you are doing - don't try to use everything at once.
    A lot of the stuff can be learnt and used in isolation.
    Selected relevant topics, might be (in the order that I would consider them):
    Persistence: http://docs.oracle.com/javaee/6/tutorial/doc/bnbpy.html
    Java Servlet Technology: http://docs.oracle.com/javaee/6/tutorial/doc/bnafd.html
    JAX-RS web services: http://docs.oracle.com/javaee/6/tutorial/doc/giepu.html
    Contexts and Dependency Injection: http://docs.oracle.com/javaee/6/tutorial/doc/gjbnr.html
    Enterprise Beans: http://docs.oracle.com/javaee/6/tutorial/doc/bnblr.html

  • How can i load file into database from client-side to server-side

    i want to upload file from client-side to server-side, i use the following code to load blob into database.
    if the file is in the server-side, it can work, but if it in the client-side, it said that the system cannot find the file. i think it only will search the file is in the server-side or not, it will not search the client-side.
    how can i solve it without upload the file to the server first, then load it into database??
    try
    ResultSet rset = null;
    PreparedStatement pstmt =
    conn.prepareStatement ("insert into docs values (? , EMPTY_BLOB())");
    pstmt.setInt (1, docId);
    pstmt.execute ();
    // Open the destination blob:
    pstmt.setInt (1, docId);
    rset = pstmt.executeQuery (
    "SELECT content FROM docs WHERE id = ? FOR UPDATE");
    BLOB dest_lob = null;
    if (rset.next()) {
    dest_lob = ((OracleResultSet)rset).getBLOB (1);
    // Declare a file handler for the input file
    File binaryFile = new File (fileName);
    FileInputStream istream = new FileInputStream (binaryFile);
    // Create an OutputStram object to write the BLOB as a stream
    OutputStream ostream = dest_lob.getBinaryOutputStream();
    // Create a tempory buffer
    byte[] buffer = new byte[1024];
    int length = 0;
    // Use the read() method to read the file to the byte
    // array buffer, then use the write() method to write it to
    // the BLOB.
    while ((length = istream.read(buffer)) != -1)
    ostream.write(buffer, 0, length);
    pstmt.close();
    // Close all streams and file handles:
    istream.close();
    ostream.flush();
    ostream.close();
    //dest_lob.close();
    // Commit the transaction:
    conn.commit();
    conn.close();
    } catch (SQLException e) {

    Hi,
    Without some more details of the configuration, its difficult to know
    what's happening here. For example, what do you mean by client side
    and server side, and where are you running the upload Java application?
    If you always run the application on the database server system, but can't
    open the file on a different machine, then it sounds like a file protection
    problem that isn't really connected with the database at all. That is to
    say, if the new FileInputStream (binaryFile) statement fails, then its not
    really a database problem, but a file protection issue. On the other hand,
    I can't explain what's happening if you run the program on the same machine
    as the document file (client machine), but you can't write the data to the
    server, assuming the JDBC connection string is set correctly to connect to
    the appropriate database server.
    If you can provide some more information, we'll try to help.
    Simon
    null

Maybe you are looking for