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.

Similar Messages

  • 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

  • I need to know the right tools and java technology

    Please help,I need to know the right tools and java technology to support what I need.
    I had background programming in Assembly,C++,Visual Basic,SAP/ABAP 4.
    All I can say, programming is about logic, now we are very helped building program using objects.
    I'm very interest to SAP tech, where all screens, programs, reports are resides on tables, this is the real dynamic!
    CUrrently I'm eager to do the same technic with java. I'm new to java....
    What I know the J2EE is the core for me to start is it right? I was very interest with the Client-Server Tech. How can I impelemet this with Java?
    I'm a bit confuse with so many java solutions. There is Java Applets, Swing, Java AWT, JavaBeans, etc...
    I don't know what is the best if I want my Presentation/Client Application will run within browser (not standard html, using like windows gui). What should I do to make business logic objects, how to invoke it within the gui. how to make installation package whenever clients connect to the http server.
    if you have a pointer to do it please let me know.... I'm very appreciate all your response...
    Best regards,
    Lucky Pangemanan

    I'd say - don't get carried away with the heavyweight frameworks. Don't use EJB if Hibernate and/or Tomcat will do the job. There's a danger of winding up using a bulldozer to crack a wallnut.
    What people mean by "J2EE" varies a fair bit.
    Start with Tomcat, which has the virtue of being free. Try some JSPs and servlets.
    Use Applets to do client side presentation only if you must; Applets create an installation overhead on end-users, and some of them can't cope, while others may not have the necessary installation permissions on their office machines. They are pretty rarely needed, IMNSHO, most client-side behaviour is better handled with html and JavaScript.

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

  • Right versions of Java for Internet Explorer 8,8,19 versions for BO 4.1

    Hi,
    Can any body guide me on the right version of Java(Internet Explorer version 8,9,10) for BI Launch Pad 4.1 SP6?

    Hi,
    If there is enough time to validate SP06 against MS Windows 10, and if the enterprise market demands it (i.e. our maintained customer-base) then it would certainly be considered.
    However, Win 10 isn't out yet, and if SP06 comes out in only few months.. then the timelines aren't favourable.
    Realistically, we don't anticipate enterprise organisations to be adopting Win 10 as soon as it comes out.. It's a fringe requirement. But that said, our SPs are designed to offer additional PAM support, so let's see.
    Regards,
    H

  • 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

  • Please help me choose a technology to connect !

    Hi, I am a MSc (Software Development) student from University of Huddersfield, UK. I have to submit a final year project proposal by the end of July.
    My real client is a pharmaceutical company with many offices in many cities. They maintain a central database in one city. The need is to develop a means of accessing this database via a Java technology over the Internet as well as Intranet. The use of applets and web pages is discouraged by the non-technical company advisors. I wonder what can be the solution ?? Please guide me in the right direction and kindly point a right Java technology to be used in a Java Application for this need.
    The relevant detail is:
    1). Back end Database is in ORACLE.
    2). Front END is supposed to be an Internet + Intranet enabled Application.
    3). The choice of technologies to be considered:
    RMI ??? (may be a rediculous question)
    EJ Beans ??
    Servelets ??
    What should I think of ?? Please help me out as the time to decide is slipping out of my hands.
    Regards,
    Shahzad.

    The use of applets
    and web pages is discouraged by the non-technical
    company advisors. I wonder what can be the solution ??You sure? That pretty much rules out any normal 'web' solution. Maybe they want a web solution which does not use applets, but other web technologies are ok.
    If not...
    The only thing left is a client-server application. Every client box will have to have the client application installed.
    This means that you now have to implement not only a client solution but you will also have to create an install and handle security yourself.
    The security problems are rather large. The server will have to have a port which is open to the internet. Transmissions will have to use encryption just to keep the kiddie-hackers out.

  • Help me choose a technology please ??

    Hi, I am a MSc (Software Development) student from University of Huddersfield, UK. I have to submit a final year project proposal by the end of July.
    My real client is a pharmaceutical company with many offices in many cities. They maintain a central database in one city. The need is to develop a means of accessing this database via a Java technology over the Internet as well as Intranet. The use of applets and web pages is discouraged by the non-technical company advisors. I wonder what can be the solution ?? Please guide me in the right direction and kindly point a right Java technology to be used in a Java Application for this need.
    The relevant detail is:
    1). Back end Database is in ORACLE.
    2). Front END is supposed to be an Internet + Intranet enabled Application.
    3). The choice of technologies to be considered:
    RMI ??? (may be a rediculous question)
    EJ Beans ??
    Servelets ??
    What should I think of ?? Please help me out as the time to decide is slipping out of my hands.
    Regards,
    Shahzad.

    Hi,
    First (non-technical people - like overpaid business managers) don't usually have a clue what they are talking about.
    So, first, you need to make a case fro using simple well-known technology eg a tomcat server and the new buzz-word is SOAP (well it's not that new, but then the internet is getting old too).
    Three web sites in 1996 (I quote Bill Clinton in the Dimbly lectures), maybe it was four!
    On to SOAP, do a google/msn search on the subject.
    It is a way of running a thin client/ server operation, passing all data as text or maybe xml (another buzzword?) through good old html.
    You can therefore bypass firewalls with any data sent, there is not a need for expensive pcs (front-end users machines). The server does all the processing and returns a response as either a text response, an xml response, or just maybe a href link to a resource.
    Just some ideas to think about.
    Hope this helps
    best
    kev

  • Help With Choosing The Technology

    Hello,
    I need help in choosing the appropriate technology for the application that I'm going to be creating.
    The characteristics of the system that have been decided until now:
    Standalone app built on either Flex/Flash/AIR
    Restricted to using the system on a single computer, hence can be a tightly coupled system
    The server component of the system needs to be closed source and robust, for which im thinking something like a Java backend,etc,etc.
    In a completely new environment, all that i need to be able to do is install just the AIR application and not worry about installing extra stuff for the server support.
    Thanks In Advance for anyone who can help me out with this.

    If you are saying you want the server component to be on the same machine as the Flex app, then your choices are severely limited due to the sandbox, unless of course you are using AIR, then you can just use the SQLite database.
    But if there will be a sevrer component on another machine on the web, you could use BlazeDS, and like I said, its free and very robust.
    http://opensource.adobe.com/wiki/display/blazeds/download+blazeds+3
    http://learn.adobe.com/wiki/display/Flex/Creating+a+BlazeDS+web+service+application+in+Fle x+Builder
    http://learn.adobe.com/wiki/display/Flex/Creating+a+BlazeDS+messaging+application+in+Flex+ Builder
    http://sebastien-arbogast.com/2008/04/10/flex-spring-and-blazeds-the-full-stack/
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • Best combination of technologies for Java db-supported web application?

    Hi everyone!
    I was given the task to develop a Java database-supported web application and am now wondering what combination of technologies would best fit my requirements.
    Basically, I am supposed to transform an "Excel-based" application into a Java-based web application that can be run in a browser in our intranet (I know, that's what a web application is supposed to do).
    The Excel application consist of an Excel sheet that holds all the data and a VBA form, that shows and lets you edit all the details/fields of a row and lets you navigate through the rows. Furthermore there are certain macros to filter the data table.
    Now, to transform the application, all data from Excel will be moved to an Oracle relational database and I want to rebuild the functionality with Java.
    Consequently, the Java application is intended to...
    - output the table as is in the browser
    - easily let you filter the data of the table
    - let you create (and save) custom filters
    - show detail view of a row
    - navigate through the rows of the (filtered) table
    - save the data that is entered/edited/deleted in the detail view back to the table in the database
    So, what are the best (and easiest to use) tools and technologies to develop such an application?
    Currently my reasearch has led me to the following conclusions:
    *1.* Architecture: I need a three-tier client-server application, which lead us to using the J2EE platform, right?
    *2.* For the persistence layer I somehow have to map the database table to a Java object,
    - either doing it completely manually (coding) using JDBC
    - or using EJB3 / Java Persistence API / Hibernate to get at least the getters and setters auto-generated, right?
    Please, correct me whenever i got something wrong!
    Oracle JDeveloper supports the mapping process with a wizard when using EJB3 and JPA
    (http://www.oracle.com/technology/obe/obe1013jdev/10131/ejb_and_jpa/master-detail_pagewith_ejb.htm)
    Is there something comparable available for Eclipse?
    *3.* I'd like to use Java Server Faces for the UI. Besides the reference implementation there are several other implementations with additional components for e.g. displaying tables. There are:
    - Apache MyFaces Trinidad (former ADF Faces, although ADF Faces looks different/has different style sheet than Trinidad?)
    - NetBeans Visual Web tools (which look quite nice in the tutorial, but require the NetBeans IDE, I guess?! Tutorial: http://www.netbeans.org/kb/60/web/web-jpa.html
    *4.* What IDE would you recommend? Should have a WYSIWYG editor for the JSF files and should support me as much as possible as a Java Learner!
    - JDeveloper
    - Eclipse (+Plugins?)
    - NetBeans
    - MyEclipse (only if there is a free version out there, I have read about an Eclipse plug-in, but don't know if that was free...)
    *5.* Do you know some good and easy-to-understand tutorials covering this problem?
    *6.* What other aspects should I think of? Are there certain technologies for the business logic or just normal JavaBeans? What about SessionBeans and ManagedBeans?
    Any help, answers, ideas, explanations, comments, recommendations, will be highly appreciated!
    Cheers,
    Chris

    Thanks paulcw, for your quick reply and helpful comments!
    The whole thing is getting bigger than I thought...
    Actually this is a 1-man-project, that I am supposed to realise for small department during my internship in a big company.
    Maybe a more detailed description of the structure may help you to understand what I actually need.
    The table of concern, is an overview of certain projects inside the company and read-only, as it is a view on another database uniting data relevant for the department.
    Then there is a second table for additional data (specific for the department) for each project. This data has to be entered, modified, deleted with the new application, while the data from the first table is only displayed.
    1) In this case, is AJAX / JavaScript still necessarily needed?
    2) EJB and Hibernate sound like overkill to me as well, but what would be the alternatives? JDBC, SQL queries and rowSets? And are the first mentioned really so hard to use?
    3) Do you have any recommendations on how to solve the multiple access problem (I'm sure, I'm not the only one with this kind of problem...)?
    Thanks to everyone in advance!
    Chris

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

  • How to choose between Web AS JAVA / ABAP /  ABAP+Java ??

    Hello,
          Does any one has an idea, what should be the criteria for choosing the web AS instance for NW Enterprise portal?
    let us make it simple......
    <b>Can we compare (WEB AS JAVA/ABAP/ABAP+Java ADD-ON) & come up with advantages & disadvantages of the above three ?</b>
    Regards
    Sunil Kulkarni

    Hi Sunil,
    I think there is no official statement except that both is possible, it depends on your needs.
    But check out these docs:
    http://service.sap.com/instguides -> Netweaver 04 -> Planning -> Technical Infrastructure Guide - SAP Enterprise Portal 6.0
    and
    http://service.sap.com/instguides -> Netweaver 04 -> Installation -> Installation Guide - SAP EP 6.0 (SR1) on WebAS 6.40 
    there you'll see that also the installation is more complex. Also patching the whole system will take more time as you have to patch also all the ABAP components of the application server.
    If you can think of any need to have an ABAP stack on the same system, then make a good decision, because you can't install the ABAP stack afterwards as you can with the JAVA addin.
    Regards,
    Pascal

  • Right clicking in Java

    Is there a mouse event in java for right click?

    There is no separate method to do that. But you can do something like this. Hope this help.
    public void mouseClicked(MouseEvent e){
    if (e.getModifiers() == InputEvent.BUTTON3_MASK)
    System.out.println("right CLicked");
    else{
    System.out.println("left CLicked");
    }

  • Query not choosing right index and running for long

    The database version is 10.2.0.3 on AIX6.1
    I'm facing a strange issue. The application loads the data first into the database and then switch to query the same tables in the database. These all run as a single process. So, the select queries are unable to choose the right indexes due to CBO. If the query has choosen the wrong index it runs for hours (4 to 5 hours) for just querying a single table with 265,000 records. If I run the statistics just after data load and before the select query starts, the process runs fast and finish soon. Could someone let me know why does it take that much long to run a query with wrong indexes?. The query is not complex and it will access a single table with MAX function in the sub-query. It usally takes 15 to 25 msec to return the records.

    Boochi wrote:
    How long does it take to read 1000 blocks?. Does it take 4 or 5 hours?.You mentioned 1,000 blocks, 265,000 rows, and a max() subquery.
    Let's pretend that the subquery executes once for every row in the table, and scans the whole table checking every row: that 265,001,000 block visits, comparing 70 billion values. That's allowed to take a bit of CPU.
    Four or five hours seems quite high - but not completely insane, especially since we don't know what else is going on at the time, whether or not you're managing to keep all those blocks buffered, how many columns there are in the row, and where in the row the relevant column might be.
    An execution plan, or even the output from "set autotrace traceonly" could be quite instructive.
    Regards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk
    "Science is more than a body of knowledge; it is a way of thinking"
    Carl Sagan
    To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Applets and web2.0 technologies, is java applet behind?

    Good day,
    we have been working with web2.0 technologies for a while now, technologies like AJAX are becoming a trivial requierment for building a web site.
    the problem is with the huge number of frameworks promising to provide a full support for AJAX and desktop-like experience.
    What about applets?, they have been around for a while, and has been a subject for many depates!, JDK 1.6_10 comes with enhancments to the way applets work.
    is not applet the best solution to provide desktop-like experience over the web?
    why would i use AJAX and javascript while i can have more control over my business logic using applets?
    what are the things that caused applets to almost vanish?
    could not the performance issue be tackled in a way that gurantees user satisfaction?
    trying to figure out which technology to use is hard specially that a hundred options are available.
    my personal openion is to go with applets, i dnt believe any other technology can compete, what do you think?

    I had this problem too. It's caused by a failure of Firefox to update a file in your profile.
    1. Quit Firefox
    2. In Finder use the the option key to make your Library visible under the Go menu and select it.
    3. Drill down through Application Support/Firefox/Profiles/(random char).default
    4. Find the file "pluginreg.dat" and drag it to the trash (authenticate if required)
    5. Start Firefox and it will rebuild the file with the correct Java version.
    This needs to be done for each user who has the problem. New users don't have the problem because their profile is created from scratch.

Maybe you are looking for

  • Email verification loop when trying to log in to iCloud

    I am trying to log in to the iCloud on my pc first since all my photos, music, etc are on my pc. I will then be using it on my iPad 2 once I get everything set up. The trouble is that when I try to log in it gives me a message that I need to verify m

  • "drag and drop layout missing in 4.2"

    The drag and drop layout is missing in 4.2 So we have no GUI to arrange regions or items in a region... So I'm not sure if going to 4.2 is a step forward at all? Apex needs to be more drag and drop configurable not less surely ?

  • Delaying execution until a specified time

    All, I am developing a web application using Java servlets (no JSPs). What I have been trying to accomplish is to pass a date in a specified format to a servlet, have the servlet parse the date, and then upon that specified date complete its actions.

  • Do we still need OS 9 ?

    Hello! I've got installed OS 9.2.2 together with OS 10.3.9. I'm ready to install 10.4. Because of space nedd I will erase previous OS, data etc and intall(erase and install) My question is: Do we still need to have OS 9 install in my TiPowerbook 500M

  • Problem getting a LONG RAW value

    Hi, I cannot make this code work: OracleCommand cmd = new OracleCommand("ABC$MYPACKAGE.GetLogo", new OracleConnection(_constr)); cmd.CommandType = CommandType.StoredProcedure; cmd.InitialLONGFetchSize = -1; cmd.Connection.Open(); cmd.BindByName = tru