Design Suggestions Required

Hi,
I am trying to design a master-slave system with the following attributes:
1. Linux Master box having all the Java code.
2. At least two Windows XP Professional Slave boxes (no Java code on any of these)
Front end screens on Master would contain a text fields for IP Address and Java program to be executed. On a click of button, the slaves (who's IP Address was entered in the Master screen text field) would get the request to execute the given Java program, a given number of times. Once executed, each slave would turn the results in to the master via a file. After all the slaves have turned in their results, Master would consolidate the results, work another program on the results and re-delegate tasks to the slaves. The steps would stop iterating only when an exit criteria specified by the program has been met.
If we were to restrict all code to only the master box, what could be the lucidly possible ways to achieve this design?
Thanks!

I don't think it is possible to just throw code at a machine and make it run. You will need some kind of application in which to handle it. What you're trying to achieve can be done easily, if you were to write something to communicate with RMI, but as far making it work without something to know it's Java, It doesn't seem possible. Applets run on machines because you have a browser that knows to dispatch all applets requests to the JRE, you need something that will do the same.
hth

Similar Messages

  • Design Suggestions Required for Message Center functionality

    Hi All,
    I am looking for some suggestion, for one of the requirement for my customer.
    Requirement is as below.
    Customer wants to have a Message Center, where in, user will be able to send a message to another another user with some content and with or without attachment. they should be able to send multiple attachment as well.
    The message which users are sharing with each other should be in the conversation mode. Like for One topic or subject if a users ha sent a message to another user, the same content should be in the conversation mode and an email should be sent to other users
    with he content and attachments.
    In addition to above, all the messages exchanged should be stored below in the tabular format.

    Discussion board does serves the purpose. But how we can control the item level permission. For example, if we wantto show items which are relevant to user who is logged in, i mean show items based on the logged in user ?

  • Design Suggestion required in handling a scenario with three systems.

    Hi All,
    Here is my scenario.
    Legacy(Sync)->PIAsync->CRM-Async>PI--Async->BI
    1. Legacy will send synchronous message to PI.
    2. PI will send response back to Legacy with simple message "OK Status".
    3. PI will map the Request message to CRM Idoc and send to CRM in Async mode.
    4. Once Idoc is posted (53), I need to map the same request message(from legacy) to BI Idoc and pass to BI system.
    The condition is I should not pass the BI Idoc untill CRM idoc is posted.
    Can someone suggest me the steps to handle this scenario.
    Thanks
    Deepthi.

    Hi Abhishek,
    >> I am doubtful if you could execute a SYNC behavior from PI itself.
    Since we are handling through Idoc to CRM. I'm not sure whether I can handle it through Sync mode.
    I'm thinking of the below BPM process. Please correct me if i'm wrong.
    1.Receive(Sync message) -
    >2.Send (Response back to sender- closesync/Async bridge ) >3.Send (Idoc to CRM in Asyncmode)>4.Receive(Idoc from CRM, and validate using correlation, in Asyn mode ) --->5. Send(Idoc to BI) 
    1. Once I receive request from Legacy, Will open S/A bridge.
    2. Send response to legacy system. This will be map1.
    3. Send Idoc to CRM. This will be map2.
    4. Receive Idoc from CRM. I need to check the correlation based on Sale number. This will be in Async mode.
    5. Once the correleation is correct, I need to pass the Idoc to BI. This will be map3.
    Map1: Request from Legacy to response message of legacy.
    Map2: Request from Legacy to CRM Idoc1.
    Map3: Request from Legacy to BI Idoc.
    >> ask the CRM system to send back a response to PI once the IDOC is posted (53)....agree on a time-frame within which you should be receiving a reply so that the BPM can be made to wait for that time.
    I'm not sure how to handle this task. DO I need to get separate Idoc with the confirmation status from CRM? Will it be in Async mode?
    How to know the confirmation from the Idoc, Do i need to add a correlation for this?

  • Suggestion required for with or without BPM

    I have a requirement IDOC-XI-SOAP.
    I am using multimapping 1:N  one idoc gets spilt into say three wsdl, A B and C.
    My first requirement is if A fails then B and C should not be sent.
    If I use only EOIO without BPM then I will need to identify B and C for the corresponding A in the queue and remove it.
    That looks tedious as sometimes B and C may not be there for A and is there any way to identify the related messages?
    This can be achieved through BPM I believe.
    My second requirement is IDOC2 should not be processed before IDOC1.
    So If I used BPM will this be guaranteed? is BPM EOIO. (Even after transformation step?) If not then can it be configured?
    Thanks in advance.

    Hi all,
    Just bringing this topic up again as I have stuck at one place. and found not much help on SDN.
    I have designed this requirement using BPM.
    That is IDOC-BPM-SOAP.
    Within BPM I make a synchronous call to Webservice. if there is a fault exception thrown the BPM workflow stops at that point and no further process steps are carried out. This is working fine as per the requirement.
    But this does not get blocked up in the BPM queue. I want to stop the next IDOC from processing before handling the prviously errored IDOC scenario.
    Now I briefly understand that since BPM is doing a sync call these are not placed in the queue. Is there a way I can handle this so that these interfaces are placed in the BPM queue (which starts with XBQO$PE_WS.....).
    I have tried with exception branch, even this stops the BPM workflow but does not block the queue, or the workflow gets processed successfully.
    Is there anyway I can block the queue if the BPM synch call fails?

  • Suggestions required on All-In-One System

    Dear Guru's,
    We're having 2 doubt's regarding All-in-One system,
    1. Shall we have 2 system landscape for All-in-One systems. System1(DEV Server)-having single instance with 2 clients 100 - DEV and 200 - QAS and System2(PRD server) having single instance with one client 100-PRD.
    2. In our Server, we deployed All-in-One component for country specific of Arabic, is it possible to have another country specific of India in the same server on different client. (100 - Arabic and 200 - India).
    Your valuable suggestions required for the above 2 queries.
    Thanks in advance.
    regards,
    Guna

    Hi,
    I guess the better approach is to raise a OSS message.
    Regards,
    Karthik D

  • Cisco Access Registrar 5 : What design or requirements for active/ active deploiement

    Hi Every one
    I want to install Cisco Access Registrar 5  on two different servers in active/ active design
    What design or requirements for active/ active deploiement ?
    Using Sun Solaris ? (i know using sun Sloaris i can have this mode of high availability BUT I PREFER INSTALLING IT ON  RED HAT ENTERPRISE )
    Using RED HAT ENTERPRISE on the two servers  ?   i wan to knew if i must use Vmware with the adequate licences (Vcenter) to provide FT fonctionnality for active / active Design ?
    How i can use the replication   to provide a complet active / active Design ?
    Cordialement
    Zammit Ikbel

    It depends what functionalities you want to use on CAR.
    For example:
    If only plain authentication is needed, you can install two servers independently and just configure replication between them (they just need IP visibility to replicate configuration). NAS clients can contact servers in  round-robin or you can share load on two servers in some other way.
    If you want CAR to perform session management and dynamic IP address allocation, than you need some cluster solution, as two servers must have synchronized state of sessions and consistent administration of addresses allocated from a pool.
    Best regards,
    Jasmina

  • I want to purchase a new cinema display suggestion required

    Respected Readers
    i want to purchase a new cinema display suggestion required please guide me which on is good LCD , LED ,TFT, or any other i want to use it for color calibration help me i need it badly i have already 30 inch hd cinema display is it fine other or some other

    You only have two choices. The 24" Cinema Display and the 30" Cinema Display. Whichever one best fits your budget and needs, get that.

  • Design Suggestion(s)

    Hi all,
    I was wondering if anyone has any design suggestions for the following.
    I am making a simulation that permors 10000 turns (so it make 10000 calls to a function).
    I have made a gui that contains a start and pause button in hopes that I can click on start to excute the 10000 calls, and click on pause to pause the program and keep the same iteration that it's on (ie if i start the program, run 100 turns, and then pause it, when I unpause it, I want it to continue where it left off).
    My question is:
    in order to do this should I make a thread once i click on the start button??
    or should i avoid threads all together?
    Any other ideas/suggestion would be much appreciated.
    Thanks.
    P.S. I don't need people to submit code (although i wouldn't object to it). You can just merely suggest ideas.

    from what I understand about threads is this:
    once you make a thread, it's like you are running a spereate program from the original one, that peroms a task, but then when it dies, all of its values are erased (ie the thread does not update the original programs values). Afterwards the original program has no means of getting these values unless the thread wrote them to a text file, etc..
    am i incorrect? is there an easy way of doing it?

  • I want to develop forex web site need design suggestion

    i am a professional content writer currently writing for webdesignerhu - web design blog. i want to create a forex web site i am looking for design suggestions for that .
    i have search alot on google , saw alot of templates but cannot figure it out.
    i need some inspirations about forex websites, forex templates.
    I am looking  for +tive responce....

    Hi Cathie,
    What Brad explained above is that when you want to use the hosting and mail services provided by an external party e.g. Godaddy (not Business Catalysts) you need to create an A Record, using your hosting provider tools, that points to the data center where your site is located. Please find below the IPs for each data center:
    54.252.148.183 or 54.252.148.191 for sites on the Australia data center
    54.236.190.114 or 54.236.189.64 for sites on the United States data center
    54.246.209.120 or 54.246.209.119 for sites on the European Union data center
    So firstly you need to log in to the admin of your site and add the domain to use external hosting services - http://screencast.com/t/iV00iojmFfP
    Then you need to create an A Record at your hosting provider that points to the IP shown in our DNS tool (as shown in the screenshot from above).
    Please note that you need to create A Records for both @ and WWW records. For further assistance on this matter I suggest contacting your hosting provider as each one has their own workflow in terms of creating this records.
    I hope this helps!
    Andrei

  • AC Plug (a.k.a. Duck Head) Design Suggestion

    This is a design suggestion for apple's laptop power adapter. The current (2005) adapter design has a removable ac plug, a "duck head". The plug is removed when one wants to use a different country's plug type, or when the power cord extension is used. I often use the power cord extension, so I often remove the duck head. Recently, I lost the plug and cursed the duck head who designed it.
    My suggestion is to put a female powercord plug next to the duck head on the side of the adapter. This way, I'd be able to simply unplug the cord when I travel and never touch the duck head.

    The other end (the side which plugs into the computer) needs improvement in my opinion. It could have been more user friendly if it had a 90 degree "L" shape so it wouldn't stick out straight. When used in lap (like it is intended for) if you spread your legs a bit, the weight of the computer is supported by the power plug. It may fail earlier than it's intended assuming the female part of the plug is directly mounted on the circuit board. My two cents...

  • My initial design of the JCP implementation,YOUR suggestions required

    I have no experiences before on Javacard/Smartcard/COS...
    Here is a simple/naive design after reading JCP specs and smartcard handbook, etc.
    Please give me some guides/suggestions/references
    Thanks.
    The ideas below lacks of supporting materials.
    The relation between COS and JCRE:
    1. JCRE has lots function of the COS like Security Manger, Transmission Manager, Command APDU handle,
    Application Manager(implemented as Applet), File Manager(implemented as Applet)
    2. The main() of a COS is a loop receiving/sending APDU.
    3. The IO loop could be implemented as Java code.
    GUESS:so the JCP(VM, API, JCRE, Applets) plus native functions(IO, crypto) is the COS.
    The function/class below form the COS of a smartcard
    //1.cos
    int main()
         JCVM_run(JCRE);
    //2. cos components == javacrd native functions
    usb_opertions();
    hash256();
    //3. JCRE
    class JCRE
         APDUDispatcher apduDispatcher;
         IOManager ioManager;
         SecManager secManager;
         Applet[] currSelectedApplets;
         start()
              presetApplets.install();
              ioManager.registerListener(apduDispatcher);
              ioManager.loop();
         switchApplet(newApplet)
              if(!firewallCheck())
                   return;
              oldApplet.deselect();
              newApplet.select();
    //3.1. APDUDispatcher, like the "card manager" in OpenCard
    class APDUDispatcher
         //1 raw byte stream -> APDU
         //2 default process
         //3 delegate to applets
         process()
              switch()
              case SELECT_FILE:
                   JCRE.switchApplet(findApplet());
                   break;
              default:
                   logicalChannelNo;
                   JCRE.currSelectedApplets.process(apdu);
    //3.2. IOManager
    //java wrapper for lowlevel io operations
    class IOManager
         loop()
              while(1)
                   if(read())
                        apduDispatcher.process();
    //3.3. SecManager
    class SecManager
         firewallCheck()
         capAuth()
    Please give me some guides/suggestions/references
    Thanks.

    The idea is right.
    I've found an similar implementation here.
    why2.38 lib/why/javacard_api/javacard/framework/Dispatcher.java
    (note: this is javacard.framework.Dispatcher not javacard.framework.service.Dispatcher, the first one is part of JCRE, instead of part of API)
    http://docs.camlcity.org/docs/godipkg/3.11/apps-why/lib/why/javacard_api/javacard/framework/Dispatcher.java
    Wish helpful.

  • GUI design ideas/suggestion required??

    Dear forum,
    I am planning to design a GUI based solution with the following criteria
    a) It will be run on a windows based system
    b) Tables and other data will be there on many linux nodes. It can be in the form of sql tables, files etc
    c) I need graphical display of these nodes on the GUI application
    d) Additionally a map (geographical) display of modes with topology discovery is required.
    I am at the start of doing this project, wanted to know which java technology to use like Swing or AWT or EJB or J2EE.
    I dont have any specific criteria as such it should be a web based solution or not. Even a stand alone solution such as clicking an ".exe" for launching this GUI on windows should be fine.
    Let me also give you the probable requirements (= API's) sql, file ftp'ing etc
    Waiting for your early reply.
    -Muni

    Oh I am sorry if my question was very bossy ;-(
    The problem is I have gone through all tutorials of Java starting from Swing, AWT, EJB, Applet and so on. And I am confused which one to use as such.
    Also this type of application or program I have used extensively from other vendors which looks quite good!

  • Cisco ISE Deployment suggestion required

    Require Assistance on Cisco ISE Deployment for below scenario
    -- We have Three Cisco ISE Appliances and Client has taken Advance Subscription License for 500 users
    -- Client has DC & DR and needs to deploy the Cisco ISE in one Main Office which connects to DC & DR on MPLS Links
    -- Client suggestion was to deploy one ISE node ( Admin + M&T + Policy Server ) in DC and its Standby Secondary in DR
         and only deploy Policy Server in Main Office.
         Idea behind the design is that ,
         1) If DC fails , Cisco ISE related logs will get generated on DR and any Cisco ISE related request will be taken care by Local Policy Server in Main Office .
          2) If Local Policy Server Fails , then ISE node in DC will act as Secondary backup and DR will act Teritary Backup
          below is view
                                         DC
                            Primary Node with Role
                       [Admin , M&T , Policy Server]
                                                                                                                 Main Remote Offic
                                                                                                                  Cisco ISE Node ( Only Policy Server) -----------> Network Devices
                                   DR
                           Secondary   Node with Role
                       [Admin , M&T , Policy Server]
    Please let me know is it possible

    Yes, The scenario is quite achievable also please  review the below link for assistance on deployment of ISE.
    http://www.cisco.com/en/US/solutions/collateral/ns340/ns414/ns742/ns744/docs/howto_50_ise_deployment_tg.pdf
    http://www.cisco.com/en/US/docs/security/ise/1.0/install_guide/ise10_deploy.pdf

  • Design suggestion for application-wide configuration properties

    Hello all
    I am seeking opinions on how to design an application in which multiple classes have access to a common set of configuration properties that may change at runtime.
    Until now, I would create an abstract class dedicated to initializing the properties set and enabling access to them from anywhere in the application through appropriate get/set static methods (most probably using an internal java.util.Properties object). Lately, my confidence in that approach seems to diminish.
    So, I thought I should ask... do you see any issues with the above approach? Would you suggest any alternatives?
    What I am essentially looking for here is a best practice to stick with from now on.
    Thanks in advance
    G

    909773 wrote:
    For example a 24x7 service that is supposed to handle requests on port X is very unlikely to need to change to port Y while running.
    Or what happens if you have a plugin architecture and someone changes the root plugin directory to another directory.On the other hand, the maximum draw distance in a virtual world, an application's "skin", or a filesharing client's bandwidth limit are, in my view, properties that may very well need to change at runtime.
    Seems reasonable to me. That is the easy part. The hard part is
    1. How/when do you reload
    2. How do you code your app so it gets the new values and uses themAs for 1, apologies if I haven't explained correctly: I am talking about properties that may change programmatically at runtime, e.g., by a user through a configuration dialog. Ok.
    I can think of at least one way to deal with 2 (classes interested in all or a few of the properties implement some property listener interface and accordingly re-get values when notified about changes).That is how you detect it. It has nothing to do with whether the current running process is in a state that allows changes to be made.
    all over the code reflects a wise design decision vs using a singleton property manager, references to a single property manager object (maybe even a java.util.Properties object) passed around through constructors, approaches involving dependency injection (not relying on any framework though), or else.Depends on the application. For example with a distributed system propogating the changes correctly so systems are not out of sync can be problematic.
    Depends on the context in which your user makes changes. If it is an admin then it has the same context has if you were using a file. In that case I would use a singleton.
    If it is a user changing part of the system, then you can't use a singleton. In that case you would need a context object from which other code derives the configuration values it uses. That is a one layer hierarchy and of course more levels require more complexity via a context object for each level.

  • Design Suggestions for Multiple DaqMX Task Streaming App?

    I'm working on a LabVIEW application in which I'm streaming high-speed data to disk from multiple PXI devices simultaneously.  Each device has its own DaqMX task, and all tasks stream to the same file.  The PXI device configuration (which devices are in the chassis, which slots they're in, and which channels to read from each device) is determined at runtime.
    Does anyone have a suggestion for a design model for this?  To make matters worse, I'd like to be able to specify a channel to monitor its data during the streaming.  I'm thinking the Producer-Consumer model is the basic approach, and I'm at the point where I have an array of DaqMX tasks, one for each device.  I could probably extend that array to be an array of clusters containing:
       1) DAQ Command (e.g. Initialize, Start, Stop, Acquire, etc)
       1) Task ID
       2) Control reference to 2-D array (where each DaqMX read can be stored)
       3) Array of channel names (to allow selection of channel to be monitored
    This could be passed as notifier data, to a data collection subVI, but the part I'm struggling with is finding the best way to run X number of tasks in parallel, where X is not known until runtime.
    Any suggestions would be appreciated.

    Thanks for the input.  With regards to the file format, the decision has been made by my superiors not to use TDMS - unfortunate, but NI hasn't provided the information to write a MatLab file reader, which is a requirement.  So, I've created a custom file format tailored to the needs of my application, but generic enough to be used for other apps. With it, I've been able to stream 8 channels at 800KHz (4 channels each from 2 PXI-6120s) without breaking a sweat.  However, the performance varies greatly depending on which slots the cards are in (but that's a whole different discussion - see the PXI forum for that one).  Once NI solves that one, I'll feel a lot more comfortable.
    I have already made reentrant subVIs that can perform a specific DAQ task.  The problem with a for loop is that the VI sits and wait for a start trigger, then acquires the streaming data.  I can't start the next VI because I'm in the first one.  I thought about creating a data collection VI, and this VI would start up to 6 other VIs in parallel, based on how many and which cards were present.  It's a bit messy, because each slot can contain one of two devices, so I'd need to check which type it was before calling it.  I'm thinking I'll have to create the task list and the references to the data in the main GUI loop, and then pass this using a notifier or queue to the data collection loop. 

Maybe you are looking for

  • Migrate or Restore?

    Hi, I currently have a MacBook air running 10.6.2. I just got a new 13" MacBook Pro (unibody) and I'm switching machines. (needed more hard drive space/speed). I have a complete back up on my Time capsule. Am I better off using the restore function f

  • Convert abap reports into crystal reports

    Hi, We are trying to convert abap reports into crystal reports.We could convert these reports into XML files Now we want to create utility which will automate the conversion of XML files into RPT files of crystal reports.Later on we can refresh the d

  • Dropped iPod now screen is blank, restored still not working

    I dropped my ipod classic, screen blank, still plays music, tried restoring it, still nothing, any advice?

  • Volume is too soft.

    The volume on my iPod is too soft.  I've tried different headphones, but I have to have it at maximum level to hear the music.  I have tried resetting all the settings, but it did not work. 

  • How to bypass passcode on iOS 7.1.1?

    I've just cut off my thumb finger with a knife (by accident) What should I do to bypass Touch ID? I couldn't remember my passcode as well, because "Simple Passcode" was turned off.