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

Similar Messages

  • Question, in a client server implemention

    Question, in a client server implemention using only basic sockets and datagrams, what happens if a method is being called at the server side while the same method is already being called/running for another client?
    Example:
    Client 1 calls Method 1 at Server Side. Method 1 runs.
    Client 2 calls Method 1 at Server Side. Method 1 is still running for Client 1. Does it create another Thread and runs for Client 2? Or do I have to implement a seperate Thread for each Client myself?

    Thanks!
    Don't want to start a new thread so might as well ask this here,
    Is there a way to pass or at least update the value of a variable from the outside into a Thread that is running? And this value needs to be seen and be the same for all Threads.
    I am thinking of creating new a class that to hold the value I want to update, and passing an object of the class in to the Threads before they runs. Since objects hold reference to the location of the actual object or something like that; people always get worked up over this if I phrase this incorrectly, but I think I got the point across, so that's okay. If I change the value of the object at runtime in the main method, like assign it with a new value according to user input. All the Threads will get the new value right?
    Something like that.
    public class valueToUpdate {
    String value;
    public valueToUpdate(String value) {
    this.value = value;
    public String getValue() {  
    return value;  
    public class Main {  
    public static void main(String[] args) {  
    String str = "abc";  
    valueToUpdate vTU = new valueToUpdate(str);  
    ThreadClass tc1 = new ThreadClass(vTU);  
    Thread thread1 = new Thread(tc1).start();  
    ThreadClass tc2 = new ThreadClass(vTU);  
    Thread thread2 = new Thread(tc2).start();   
    public class ThreadClass implements Runnable {  
    valueToUpdate vTU;  
    public ThreadClass(valueToUpdate vTU) {  
    this.valueToUpdate = valueToUpdate;  
    public void run() {  
    System.out.println(valueToUpdate.getValue());  
    }Okay, something like that. I know I need to add in a TimerTask for ThreadClass too for it to run for a certain period. But if I were to ask for user input at the main method while the TimerTask in running, and I change the value of vTU, will the output for both Threads be changed to the value of the user input?
    Or is there a better way to do it?

  • Has the ODI same installable for both Client & Server?

    Has the ODI same installable for both Client & Server?
    i.e. Team with multiple developers is concurrently working on ODI project. Repository is very much same. They just need the Designer Module in their desktop.
    Is there separate installable for development IDE for ODI (Designer Module) instead of complete ODI which may include the server also?
    Thanks In Advance
    priyadarshi.

    Hi ,
    You can install only the client in multiple machine if multiple user are going use/share the same repository ... and you should be having the same
    snps_login_work.xml
    snps_login_security.xml
    in all your client installations....so that you can have multiple users created and share the same repositroy ...
    hope this helps
    Thanks
    Ananda

  • Looking for a client/server that supports multiple protocol and delivery

    Hi all, I don't know if this the right place to ask my question,here it goes.
    I am looking to develop a client-server that supports multiple protocols such as HTTP, HTTPS etc. I am looking for a framework( i don't know if that is correct or I need some kind of web-service (soap etc)) that would manage connection, security etc. I would like to like to devote most of my time in developing business objects with multiple delivery mechanism such as sending serilized java objects, xml message or soap message, or in some case JMS message as well. So I need a client server that can come in via TCP/IP or HTTP or anyother industry standard protocol and I should be able to service him with pub/sub model and also request/response model as well.
    I don't know if I had explained what I need, I would like to know what technologies I should be evaluating and which direction I should be heading... Also the server I'm developing should be free of Java constraints if needed...
    Also this service is not webbased service as now but if need arises I should have a flexibilty to make them web enabled in future. Also I would like to work with open source webservers or appservers if I need

    Inxsible wrote:I installed i3 - along with the i3status - which I still have to figure out. I am liking what I see as of now. It reminds me of wmii -- when I used it way back when. However I do not like the title bar. I would much rather prefer a 1 px border around the focused window.
    "i3 was created because wmii, our favorite window manager at the time, didn't provide some features we wanted (multi-monitor done right, for example), had some bugs, didn't progress since quite some time and wasn't easy to hack at all (source code comments/documentation completely lacking). Still, we think the wmii developers and contributors did a great job. Thank you for inspiring us to create i3. "
    To change the border of the current client, you can use bn to use the normal border (including window title), bp to use a 1-pixel border (no window title) and bb to make the client borderless. There is also bt  which will toggle the different border styles.
    Examples:
    bindsym Mod1+t bn
    bindsym Mod1+y bp
    bindsym Mod1+u bb
    or put in your config file
    new_window bb
    from: http://i3.zekjur.net/docs/userguide.html (you probably already found that by now )

  • Design Pattern for multithreaded client server program

    I asked this question in another post, but with other stuff, so I'll distill this one.
    I am creating a multi-threaded client server program (just for learning - a chat program at this point). I built the server and client in swing, and I'm wondering what the best design pattern is for this setup. Right now all the swing stuff is in the MyServer class. In that class I have a loop accepting client connections to the serverSocket and creating a new MyServerThread (threaded client connection).
    The problem is that all the work of creating input streams, interacting with the server, all that stuff is done in the MyServerThread class, but I want that text to be written up to the Swing objects - which is in the MyServer class. So right now in the MyServerThread class I pass the MyServer object into it, but I'm not sure if that is really the most robust thing to do. Does anybody have any suggestions as to how this should be done. If somebody has an article they'd like to point to I'll check it out too. But if it's just the run-of-the-mill multithreaded client-server article, I've read alot and most don't specifically address my question.

    Thanks for the reply Kaj, and I think I'll keep my design for now, since it's just quick and dirty. I've read the MVC concept a while ago and I'll revisit it again when I get more serious. But I have a question, why should I be using a callback interface, why an interface at all? And then make MyServer implement that interface...why not just pass MyServer to the thread object? Or is there something down the line that I did not forsee?

  • Sockets question (multiple user, client-server application)

    I'm new to sockets and I think I've been designing my application all wrong.
    I've been using the KKMultiServer example from this website. It creates new threads using the Socket.accept() function. However, all the clients connect to the same port on the server.
    What I'm creating is a multi-user TicTacToe program. So far it's only for two players, but I would like to create a game "lobby" where lots of users can connect and play games with each other.
    Do I need to specifcy local ports for the clients that are connecting? Should I be using different ports on the server for each user so the traffic doesn't get mixed up?

    a socket is made up of 4 elements.
    1) the server or host IP address
    2) the server port
    3) the client IP address
    4) the client port
    for a socket to be unqiue one of these elements must be different.
    to make these unique client sockets use a port assigned by the OS and so you can have more than one client connected to a server and 1 client machine can have more than 1 open socket.
    here is a print out from netstat (an IP utility on windows that shows some of my open sockets...
    Active Connections
    Proto Local Address Foreign Address State
    TCP CHEF2:1033 CHEF2:3306 ESTABLISHED
    TCP CHEF2:3306 CHEF2:1033 ESTABLISHED
    TCP CHEF2:3306 CHEF2:3626 ESTABLISHED
    TCP CHEF2:3306 CHEF2:3743 ESTABLISHED
    TCP CHEF2:3626 CHEF2:3306 ESTABLISHED
    TCP CHEF2:3743 CHEF2:3306 ESTABLISHED
    TCP CHEF2:1278 216.71.131.122:22 ESTABLISHED
    TCP CHEF2:1694 kw40.primenetwork.net:http CLOSE_WAIT
    TCP CHEF2:1863 67.72.120.62:http CLOSE_WAIT
    TCP CHEF2:1869 host16.ipowerweb.com:http TIME_WAIT
    TCP CHEF2:1870 host16.ipowerweb.com:http TIME_WAIT
    TCP CHEF2:1871 host16.ipowerweb.com:http TIME_WAIT
    TCP CHEF2:1872 host16.ipowerweb.com:http TIME_WAIT
    TCP CHEF2:1875 host16.ipowerweb.com:http TIME_WAIT
    TCP CHEF2:1881 host16.ipowerweb.com:http TIME_WAIT
    TCP CHEF2:1884 host16.ipowerweb.com:http TIME_WAIT
    TCP CHEF2:3623 216.71.131.122:ftp CLOSE_WAIT
    TCP CHEF2:3841 CARTMAN:netbios-ssn ESTABLISHED
    at any rate
    notice how on my machine (CHEF2) i have a service running on port 3306. i also have three sockets open from my machine acting as a client to the service. you can see it lists these three open sockets to my machine twice each.
    at any rate it can tell them all apart from the server end because the port used by the client is different.
    to sum up this and the answer given above you don't have to worry about it.

  • Architectural question for CCM failover WAN best practices

    I have a client that has a large CCM cluster in Texas. Approx 2000 phones register here over the wan from branch offices, HQ, etc. In Milwaukee, there is a call center that is going to go in for about 200 agents 24/7 operations. We are looking at the architecture of this design and are wondering if it would be wise to setup another cluster in Milwaukee just for the Call Center, then use Intercluster trunking between the two clusters.
    Or, could we just place a (2)subscribers at the Milwaukee location for a DR between the two sites? (Texas and Milwaukee).
    The WAN backbone is MPLS, so we could configure multiple T's back to the data center, etc. The problem we see is if what the Texax CCM cluster falls down... what happens then? Will the CallCenter be able to function?
    Any good advice, simple is better.
    Thanks much!

    What type of callcenter is it? IPCC Enterprise or Express?

  • RMI or RTSP for Video Client/Server??????

    I am about to write a media streaming server and client in Java using JMF. I would like to use RMI to control the media streams, however, RTSP looks like a good alternative. Can anyone here provide me with any pro's and con's to using either approach.
    Thanks.

    hi, i am currently working on a project that streams video via JMF. the protocol i used is RTSP... it seems quite ok with RTSP to stream local static files through the LAN (Wireless LAN).
    by the way . i am asked to send 2 streams with different resolutions (screen sizes) for laptops and PDAs respectively.... do you have any idea to create the two streams >?

  • Hardware question for OS X Server

    Hello all,
    I am new to MAC's and still learning so I have what may be a dumb question.
    I have at my disposal 3 Dell PowerEdge servers that I can combine to make one really powerful workhorse. My boss is wanting to migrate all of our PC users to MAC's over time. I would like to install OS X 10.4 Server and start using this as our primary domain for those already migrated.
    My question.......is this possible?
    Can I use pc hardware to run OS X 10.4 server?
    (assuming I use a 10.4 tiger MACbook to format and install the initial harddrive that will run the server? I di dread those posts about the 10.4 version dependency.)
    thanks for everyone's help in advance...

    >ok, but can you tell me why and has anyone ever tried?
    For numerous reasons. For one, Apple have numerous checks in the OS for components that are not part of a standard PC motherboard. There was talk of Apple implementing TPM to control the hardware, but I don't know if this really is the case.
    Secondly, Macs use EFI and Open Firmware as the boot loader. PCs (at least Windows) uses BIOS. The BIOS system can't load a Mac OS X system.
    Thirdly, even if you could get past that part you're going to run into driver issues. Since Apple provide the hardware, they can bundle the relevant drivers with the OS.
    That said, there have been some reports of some people having some success in getting Mac OS X to boot on non-Apple hardware, but always with some limitations (e.g. can't get past the Finder), and it's against Apple's license agreement so they're not likely to widely publicize the fact, anyway.

  • WLS 7.0.4 - JMS connection Factory for RMI queues - server affinity issues help pls

    We are using WLS 7.0.4 - One of JMS connection factory setting in admin
    console we selected "Server Affinity" options.
    We see this messages appear in Weblogic log file,
    ####<Apr 24, 2006 1:56:53 AM EDT> <Error> <Cluster>
    <liberatenode4.dc2.adelphia.com> <node4_svr> <ExecuteThrea
    d: '4' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <>
    <000123> <Conflict start: You tried to bi
    nd an object under the name sbetrmi2 in the JNDI tree. The object you have
    bound from liberatenode2.dc2.adelp
    hia.com is non clusterable and you have tried to bind more than once from
    two or more servers. Such objects ca
    n only deployed from one server.>
    and then,
    ####<Apr 24, 2006 1:58:12 AM EDT> <Error> <Cluster>
    <liberatenode5.dc2.adelphia.com> <node5_svr> <ExecuteThrea
    d: '7' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <>
    <000125> <Conflict Resolved: sbetrmi2 for
    the object from liberatenode5.dc2.adelphia.com under the bind name sbetrmi2
    in the JNDI tree.>
    Should we use 'load balancing option' instead of 'server affinity' ?
    Any thuoghts?
    Thanks in adv.
    Vijay

    Test Reply
              <Vijay Kumar> wrote in message news:[email protected]..
              > <b>WLS 7.0.4 - JMS Connection Factory - Server Affinity - issues in log
              > file</b>
              >
              > We are using WLS 7.0.4 - One of JMS connection factory setting in admin
              > console we selected "Server Affinity" options.
              >
              > We see this messages appear in Weblogic log file,
              > ####<Apr 24, 2006 1:56:53 AM EDT> <Error> <Cluster>
              > <liberatenode4.dc2.adelphia.com> <node4_svr> <ExecuteThrea
              > d: '4' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <>
              > <000123> <Conflict start: You tried to bi
              > nd an object under the name sbetrmi2 in the JNDI tree. The object you have
              > bound from liberatenode2.dc2.adelp
              > hia.com is non clusterable and you have tried to bind more than once from
              > two or more servers. Such objects ca
              > n only deployed from one server.>
              >
              > and then,
              > ####<Apr 24, 2006 1:58:12 AM EDT> <Error> <Cluster>
              > <liberatenode5.dc2.adelphia.com> <node5_svr> <ExecuteThrea
              > d: '7' for queue: '__weblogic_admin_rmi_queue'> <kernel identity> <>
              > <000125> <Conflict Resolved: sbetrmi2 for
              > the object from liberatenode5.dc2.adelphia.com under the bind name
              > sbetrmi2 in the JNDI tree.>
              >
              >
              > Should we use 'load balancing option' instead of 'server affinity' ?
              >
              > Any thuoghts?
              >
              > Thanks in adv.
              > Vijay

  • Ipf.conf entries needed for netbackup client, server, ssh

    Hi,
    Could somebody please help me in configuring ipfilter (ipf.conf entries/solaris 10) on two machine,
    1. netbackup client
    2. netbackup master/media server
    I would like to enable icmp echo and ssh on both the machines.
    many thanks
    Ushas Symon

    Hi,
    Could somebody please help me in configuring ipfilter (ipf.conf entries/solaris 10) on two machine,
    1. netbackup client
    2. netbackup master/media server
    I would like to enable icmp echo and ssh on both the machines.
    many thanks
    Ushas Symon

  • Capacity planning question for 11g DB server

    We are building a new 2-node RAC cluster for our new application; what is the general rule of thumb for number of CPUs, memory?
    env: 2-node RAC, RH5, 11gR2

    If this is a packaged application, the application vendor should be able to help you with this sort of sizing since they know what factors are going to be most important to resource utilization.
    If this is a custom application, you'd need to talk to the development and architecture teams that built the application. Without any idea what the application is doing, we don't even know what metrics to ask about in order to guess at the requirements. For some systems, it will be the number of users. For other systems, it will be the types of users or the modules that are configured. Some systems will scale based on the amount of data, others will be independent of data volume but will depend on the number of middle tier servers. And it will always depend heavily on how efficient the code is-- a system that is built to take advantage of Oracle and to maximize efficiency, for example, will require much less hardware to do the same amount of work than a system that is built to be database agnostic that hasn't been optimized for efficiency.
    Justin

  • Frameworks for Fat client development

    Hi Folks,
    Can someone suggest a couple of frameworks that can used for developing think client UI in java. We are working on multiple options we have to choose lime SWINGS, JFaces etc... please suggest if you have any idea.
    Ramesh.

    jwenting wrote:
    georgemc wrote:
    wpafbuser1 wrote:
    georgemc wrote:
    wpafbuser1 wrote:
    Echo2Isn't that a rich web framework, though? Not that it matters now, since the OP has clearly been taken up by aliens, never to be heard from againYeah, but everyone wants everything webified these days so I thought I'd throw that in the mix. It's also a no install (so is Web Starting a Swing app in the opinion of some). But whatever, I shouldn't have ressurected that thread. My bad.If you read the OP, the technologies he suggests are thick client ones, I just ran with that. No harm suggesting rich web too I guess though
    Webstart can be a no-install, but it depends very much on the situation. Our main product is Webstart, but it's certainly not a no-install.rich web is getting ever fatter...
    A lean Swing application talking to a web serice layer may well be thinner than a bulky web app doing tons of Javascript processing...And probably more robust, too. Unit-testing AJAX is a b!tch, and I bet the majority of people "writing" it don't even bother

  • Network Architecture Question for ya...

    At home we have quite the network. 12 active wireless IP's and 4 ethernet.
    So, here's the question, in two parts:
    1) Is it true that, say you have 10 wireless devices connected to a wireless .11n router, 9 of them .11n and 1 of them .11g, and the whole network bogs down to the .11g speed? and;
    2) Why is my danged network so slow reaching he internet??? Using Speakeasy I usually only get 7Mbs to my MBP from the internet.
    Yes, there's a lot going on in my network, but I can isolate everything (by physically turning everything off) and I still only get 7Mbs wirelessly to my MBP. I can connect my MBP directly to my cable modem (without rebooting or resetting the modem) and always get my advertised 25Mbs using the same Speakeasy test. However, I run a Time Capsule, in .11n only (2.4Ghz), off that cable modem. On the other end of the house, I extend my network using an AE whose ethernet port is connected to the WAN input of a D-Link wireless router in the .11g only mode. Both g and n are supposed to operate well above 25Mbs, so what's the deal?
    Any ideas??
    ~brent

    Oh... and I have and Apple TV on the "N" network.

  • Chat Programm for multi client-server on LAN

    import java.net.*;
    import java.io.*;
    public class ChatClientThread extends Thread
    {  private Socket           socket   = null;
    private ChatClient client = null;
    private DataInputStream streamIn = null;
    public ChatClientThread(ChatClient client, Socket socket)
    client = _client;
    socket = _socket;
    open();
    start();
    public void open()
    try
    streamIn = new DataInputStream(socket.getInputStream());
    catch(IOException ioe)
    System.out.println("Error getting input stream: " + ioe);
    client.stop();
    public void close()
    try
    if (streamIn != null) streamIn.close();
    catch(IOException ioe)
    System.out.println("Error closing input stream: " + ioe);
    public void run()
    while (true)
    try
    client.handle(streamIn.readUTF());
    catch(IOException ioe)
    System.out.println("Listening error: " + ioe.getMessage());
    client.stop();
    public static void main(String args[])
    }

    Refer to the response here:
    http://forums.sun.com/thread.jspa?threadID=5428090

Maybe you are looking for