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.

Similar Messages

  • How to make html file on server side from the data entered in text area

    Hi!
    I want to know how to make .html file on server side. Like if i enter the data in text area ( or like we normaly see when we write mail that editor) and we can use html tages in it and when user submit form all the data in that field will be saved on server side as an html formate. Is it possible to do so??? or any ruff idea how to design it???

    Erm ...
    Whats the problem with that?!
    Ok, here the code ...
    String myparameter = request.getParameter("paramname");
    String htmltemplate = "<html>\n"
                         +"<head><title>demo</title></head>\n";
                         +"<body>@parametertag@</body>\n";
                         +"<html>";
    String htmlpage = htmltemplate.replaceAll("@parametertag@",myparameter);
    File yourHTMLfile = new File("wheredoyouwannagotoday.html");
    FileOutputStream fos = new FileOutputStream(yourHTMLfile);
    fos.write(htmlpage.getBytes());
    fos.close();You're done.
    Happy Coding! :-) &copy;

  • 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

  • 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]

  • What server side objects to pin in shared pool?

    On the first invocation of Java-based image.process(...), processing can take up to 30 seconds. Second run takes less than a second, but a final invocation a few hours later is back to 30 seconds. My DBA suspects that the server side objects are cached in the shared pool by the time of the second invocation, and then flushed out by the time the code is run a few hours later.
    We tried "pinning" ORDSYS.OrdImage pl/sql package in the shared pool using dbsm_shared_pool.keep , but no success. What are the the Java server-side objects referred to the Intermedia Java Client that really does the work when the client-side image.process(..) is executed?
    Thanks,
    Brandon

    hi Mr.kesavan!
    i tried .but i am getting some error.
    when i give lookup (jndi) that time it is giving some error.
    for example :
    ic.lookup("Bean2");exactly this line i am getting some unmarshalling error.
    Can u give me some sample code.?
    thank u...
    Shalinipriya.

  • 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

  • [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'UNKNOW ERROR'. (CINF)

    I am getting following error in each module of SAP B1 9.0 and hence unable to use SAP b'coz I can't add or change any document b'coz of this error.
    Error : [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'UNKNOW ERROR'. (CINF)
    please help me to resolve this issue.

    I am getting following error in each module of SAP B1 9.0 and hence unable to use SAP b'coz I can't add or change any document b'coz of this error.
    Error : [Microsoft][SQL Server Native Client 10.0][SQL Server]Invalid object name 'UNKNOW ERROR'. (CINF)
    please help me to resolve this issue.

  • How to use mathscript node in server side with the parameter from the client side

    I tried to develop a server/client system with some algorithms written in matlab. So I included a mathscript node on the server side. The client will send the parameter to the server. According to these parameters, the sever will call the matlab functions to do some computings and then send the results back to the client. The server has to wait for all parameters received before the computings. How do I know this since I only connect the parameter variables to the inputs of mathscript node on the server. The sever cannot know whethere these parameters are the new ones or old ones since the client may send parameters multiple times?

    It seems to me you have two perfectly good options to start with. You could send all possible parameters in a single packet from the client to the server. This could be in the form of a cluster or an array of values. If by server/client you mean you are sending data over the network, then you could flatten this data to string before sending and unflatten it on the other side. Since all parameters come in one packet, you know all the data is valid every time you send data.
    The other option is to send the parameters individually, but include some extra information such as a timestamp or iteration count. The server keeps reading and storing parameter values until a packet arrives with the next timestamp. Alternatively, you could include some information such as an end-of-parameter-list boolean that is sent with every parameter. It would be false until the last parameter packet.
    Give it a thought. There are lots of solutions.
    Jarrod S.
    National Instruments

  • How to send Subtopic Message From Server-Side to Client ?

    I’m new at flex and i have a new question about Flex
    Message Service.
    How to send messages from Server-Side Java Code with
    Subtopic?
    For example.
    I customed a Flex Message Adapter in Tomcat Server , with
    this Adapter , i can send message to Client with following code .
    ---------------------Send message to Client------------
    MessageBroker msgBroker =
    MessageBroker.getMessageBroker(null);
    String clientID = UUIDUtils.createUUID(false);
    AsyncMessage msg = new AsyncMessage();
    msg.setDestination("CustomMsgServiceDes");
    msg.setClientId(clientID);
    msg.setMessageId(UUIDUtils.createUUID(false));
    msg.setTimestamp(System.currentTimeMillis());
    msg.setBody(clientID + "this is my message from server! \n");
    msgBroker.routeMessageToService(msg, null);
    ---------------------Send message to Client------------
    But i want send a message that have Subtopic to the Client ,
    How to do ?
    Thank you for reply.

    There's a white paper that talks about this subject -
    http://www.adobe.com/cfusion/knowledgebase/index.cfm?id=8f1eb6ea

  • Stoping a client live published stream, server side

    Hello buddies,
    I have a very very important and urgent question.
    Suppose in some client a stream is being published live with
    the name 'A'. now, if some other client should and tries to publish
    with the same name ('A'), it will encounter a 'NetStream.BadName'
    status error code, to avoid that I think there should be some way
    to stop the stream('A') server side, and then let the 2nd client
    starts publishing with name 'A'. if so, how can I stop 'A' stream
    on server?
    Thank you so much for any help

    Let your server call a function (on the first client that
    publishes the stream A) that stops the publishing and shows show
    local message to that client e.g. "another client has started to
    publish a stream with the same name".
    It's unclear why you want such a system because you don't fix
    the problem ; you fix the symptoms. If you let clients publish a
    stream related to their loginname for example you will always have
    unique streams on your server.
    If you let them connect to an unique instance of your
    application you don't even have the problem of non-unique
    stream-names because inside every instance you can publish stream A
    again.
    Viewing clients would connect to each instance if they want
    to see that particular stream, like
    rtmp://yourserver.com/appnameXYZ/instancenameABC/A
    where A is the name of your published stream in instance
    "instancenameABC" , which is a child of application called
    "appnameXYZ".

  • How the client to detect  the server has closed the socket?

    if the server closed the socket by an unnormal way, for example, closing the socket compulsively. Then the client will show the "IOException:java.net.SocketException: Connection reset" message,
    how the client to avoid such an error message to the user/customer, I mean , what the client can deal with such a message?
    where to put the dealing code?
    try{ int receivedLength=in.read(receivedBytes);
    }catch(SocketException e){
    // put the code here? }
    catch(IOException e){
    }

    Do you know how to prove it---"a socket read should
    always always always have a timeout";As ejp said (IMHO ...) it's his opinion and doesn't need proof. I respect his opinion, but I often write code that doesn't set this.
    Instead I use 2 threads per connection, and don't care if the read thread goes to sleep, since I can still write. If you only have one thread per connection, you better ensure that the read will end in a relatively short amount of time, even if your partner decides it's time to go for lunch.
    how the length of this timeout will be? That is a business decision, it all depends on the expected time between received messages and is application dependent.
    is it a field of the socket?If you are using blocking mode sockets you set this with setSoTimeout. If you are using non blocking mode NIO you specify it on the select call, although the soTimeout should also work there, although I've never tried that.

  • [help] how to client a Web Services server which need authenticate?

    I am programming a Web Services Client, and the Web Services need http basic authentication.
    Most of codes are generated by Netbeans from a WSDL file, but the program return me a ClientTransportException: request requires HTTP authentication: Unauthorized.
    How to write codes and where should I insert them?
    printStackTrace as follow:
    com.sun.xml.ws.client.ClientTransportException: request requires HTTP authentication: Unauthorized
    com.sun.xml.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:232)
    com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:151)
    com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:88)
    com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
    com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
    com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
    com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
    com.sun.xml.ws.client.Stub.process(Stub.java:248)
    com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:134)
    com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:244)
    com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
    com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
    $Proxy27.zbjdaFmMd0H(Unknown Source)
    org.apache.jsp.index_jsp._jspService(index_jsp.java:94)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    java.lang.Thread.run(Thread.java:619)and my page code as follow:
    <%--
        Document   : index2
        Created on : 2008-10-13, 16:25:54
        Author     : Hawkeyes
    --%>
    <%@page contentType="text/html" pageEncoding="UTF-8"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title>JSP Page</title>
        </head>
        <body>
            <h2>Hello World!</h2>
        <%-- start web service invocation --%><hr/>
        <%
        try {
         com.heliteq.wsclient.client.ZBJDAFMMD0HV1_Service service
    = new com.heliteq.wsclient.client.ZBJDAFMMD0HV1_Service();
         com.heliteq.wsclient.client.ZBJDAFMMD0HV1 port = service.getZBJDAFMMD0HV1();
          // TODO initialize WS operation arguments here
         javax.xml.ws.Holder<com.heliteq.wsclient.client.TableOfZbjdaTbMd0R> tabItab
    = new javax.xml.ws.Holder<com.heliteq.wsclient.client.TableOfZbjdaTbMd0R>();
         javax.xml.ws.Holder<com.heliteq.wsclient.client.Bapireturn> expReturn
    = new javax.xml.ws.Holder<com.heliteq.wsclient.client.Bapireturn>();
         port.zbjdaFmMd0H(tabItab, expReturn);
        } catch (Exception ex) {
         // TODO handle custom exceptions here
        %>
        <%-- end web service invocation --%><hr/>
        </body>
    </html>Edited by: Winds on Oct 16, 2008 9:49 AM

    This thread will soon be locked. You are replying to a topic which is -years- old, the person you demand help from is not going to see your cry for help.
    Create a new thread and post all relevant information that you have, including exception stacktraces that you are getting. But before that you should take a big hint from this thread; the OP found a solution. This means you should be able to find one too, if you take the time to look for it. a Google search on parts of the exception stacktrace usually lead to the answer very quickly.

  • How can I deliver to custom server-side LoginModule additional options?

    I need to deliver additional options to sever-side custom LoginModule when I use Weblogic Security Framework (Weblogic 9.2). How can I do it?

    So I'm guessing you want to take into account other factors in the auth decision? The sample authentication provider does show some additional context api's I believe, I haven't looked at it in awhile.
    I recommend that you concisely write your requirements with a detailed example and post the question in the WLS - Security forum which will have a more specialized focus on the security sub-system.
    WebLogic Server - Security

  • Need to know how to calculate and allocate the server side bandwidth between two exchange sites for DAG replication

    Hi All,
    Please have a look in to the below mentioned environment.
    primary site :SITE 1
    server 1 
    server 2 
    secondary site :SITE 2
    server 3
    Note : All the above three servers are in single DAG .All the database are mounted on the server (server 1) which is located in the primary site (I.E SITE 1).
    On that 5 databases we are having 3500 users .Based on the user designation we have allocated the mailbox size.
    Query : Each and every day we are having the large no copy queue length for all the five databases to the server located in SITE 2.
    Please help me out on this and also tell me is there any tool available to exactly get the required bandwidth for the exchange servers located between the active directory sites.
    Thanks & Regards S.Nithyanandham

    I don't know of any tool that can calculate things for you but latency is the biggest thing you have to worry about. The other issues is looking at the network gear between the 2 sites. I have seen many times were switches get maxed out if they are set to
    1 GB or even ports getting maxed out and need to bonded for more throughput. Test your latency from the edge of each site then test it within to see if there is a difference. 
    Regardless of their geographic location relative to other DAG members, each member of the DAG must have round trip network latency no greater than 500 milliseconds between each other member.
    As the round trip latency between two Mailbox servers hosting copies of a database increases, the potential for replication not being up to date also increases. Regardless of the latency of the solution, customers should validate that the networks between
    all DAG members is capable of satisfying the data protection and availability goals of the deployment. Configurations with higher latency values may require special tuning of DAG, replication, and network parameters, such as increasing the number of databases
    or decreasing the number of mailboxes per database, to achieve the desired goals.
    Round trip latency requirements may not be the most stringent network bandwidth and latency requirement for a multi-datacenter configuration. You must evaluate the total network load, which
    includes client access, Active Directory, transport, continuous replication, and other application traffic, to determine the necessary network requirements for your environment.
    http://technet.microsoft.com/en-us/library/dd638104(v=exchg.150).aspx
    DJ Grijalva | MCITP: EMA 2007/2010 SPA 2010 | www.persistentcerebro.com

  • We use FMS Server 4.5,how many clients can connect one server (maximum number of connections)?

    As the title

    Jan,
    I do not think that there is a forced limit for as long as your hardware can sustain.
    It also probably depends from MQ vendor to vendor, and their JMS implementations.
    In one of my apps 10,000 subscribers was the practical celing due to the memory limitations. (On Solaris 8, 2 GB shared memory)
    In another that used open source JMS celing was much lower. due to its underlying EJB implementation (Linux).
    I would suggest a clean box test. Benchmarking, stress and load testing you middleware is always a good idea. It will give you a good idea what your app can and can not do.

Maybe you are looking for