Can this scenario fit in JMS

Hi,
I want to develop application where different user can give print command to the shared printer. All request will be stored in the queue of printer in application server and administrator can see the list of request pending for printing with other details like who initiated the request, time of the request made etc.
Can it be possible with JMS ? Anybody developed such application ?
Thanks in advance,
Dimpal

Any thoughts please?

Similar Messages

  • Can this HSRP work?

    Hi,
    Can this scenario work?
    Assuming I have a flat network, a computer with 2 NICs and are connected to 2 different routers. I configure the routers to run HSRP between them. But the routers do not have any layer 2 or layer 3 interconnects between each other.
    Can HSRP work this way?

    Leo is correct in that HSRP won't actually be working do to the fact that it can't exchange hellos. Both routers will think that they are the primary.
    If your looking at trying to get a redundant setup here is how you would have to set your equipment up. Router A would be connected to switch A which would be connected to switch B which would be connected to RTR B. Your computer with the two nics would then have one connected to switch A and one connected to Switch B
    Patrick

  • Can i use JMS in this scenario

    Hi all,
              I have a doubt .I just want to know wether i can use JMS in this situation.
              By the end of processing in our module, we will have a ServiceRequest.Now we
              have to pass that ServiceRequest related information to other module which
              is residing on another machine.
              So i was thinking of this
              1)our module end point is a servlet.
              2)there i construct the xml string with all the info related to
              ServiceRequest.
              3)after that i create a text message and post it to JMS queue on another
              server(module)
              4)Then there is an MDB which recieves the request using onMessage method
              and then that ServiceRequest related changes r made in the db.
              Is JMS an ideal solution in this scenario.
              I was also just thinking,JMS is for asynchronous communication.
              Now don't u think that i can achieve this kind of asynchronous communication
              by sending(posting using HttpURlConnection) the xml messaage from servlet1
              in server 1 to servlet 2 in other module(server2) and have the jdbc code to
              save the data related to ServiceRequest in the servlet in the other
              module.That way also i acheive kind of asynchronous communication(i.e am not
              getting any response back).Why shud i use JMS then.
              So i just want to know is this the right scenario for going for JMS or we r
              just complicating things.
              Thnx in Advance
              Veena.
              

    JMS is ideal for asynchronous behaviour, why try to build your own
              asynchornous behaviour. If you want to have two processes just for async
              behavior, u have to take into account many other issues, like one process
              going down. How would you scale your application.
              Why can't ur first servlet write directly to the database?
              -Vikas
              "Veena" <[email protected]> wrote in message
              news:[email protected]...
              > Hi all,
              >
              > I have a doubt .I just want to know wether i can use JMS in this
              situation.
              >
              > By the end of processing in our module, we will have a ServiceRequest.Now
              we
              > have to pass that ServiceRequest related information to other module which
              > is residing on another machine.
              >
              > So i was thinking of this
              >
              > 1)our module end point is a servlet.
              > 2)there i construct the xml string with all the info related to
              > ServiceRequest.
              > 3)after that i create a text message and post it to JMS queue on another
              > server(module)
              > 4)Then there is an MDB which recieves the request using onMessage method
              > and then that ServiceRequest related changes r made in the db.
              >
              > Is JMS an ideal solution in this scenario.
              >
              > I was also just thinking,JMS is for asynchronous communication.
              > Now don't u think that i can achieve this kind of asynchronous
              communication
              > by sending(posting using HttpURlConnection) the xml messaage from servlet1
              > in server 1 to servlet 2 in other module(server2) and have the jdbc code
              to
              > save the data related to ServiceRequest in the servlet in the other
              > module.That way also i acheive kind of asynchronous communication(i.e am
              not
              > getting any response back).Why shud i use JMS then.
              >
              > So i just want to know is this the right scenario for going for JMS or we
              r
              > just complicating things.
              >
              > Thnx in Advance
              > Veena.
              >
              >
              >
              

  • How to implement this Scenario(JMS to IDOC)

    Hi Frnds,
    I am working on one scenario JMS to IDOC .based on JMS Message my XSLT Mapping will genarate Multiple Idocs(max 3) or 2 or one.
       I have to send this IDOCS based on some conditions,the conditions mentioned below.
    xslt mapping genarats one message ,but this contains 3 IDOCS or 2 or 1.(Order Create , Order Change and Order Response),
    what is the best approach to implement this scenario
    1)f Order Create  segment exists (new PO), first check SAP to see if PO does actually exist using RFC Z_BBPR46_GET_PO_FROM_FPA ,If it does not exist, pass Order Create idoc to SAP to create new purchase order
    If it does exist, retrieve PO details from RFC and pass Order Change idoc to SAP to update existing purchase order
    2)If Order Change segment exists (change PO), retrieve PO details using RFC Z_BBPR46_GET_PO_FROM_FPA and pass Order Change idoc to SAP to update existing purchase order
    3)If Order Response segment exists (goods movement), retrieve PO details using RFC Z_BBPR46_GET_PO_FROM_FPA and pass Order Response idoc to SAP to create goods movement.
    Above logic i implemented in one mesage mapping Source is XSLT Mapping Output and Receiver message in message mapping is Multimapping selected 3 IDOCS.
    Regards,
    raj

    thanks

  • Hello can anyone explain me how to solve this scenario.

    Hello Experts,
    Today i have attended an interview .. the interviewer has given me this scenario and gave me a system and asked me to solve this scenario practically..
    So this is the scenario.. How to solve can any one send me some idea and if possible probable solution..
    <b>scenario.</b>
    IBM sells Notebooks and Machines through dealers.they provide direct selling to corporates.
    .they give 10% discount to orders of 10 pcs and more.
    <b>scope</b>
    <b>.masters</b>
    maintaining dealers
    maintaining product list and price
    maintainig corporate details.
    <b>transactions</b>
    no of orders placed and delivery date.
    <b>reports</b>
    . dealer wise order report
    . company stock report
    .sales report monthly and yeraly wise.
    So what i am asking you is kindly guide me how to approach to solve this scenario.

    this is the exception,I don't know why this exception exist sometimes and isn't exist sometimes
    java.io.UTFDataFormatException
         at java.io.ObjectInputStream$BlockDataInputStream.readUTFSpan(ObjectInputStream.java:2963)
         at java.io.ObjectInputStream$BlockDataInputStream.readUTFBody(ObjectInputStream.java:2888)
         at java.io.ObjectInputStream$BlockDataInputStream.readUTF(ObjectInputStream.java:2701)
         at java.io.ObjectInputStream.readString(ObjectInputStream.java:1536)
         at java.io.ObjectInputStream.readTypeString(ObjectInputStream.java:1344)
         at java.io.ObjectStreamClass.readNonProxy(ObjectStreamClass.java:540)
         at java.io.ObjectInputStream.readClassDescriptor(ObjectInputStream.java:762)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1503)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
         at REDCSecurity.RSAKeyPair.readFromFile(RSAKeyPair.java:122)
         at REDCTools.USBHandler.getPrivKey(USBHandler.java:99)
         at REDCClient.Disconnected.compare(Disconnected.java:289)
         at REDCClient.Disconnected.authenticate(Disconnected.java:185)
         at REDCClient.Disconnected.connect(Disconnected.java:75)
         at REDCClient.ConnectionAgent.connect(ConnectionAgent.java:28)
         at REDCClient.testConnect.main(testConnect.java:13)

  • My video needs to go on a SD DVD single layer-it is 1h 51m long-the only way I can make is fit is encode H. 264-not ideal-I am using the Share option in FCP-native media was shot 980x720...any other way to do this??

    My video needs to go on a SD single layer DVD…it is 1h 51m long…the only way I can make it fit is encode H. 264…not ideal…I am using the Share option in FCP…native media was shot 980x720...any other way to do this??

    To play on DVD Players, it has to be MPEG2.
    It's under 2 hours; I'm surprised it won't fit. If not, get Compressor and lower the bit rate to fit.
    The native resolution was 980X720…you mean 960?
    It will all be resized to 720X480, which is DVD standard.
    Russ

  • Since downloading ios5 on my iphone 4 the capacity guage in itunes shows other as over 21Gb and i can no longer fit any music on it. How do I get rid of the other stuff? other

    Since downloading ios5 on my iphone 4 a few days ago, the capacity guage in itunes shows "other" as over 21Gb and i can no longer fit any music on my iphone.
    How do I get rid of the other stuff?
    capacity available on 32 Gb iphone is 28.49Gb
    i previously had 21.97 Gb music, over 6 Gb photos, about 1Gb of apps, and minute amount of audio
    now i have no music, 5.4 Gb photos and similar (0.8Gb) for  apps and audio. i have deleted heaps of photos and unused apps to try to make space but obviosly this is a much bigger problem. I also created a smaller music folder on itunes to sync to but at present no music is selected for syncing due to the lack of available space.
    i have 15Gb icloud account now also which is about half full.
    Ive done a little research and heard similar tales but with much smaller other totals than this. Can you help?
    i cant update my apps as i get a message saying i do not have enough available space.

    I had the same problem today and was able to resolve it without having to do a restore or reset. The problem had something to do with my mail accounts. The upgrade reset my mail settings, switching both my gmail and my .mac mail to "archive all mail". I went into the General Settings, disabled that setting, and resynced the phone. The "other" storage allottment dropped back down to less than a gig.
    Before you restore or reset, I would try that first.

  • PIR's and batch management issue, can this be solved in APO ?

    Hi All,
    I've an issue. I honestly dont know where I can get a solution for that and thats why i will post it in mm and also pp forum.
    Here is my issue.
    All materials are batch managed. Each and every customer can get only certain batches and not all batches meet the requirement of a customer. Lets say I have 3 plants (plant 1, plant 2 and plant 3) and I have 3 customers ( cust1, cust2 and cust3). Lets say I get a demand for material and I create PIR's in plant 1. when I run MRP, it will generate planned orders. I convert that into purchase req and then into STO for plant 2. when plant 2 doesn't have the raw material to process into semi finished, I will create and sto from plant 2 to plant 3 to get the raw material. The reason we create sto to plant 2 initially is because it has to process something before it sends it to plant 1. so the link is from customer 1 --> plant 1 (finished goods) -- > plant 2 (semi finished) --> plant 3 (raw material).
    Right from raw material it is specific to a customer. i.e. not all raw material batches from plant 3 will be accepted by customer 1.
    so when the demand flows from customer 1 to plant 2, is there anywhere that I can keep track of for which customer that order is going and select raw materials based on the end customer ?
    Can this be solved in APO ?

    Hi sapcrs,
    Your requirement is meet the solution of configuration of the following scenario.
    customer 1 --> plant 1 (finished goods) -- > plant 2 (semi finished) --> plant 3 (raw material).
    The conditions are
    a) Raw material is batch managed
    b) Keep track of order flow
    Solution:- 
    1) Maintain raw material as batch managed in R/3.  Suitably class and characterisitics to be developed to send the information to APO as that the RM is batch managed. 
    2) The Bom of semi-fnished item at plant-2 to be maintained with raw material.  The source of supply has to be linked with plant-3.  The RM will be externally procured from plant-3 for plant-2 which is batch specific.  The Bom item will be send to APO as PPM which contain all bom and routing details.
    3) Now once RM is ready at Plant-3, it will be sourced to plant-2 and at plant-2, semi-fnished item will be made with the production orders triggered from bom & routing data at plant-2
    4) Now semi-finished item is ready at plant-2.  Once it is ready, it has to be sent to plant-1 for mfg FG.  This can be achieved by creating lane between plant-1 and plant-2. 
    5) Through lane, semifinished item reaches plant-1 which is made at plant-2 which contains RM made at plant-3 which is batch specific.
    6) Using semifinished item, Finished product can be made at plant-1
    7) Now your final requirement is to track all order flow changes.  This can be achieved by mechanism in APO called pegging.  Using pegging, the order flow can be tracked right from FG to RM.
    Regards
    R. Senthil Mareeswaran.

  • Help required specifying Transation attributes for this scenario

    Hi ,
    I am trying to create/update rows in a database using BMP and CMP beans.
    A business method ( Method1 )in session bean calls a non-business method ( Method2) in the same session bean which inturn calls an EntityBean ( EB1-BMP) . EB1 can throw a certain business exception upon which , the Method1 in the session bean calls another EntityBean in a loop( EB2-CMP).
    The problem is that , when the EB1 throws the business exception, i am getting an exception ( part of the stack trace attached below ).
    Could any please explain what should be the transaction attributes to be specified for this scenario.
    Using RequiresNew for the EntityBeans would not work ( or would it ?? ) because the entity bean is being called in a loop and the commit or rollback should happen for all the methods.
    I feel the problem should be solved by specifying the transaction attribute for Method2 ( non business method in session bean ) as Required, but i guess this is not possible.
    How exactly will the transaction behave in this scenario, is the exception caused because EB1 has thrown an exception and i am trying to continue the transaction.
    Could someone please suggest a solution or workaround for this problem.
    Regards,
    Harsha
    ---- Begin backtrace for nested exception
    java.lang.IllegalStateException
    at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1694)
    javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. com.ibm.ws.rsadapter.cci.WSInteractionImpl@28d16547
    .

    tryout business method ( Method1 )in session bean with transaction as RequiresNew.
    catch exception in Method2 originated from EB1-BMP
    make the method in EB2-CMP as Required/Mandatory
    I have made a guess here so just tryout and let me know if works.
    Its recommend that not to use both BMP's and CMPs in your application. Have any one either.

  • How to use Oracle Spatial in this scenario

    My scenario is like that:
    I'm very new to Oracle Spatial
    I'm building an application that will be based on asp.net.(I am
    confident about .net)
    As per my client requirement there are some kml file in one archive
    folder.
    Let me give an example:
    say there is a kml file for region A.(latitude say 36 n to 40 n and
    longitude is 110 w to 115 w) already in the archive folder.
    Now if a new kml file(say A1.kml) that has been created by the user
    and say its latitude and longitude are respectively 37n and 112w. As we clicked A.kml, google earth is opened up for the region A and as
    we move our mouse cursor to more deeper more polygons are visible.
    eventually polygon for A1.kml is also visible and definitely which is
    inside the polygon for region A.
    How can I achieve this thing by using oracle spatial 10g? ---(it's one of my senior's advice to use "oracle spatial 10g" in this scenario)
    I'm not too sure whether I can able to make it clear to u about my
    situation; plz xcuse me if I'm wasting ur valuable time.

    Hi,
    This link helped me a lot!
    http://www.oracle.com/technology/pub/articles/rubio-mashup.html
    Hope it could help you too.
    Best regards,
    Luiz

  • Part 2: Flat files and Business Contents: Any issues with this scenario?

    I will appreciate some clarification on the some points made in response to my previous post "Flat files and Business Contents: Any issues with this scenario?"
    1.
    " ...you’d better analyze those cubes for data redundancy and presence of data you’ll never use. " I will appreciate some clarification on the type of analysis you are referring to. Examples will help.
    2.
    "If you want to combine several found IOs in your custom dataprovider, then again you must know (or figure out) relationships between these IOs." I will appreciate some clarification on the type of relationship you are referring to. Examples will help.
    3.
    I am a bit confused with "..include into ODS structure ALL fields required for the cube" but you also noted noted that "...except navigational attributes and chars and KFs that are going to be determined in TRs or URs."
    If you exclude ALL these, haven't you excluded all the fields you included in the ODS structure?
    4.
    "Consider carefully the ODS’ key fields selection. Their combination should not allow data aggregation that you don’t need."
    I may be missing the point here, I understand that you need to select the fields which will form the unique ID for the records in the ODS under the Key Field (please correct me if I am wrong with the purpose of the Key Field), but I don't understand the discussion of "aggregation" in the context.
    Thanks in advance

    Hallo
    I try to give some exaplanation based on the previous answer.
    1. Data redundancy - make sure you do not store the same information. does not make sense to have data redundanty across you Data Warehouse. this is also a cost. just sotre the same information one time if you get all what you need.
    2. whatwhever you build you dp, which consist of IO, you need to know with kind of relation (1:1 or 1:n - n:n and so on) exist between them. that will help you when you model you infoprovider. For example I would never pit togheter IO (n:m) in the same dimension if you expect an high number of cardinality. Sometime an IO can be an attribute of another one (depend on relation. For example
    Business Partner and his Address. Usually you have a relation 1:1, in this case address is an attribute of BParten and store it in the Masterdata instead then DP
    3. Sometime when you load from ODS to CUBE, you can fill some IO (which are in the infocube and not in the ODS)through ABAP routine in TR-Start Routine of Update Rule. Does not make sense to include these IO in the ODS as they are NULL or Blank (the deault value). This can happen when for example, you first load in the ODS (Price and Quantity) and then you calculate Sell price later (Price * Quantity). of course it could be doen also in the Bex. Depends on other factors (Performance - Loaidng -Sizing)
    4. Make sure that the KEY definition of ODS is accordingly to the data otherwise you will aggregate the data and later maybe if you need the detail you miss it.
    for example: customer - product - Distr Chan - Sell Price
    if each Customer can buy each product for any Distrution Channel, then when you build your ODS(Customer - Product and Distribution must be KEY) otherwise (if you have only Customer - Product KEY for example) you will lose the details for Distribution Channel.
    I hope eveyrhting is clear
    Regards
    Mike

  • Why can't i fit my full photo as a wallpaper?

    Why can't i fit my full photo as a wallpaper? I want to use a photo i had before the ios7 upgrade, but when i try to fit the whole photo as a wallpaper, it always zooms in. I dont want my photo to be zoomed in when i want to change the wallpaper, i want the whole full photo to show up as my wallpaper. Can this be fixed? I never had this problem until i downloaded the new software ios7

    I kinda found a way to fit your full photo as a wallpaper.  Its a bit of a hassle, but this method can be temporarly used until apple fixes the wallpaper issue. For now what i do is i downloaded an APP called PIC COLLAGE, its free. And i put one photo(or as many as you want) in the center of the collage in the app. I minimized the photo(only) so the whole photo can come out as a wallpaper. Once you put the minimized photo in the middle of the collage, you can save it and use it as a wallpaper. When your about to change the wallpaper, Zoom in into your photo collage you saved so you can fit it on your screen completely. You can even change the background of the collage which can make your wallpaper look even better when its your using it as a landscape mode. Thats the best tactic i can come up with, but it looks great even with the moving motion. You guys try it out. This could be a stress reliever lol

  • How to setup RDP or VDI services in this scenario

    Hi there! I've this scenario:
    a. 20 thin clients (with OS Windows 7 Embedded Edition)
    b. Two physical servers Core1 and Core2, with 64GB of RAM, 2 socket CPU, 8 cores, OS Windows Server 2012 R2, and HyperV roles
    c. two domain controllers as child virtual machines with 2 GB running (PDC on Srv1 and BDC on Srv2)
    d. ExchangeServer 2013 running as child vm on Core1, with 32 GB RAM.
    I've licenses for Windows Server 2008 R2, and Windows Server 2012, and MS office 2013
    I want clients, after to connect with RDP, to use outlook 2013 for emails.
    Now, i want to setup services for 20 thin clients. This is new for me...and i want your suggestions how to setup up them on this scenario. Have i to use RDP services, or VDI???
    Regards!
    Lasandro Lopez

    Hi,
    According to your comment, I can say that Share permissions are automatically set up by the management tools once it will be created. We can use windows PowerShell or server manager to manage UPD. Also remember that User profile disks are for a single collection
    only. A user connecting to two different collections will have two separate profiles.
    Here providing important link to understand UPD. (You can refer below link for Server 2012 R2)
    1.  Easier User Data Management with User Profile Disks in Windows Server 2012
    2.  Working with User Profile Disks on Session-Based Desktop Deployments
    Hope it helps!
    Thanks.

  • How do we map this scenario

    i have a scenario,
    A material is booked by the customer, customer pays some down payment and then customer takes finance from bank. bank approves for finance and release letter to us saying they are responsible for the balance amount. on that basis material is released to the customer.
    and then once invoice is generated bank pays to the company
    how do we map this scenario
    thanks

    Dear varada rajan  
    You can map this scenario in easiest way:
    1) Create different payment terms as per requirement.
       i.e. 25% Advance balance after delivery, 10% Advance balance after invoice. etc.
    2) Create Order with required payment terms.
    3) Capture advance payment against this order no. in F.28.
    4) Create Performa invoice to issue your customer to Banker.(Proof to Banker).
    5) Do PGI
    6) Create Invoice.
    When your posting balance amount in FI it will give warning message that we have received advance of so and so.
    I think this is sufficient to map your scenario instead of going for downpayment and all.
    Reward if use full.
    Regards,
    Srikanthraj

  • HI Experts Explain  this Scenario

    THIS SCENARIO IS POSSIBLE WITH BPM. ANY BODY HELP ME TO SOLVE THIS PROBLEM
             EP SYSTEM  -
    REQ-->      XI System               -REQ-> FILE RECEIVER      
                                   <--RES     XI System             <--RES---   FILE SENDER <-- HTTP PAGE
    Business flow: our client  has two web sites, it contains .txt and .xls files. When the EP(Enterprise Portal) people will trigger  the req for the text and exel files. we need to pick the files, convert them into XML format and send to the EP system.as a response.
    I am Trying the Scenario like the above stated figure.........will it works?
    From EP system i am sending the OB_SY_MI. xi system will receive the dummy REQ from soap and send to file reciver. actually file receiver is no need.  file sender is main here. FILE SENDER will pick the files from the http page, these files are in http links. here iam using the wget os command to pick the files from the links( run os command before msg processing) and place it in specified directory. from the source, file adapter will pick and convert the text to xml using content conversion. but the problem is EP is OUTBOUND and FILE SENDER is also OUTBOUND. who will receive the FILE SENDER MSG into the BPM. how can i create the BPM. is this scenario is possible or not.  If it is posiible, Explain the BMP steps FLow for the scenario

    a) For txt file. to xml
    File Sender (FCC)  ---> PI  --> (HTTP or webservice) to post the data to EP
    Basically EP using application logic to create file in the file system. You configure PI to pick up the file using file sender / fcc message protocol  and it will convert .txt file to xml. In the receiver side use HTTP adapter to post the message to EP. If the EP supports web services then you can use SOAP to consume the EP's web service.
    b) For converting Excel file to XML same procedure as above. Only thing you need some external tool to convert the excel to xml
    Follow this [link |http://wiki.sdn.sap.com/wiki/display/XI/CODE-CreateanExcelFileviatheJExcel+API]

Maybe you are looking for

  • Initial load of material classification

    Hi, We want to start using GTS to maintain tariff codes and to assign materials to tariff codes. We will start off with loading tariff codes in GTS from a dataprovider. However, we do not want to start from scratch with assigning materials to tariff

  • Can't display new png picture in jsp

    My jsp is going to display jpg picture which is just created in my servlet. However, the jsp display old picture which is last time created. I think HttP server cache the picture and show the old picutre. I use same picture name for every time. I use

  • Substitute listing

    Hi all, May I know, if there is any report why which I can see the list of all the substitutes in the system.

  • Query null value

    How can query detail block if one of master items (which is in relaton) is sometimes null

  • Pointers needed to change Value Range in a Domain through a program

    Hi All,           I have a requirement in which i have to change the Value range of a domain while executing a program... Is there any FM available to achieve this functionality.... Kindly provide pointers to achieve my requirement... Regards, Navin.