I am confuse to choose right technology for file sending?

Dear all
i am working in medical transcription project in that we have to send and receive more doc file and voice file from various client (web client and desktop client).
i have three three technology which makes me confusion
1. RMI with NIO
2.servlet with URL class in client
3.SAAJ with attachment[i dont know much about this]
so please suggest me which is the right technology for file sending and receiving...the file may maximum 20 MB

It depends if you have a valid reason to use web services. If you are providing a web front end to your application for clients to use then you could just use a standard file upload procedure, I have used apache commons and it works well for this.
If your requirements indicate that a web service call is the answer as you have some system-to-system connectivity then I think you will need to use saaj and add the file as a SOAP attachment, as embedding 20MB of binary data into a string field on a standard SOAP message will probably cause the JVM to run out of memory.
Cheers

Similar Messages

  • Need help to Configure FTPS connection for File Sender Adapter

    Hi,
    I want to Configure, FTPS connection (Secured Connection) for File Sender Adapter. Could anyone please guide me, what Information I require to configure. I just want to know what Information should I request the team inorder the configure FTPS so that it can be deployed properly.
    I have checked with [SAP Help Link|http://help.sap.com/saphelp_nw04/helpdata/EN/e3/94007075cae04f930cc4c034e411e1/content.htm] and while configuring the communication channel found that I need Keystore and the X.509 Certificate and Private Key.  which needs to be deployed on the J2EE server by using the Visual Administrator.
    Is there anything else, I need to configure.
    Any help would be appreciated in this regard.
    Thanks & Regards,
    Varun.K

    The basic things are Certificate/Keys which you already know. Usually it is enough for running a sceanrio.
    However, if you have additional requirements, like FTPS for "Connection Security" for encryption, then you may need additional details like commands. Rest all settings are same as FTP.
    Regards,
    Prateek

  • Choosing the right technologies for a FEM simulation visualization

    Hello,
    I have been a Flash dev for over a year now, developing games for kids in pure AS3. I have recently started thinking about my Bachelor's Degree project and I decided to use what I know and develop as a developer - and I chose Flash to be my ground technology for this.
    The subject of my project is to visualize a finite-element method simulation (FSI - which is simulation for both fluids and solid objects) of 2D (3D for Master's) flow through the aortic valve in heart. What I have to do, basically, is use some FEM application (I chose an archaic Adina) to generate data about the mesh (FEM nodes and elements) and then use it to visualize the whole thing. I was thinking about parsing the output *.dat files and put it to XMLs or just putting it manually in a database so I wouldn't have to deal with file access. Either way is fine, I guess.
    Now, my question is - what do I use to optimize this?
    Remember, I'm totally new to Flex, I've made only a couple AIR apps.
    One of the questions is - use FlashDevelop, which I have been using ever since I started programming in AS3, or switch to FlashBuilder? I definately want to use Flex to create the interface, Flash of course to visualize the whole thing and the problem is I can't get a grip on the overall image. Should I use AIR to build desktop app, or keep it web app, what's the best option for me as a Flex beginner, which will have better performance (as the problem itself is quite complicated) and generally what do you usually use for things like this.
    I was trying not to sound too desperate, but I don't really have any gurus around to ask questions like that - I hope you can help.
    Thanks for all the input in advance!

    We've just acquired a new manufacturing facility to which we are moving operations in the next month. This facility has 3 buildings:Main Office
    Telco room for Time Warner coax, fiber box to Shop B telcoShop A Warehouse
    Ethernet run back to main office telco (less than 300 feet)Shop B Office
    Fiber box to main office telco, feeds shop B warehouse with ethernet cablingI'm looking at Zyxel managed gigabit switches for the network backbone here (mainly the GS-1900, GS-1910, or GS-1920). I'd have a 48-port Zyxel switch in the main office telco room and a 48-port in the Shop B office telco room. But I need SFPs to connect to those fiber boxes (pre-existing fiber not run by us). I know the fiber run from the main office telco to the Shop B office telco is somewhere between 500 and 100 yards, and I believe it is single-mode fiber (but will have...
    This topic first appeared in the Spiceworks Community

  • Is JMF the right technology for this...

    Hi All!
    I have a requirement to build a client app that is subscribed to a JMS topic. Based on the published message, the client has to select and play the appropriate video clip from a total of n video clips. Here are my questions:
    1) Is JMF the right technology to play video clips (.AVI format)? What are the alternatives?
    2) Can I have these play in full-screen mode?
    3) During idle time, can I display a default image (.JPEG)?
    4) Does Swing or AWT have to also be used?
    5) How can I cache the video clips (16MB * 6 clips) in memory to make it more performant? Is this even neccessary?
    6) I need this application to run 24*7 with minimum failure rate. Is this a realistic expectation for JMF?
    thanx much!
    - Ravi

    1. yes. depends on what you want to do exactly.
    2. why not?
    3. what is "idle time"? you mean the time where your video pauses? yes, you can..
    4. doesn't matter. The visual component which you'll get from jmf (to show video) is of type java.awt.Component
    5. this is not neccessary. You would reach nothing with caching video in memory. Actually, you didn't say if you are talking about sender, server or recipient side..
    6. no. I generally don't trust Applets very much. I would use Macromedia Flash with FlashCom server then, although it has less features and parameters, but it seems to be more stable.
    Best regards from Germany,
    r.v.

  • Is JSP the right technology for this project?

    I'm heavy into core java, but haven't used JSP before. The project manager suggested JSP for this project, but since I'm writing the spec and the code, I need to determine if it's suitable for the task before committing to it.
    Overly-simplified summary:
    web-based application
    simple form interface, fill in the blanks
    user inputs a filename, and a piece of data or two to find within the file
    application finds the (binary) file on the server, parses it into a known data structure, and finds the data element that contains the specified information.
    application formats the data element and displays it in a web page.
    user has the option to save the data in text format or as a binary file on the local machine
    That's pretty much it. There are a few things that I'm concerned about, and am not sure whether JSPs are capable of handling:
    1. searching the local hard drive (in known directories) for a specific file and opening it
    2. creating, for instance, a MappedByteBuffer of a portion of the file and accessing data within it
    3. saving data in text or binary format on the user's hard drive
    If the JSP can run core java style code on the server, that answers 1 and 2 easily. 3 seems like it should be possible, but like I said, I've never used JSP.
    Of course I'll look up the specifics myself, but perhaps someone who has been using this technology for a while can answer my simple question:
    Is JSP a suitable tool for this job?

    So this project looks like one that could be handled not no roughly using a combination of Servlets and JSP.
    web-based application
    simple form interface, fill in the blanksUse JSP for the displays. Forms, and such...
    user inputs a filename, and a piece of data or two to
    find within the file
    application finds the (binary) file on the server,The file is on the server right? Good. Then use a Servlet to find the file. Better, actually, to use a Servlet to call some other PlainOldJavaObject that finds the file for you. That way you can test and code outside of the web environment then just integrate into Servlets/JSPs when needed...
    parses it into a known data structure, and finds the
    data element that contains the specified
    information.Again, use Servlet, or a POJO object the Servlet calls to do this stuff.
    application formats the data element and displays it
    in a web page.Good thing for JSP to do. Just let the Servlet get the results back from the POJO doing the work, then store them such that the JSP can read results and format an HTML page around them.
    user has the option to save the data in text format
    or as a binary file on the local machineOn the client's local machine? That is doable, I think. Again, use a Servlet to pass what and how to save to a POJO that that does the work. Then the servlet streams the data to the client (using a content type that will ensure the download rather than display...)
    That's pretty much it. There are a few things that
    I'm concerned about, and am not sure whether JSPs are
    capable of handling:
    1. searching the local hard drive (in known
    directories) for a specific file and opening itLocal meaning Server? Yes, best for Servlet/Data Access Object rather than a JSP though. Local as in Client machine: No.
    2. creating, for instance, a MappedByteBuffer of a
    portion of the file and accessing data within itServlets have full access to the normal Java API, but they run on the Server, so again, as long as the file is on the server... no problem.
    3. saving data in text or binary format on the user's
    hard driveYeah, easy. Just a quick download servlet. I believe there are a couple examples here in the forums. Other sites may have better ones...
    If the JSP can run core java style code on the
    server, that answers 1 and 2 easily.It can, but a little repetition here... this is best to do in Servlets rather than JSP. JSPs should be kept to display only.
    3 seems like it
    should be possible, but like I said, I've never used
    JSP.
    Of course I'll look up the specifics myself, but
    perhaps someone who has been using this technology
    for a while can answer my simple question:
    Is JSP a suitable tool for this job?

  • Is JavaCard the right technology for me?

    I am creating a complete custom contact based smart card application including the designing reader hardware, supplying the smartcards and programming the application. Essentially, I just need a standard stored value application, but there is a twist...the reader isn't big enough to fit a full ISO 7816 smart card.
    A UICC format smart card will fit without issue, but I can't find a manufacturer who provides a UICC card except with the associated baggage of a SIM card.
    Would a Java Card be a practical solution for this problem? I just need a card capable enough to encode a stored value application on it. Does anyone know approximately how much would I have to pay for a UICC Java Card in quantity 10,000? Is there any problem using them outside of a GSM network?
    Is there a better solution or technology I should be considering?
    I apologize if this isn't a well formed question. I've only been researching smart card technology for about 24 hours so I am not yet familiar with the details of how the OS and feature sets actually work.
    Any advice is appreciated.
    Chris

    Hi Chris,
    From my past experience, you should be able to get cards (either Java Card or other) from a vendor in the form factor you require. I am on a project that is using a Java Card applet on two different form factors. One that is the SIM form factor and one that is a standard card body. The catch is we have a supplier in the middle that does the milling and embedding of chips for a Java Card manufacturer and we are buying quite a lot of cards.
    If you can contact a card manufacturer in your area (not necessarily a Java Card manufacturer), they may be able to help out and give you prices (I don't deal with cost, just code). You may be able to find someone that is willing to embed a filesystem card in a UICC body. After all, the form factor is just the card body that the chip is embeded in.
    Here are some links for production houses in different areas.
    [http://www.liberalismedia.com|http://www.liberalismedia.com]
    [http://www.muhlbauer.com|http://www.muhlbauer.com/muehlbauer/docs/index.asp?id=16827&domid=1016&sp=E&aktion=ab&m1=11932&m2=16805&m3=18643&m4=16827]
    [http://placard.com.au|http://placard.com.au/home/index.htm]
    Cheers,
    Shane
    Edited by: safarmer on 6/08/2009 15:17

  • I ave some problems with the right management for files in the movie folder

    There are saome files with toe records of everyone in the right. I can't delete or copy this files without  my Admin password. The folder movies where displayed without the triangel in the list option. I have copied all files an folders to an external drive. The Folder Movies have i delete ove my root account. Then I have all files copied zo the new folder who was created automatical when i locked in. Now the problem with the list view ist solved but the rights of the files are not solved. I can change the rights vor the everyone manually for each file. But for more than 1000 files this is not usable.

    drwx------+  18 onlymac  staff    612 24 Okt 12:52 .
    drwxr-xr-x+ 134 onlymac  staff   4556 24 Okt 12:44 ..
    -rw-r--r--@   1 onlymac  staff  43012 24 Okt 12:54 .DS_Store
    -rw-rw-rw-    1 onlymac  staff      0 18 Okt 13:33 .fcplock
    -rw-r--r--@   1 onlymac  staff     30 24 Okt 12:52 .fcpuser
    -rw-r--r--    1 onlymac  staff      0 18 Okt 11:53 .localized
    drwx---r-x@   4 onlymac  staff    136 18 Okt 12:18 Aiseesoft Studio
    drwx---r-x+   4 onlymac  staff    136  5 Jun  2010 DivX Movies
    drwx---r-x+   4 onlymac  staff    136  7 Jun 00:20 Eye-TV
    drwx---r-x@  12 onlymac  staff    408 22 Sep 23:43 Final Cut Events
    drwx---r-x+   9 onlymac  staff    306 24 Okt 10:06 Final Cut Projects
    drwx---r-x+   3 onlymac  staff    102 23 Okt 23:49 Handbrake
    drwx---r-x@   9 onlymac  staff    306 31 Jul  2010 Kamerafilme
    drwx---r-x+   3 onlymac  staff    102  6 Okt 14:19 MAC The Ripper
    drwx---r-x+  10 onlymac  staff    340 24 Okt 12:51 Motion Templates.localized
    drwx---r-x+   7 onlymac  staff    238  2 Feb  2011 iMovie Events.localized
    drwx---r-x+   8 onlymac  staff    272 21 Aug 01:18 iMovie Projects.localized
    drwx---r-x+   4 onlymac  staff    136 21 Apr  2011 iMovie-Kamera-Archive.localized

  • UDF to get the filename for File Sender Adapter

    Hi,
    I had an requirement to get the  the Filename and map to the  target payload.
    I had configured the File Sender Adapter settings in the ID
    This is the following UDF i got from SDN.
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/File","FileName");
    String ourSourceFileName = conf.get(key);
    return  ourSourceFileName;
    But when iam using this UDF iam getting an error
    RuntimeException in Message-Mapping transformation: Exception:[java.lang.NullPointerException] in class com.sap.xi.tf._MM_ORDER_CRS_OB_SAP_PROXY_IB_ method Filename$[com.sap.aii.mappingtool.tf3.rt.Context@54e154e1]
    Please help me in correcting the error.
    Thanks
    Srinivas

    Hi Jayson,
    actually, in the interface mapping, it doesn't give exception.
    The DynamicConfiguration is a constant retrieved from the container object, so it will never be returned as null (given that the container object was instantiated).
    Just the retrieved value will be null (since it was not previously set), but no exception occurs.
    In the message mapping, the container object is never instantiated, and that's the reason for the NullPointerException.
    Regards,
    Henrique.

  • SAP PI Table which stores Dynamicconfiguration(filename) for file sender

    Hello All,
    What is the SAP PI table in which SOAP header elements are getting stored. In my scenario, i need to find out the message ID for a specific file name which is picked by file sender, as file name is stored under Dynamicconfiguration of SOAP header node...
    Regards,
    Sreenivas.

    Hi Sreenivas,
    I am not sure if I have understood your requirement correctly but can't you achieve this using a UDF:
    String headerField;
    java.util.Map map;
    AbstractTrace trace=container.getTrace();
    map = container.getTransformationParameters();
    String key = "MessageId";
    headerField = (String) map.get(key);
    return headerField;
    Let us know.
    Regards,
    Shweta

  • File selection sequence in the FTP connection for File Sender Adapter

    Hi,
    I have a file to Proxy scenario using FTP connection parameters.
    If there are multiple files in the sender folder, XI picks up the files randomly with no processing sequence.
    I want XI to pick up the files based on the date time stamp meaning the  oldest file created in the folder should be processes first and rest all in sequence there after.
    I know processing sequence can be set for NFS connection but not for FTP .
    Please suggest if there's any way to make this work.
    Thanks in advance.
    Thanks and Regards,
    Amit Bhagwat.
    Edited by: Amit Bhagwat on Nov 4, 2009 5:17 AM

    Hi
    For the Transport Protocol "File Transfer Protocol (FTP)" files are always processed in ascending alphabetical order
    If you want the file to be processed in sequence then you can use Quality of Service EOIO in the sender adapter.
    The files are processed in the sequence they are picked up.
    otherwise use BPM for File Sequencing..
    Refer the following Threads
    FTP Sender Adapter - Processing Sequence
    Processing Sequence issue of FTP protocol
    Regards
    Abhijit
    Edited by: Abhijit Bolakhe on Nov 4, 2009 10:32 AM

  • Users for File sender/reciever Channel

    Hi,
    As i understand, there is a user that is used internally in file sender/reciever channel to read/write a file.
    Can someone tell me what are those users?

    Hi
    Genral rule for any adapter needs username / login == destination system username / password which has credentials to perform u r required action.
    So bettter use that user pass and check in the destination system and use the same in XI it will work as it is
    rgds
    srini

  • Choosing right technology in java ee 5

    Hi;
    I am developing a client server system.
    - Clients will access server over internet.
    - I need both request/response and pub/suc technics. I mean I have to notify some clients about the request of other clients.
    - Clients will be developed as web and desktop applications with nearly same functionality
    After all my research, I decided to use glassfish, java ee 5 and netbeans but I am not sure wich technology to use. (JMS with EJB, web services, socket programming) I think JMS and EJB best suits for my system but it is complicated.
    Am I on right direction? Should I use different technics? Should I use an application server (glassfish) or develop a server side app using sockets? What is your suggestions for a system like that?
    Thanks

    Should I use an application server (glassfish) or develop a server side app using sockets?And you find JMS and EJB complicated?
    You main problem will be firewall constraints: JMS pub/sub relies on communications in both ways, usually on dynamic ports.
    You can investigate WS-Notification (or WS-Eventing) to have a web service based message solution that works over the internet.

  • Is ODI the right technology for me to use?

    Hi,
    I need to set up replication between three 10g R2 databases.
    There will be one main database where the data will flow into two small databases. A little bit of information will flow back from these smaller databases into the main one.
    I have been asked to evaluate ODI as an option. Unfortunately I cannot use Golden Gate due to the cost.
    I've had a play with ODI and it looks like it's all done on a GUI where I would much prefer to be using command line scripts for setup and monitoring, please let me know if I'm mistaken here and there are command line options.
    It also looks like ODI is more geared to integrating data from many different sources but I'm just going from Oracle to Oracle so don't know if it's a bit overkill.
    I'm thinking of just looking at CDC which I can set up with scripts and looks to be the basis behind ODI anyway (when it comes to taking data from Oracle) - again, if I'm wrong please correct me. I may even go down the streams route that I have used before.....
    Any thoughts / advice on this would be appreciated,
    Thanks!,
    Tom.

    "lossy" means: you lose pic quality... stutter, artifacts, strange colors...
    you don't need to spend 500$, the next garagesale probably offers an old one for 75$ ...
    how they do it? ask them, not me, me no kid, me no blogger ...
    to get a little ... "old man philosophical":
    the claim is: cheap/free, fast, easy ...
    the truth is: if you have no skills & talent, you have to pay others to help you..
    iM helps you - within its limits; using it outside these specs, makes it neccessairy to understand underlying techniqués and methods, to find workarounds .. if you don't want to spend time & sweat ... go back to field "start"..
    iM is made for miniDV camcorders, if you prefer to use other devices, use the software included with such devices; if the included software isn't Mac-compliant, get another computer... - that easy.-
    I've seen youtube-uploads from mobile phones.. ok.-
    not my cup of tea.
    coffee.
    cappo ...-

  • Right click for File-Place-InDesign

    Please add the File-Place-<InDesign, etc.> to the right-click options. This is a powerful feature and should be more readily available.

    Yes!!! I even think I posted something like this a while back. Doesn't hurt to reinforce the need with more postings.
    Even though it does not work, I keep trying to Right Click and Place material.

  • Simplest possible client-server for file sending...

    Hi im trying to create a simple client-server application using sockets.
    All i want the server to do i listen for the client to send him a file.
    Then maby later i'll implement some other stuff like resuming and stuff like that.
    And so the client application is only supposed to send a specified file to the server...
    However, all the examples and tutorials i've found on the net are either to complex or only dealing with textfiles. I dont need the client to specify what type of file it is just send it in byteform or whatever so that the server can write it to disk.
    I get a migraine from all the different types of input/output streams and i dont know which one to use and so on.
    If anyone has a good tutorial or example code somewere (seems to me this should be considred very basic stuff) please enligthen me :-)
    all help will be appreciated
    thanx
    /Eric

    Yep, O rielly - Networking for Java, not sure exact title, or any basic JAva network book. They start out with a simple app and over chapters add to it, you could stop where you want.....

Maybe you are looking for

  • Remote Update Manager Error.

    Hi all, I'm receiving the following errors in the RemoteUpdateManager log.  I can't get this to clear up.  Did a full re-sync of our Adobe Update Server twice, to be sure it wasn't a corrupted file or download at our end. 01/10/13 10:30:27:181 | [INF

  • Validation: Two items cannot be null or filled at the same time

    Hello forum members, I have a question about item level validation and was hoping someone would be able to shed some light on my problem. I'll go into a quick background of what the app does first so you will have an idea of what I'm trying to get at

  • Standalone java class

    hi, i have written a java file that works fine when i run it with a jsp file in weblogic. now i need to extract the class file as a standalone to run in a batch file. i got the following error: Exception in thread "main" javax.naming.NoInitialContext

  • Oracle Universal Installer - Oracle Home????

    Hi, I have installed Oracle XE and I love it. I wish I could have developed with it 3 years ago than have to rely upon a full distribution. It is also going to make my development team run more efficiently and take away a licensing headache. I have o

  • Port priority or path cost on equal 1gb links

    We have 6509A and 6509B connected to each other on 1gb links on port 4/1 and port 5/1.  By default, 5/1 is blocking all vlans, and 4/1 is forwarding all vlans.  How can I change 6509B config to forward vlans 2-5 on 4/1, and vlans 6-10 on 5/1, should