Which framework is preferable JSF 2.0 or Struts 2.1?

Hello everybody ...
I would like to ask this question Which framework is preferable JSF 2.0 or Struts 2.1?
The comparison it could be in terms of the efficiency,less failures , facility, simple to use , the other technical perspectives .
And which one is very useful in CRUD apps .

I received your comment on the blog post in my mailbox, but it doesn't actually show up on the website for one reason or another. Let me address it here in the hopes you find it.
Is JSF 2.1 the best to use for e-commerce and social application "bond together" Maybe. It all depends on your requirements. Like I state in the article, if you need lots of control over the front-end with javascript, Ajax, DHTML and whatnot then JSF might not be the right choice.
and the important goal for this application is the availability and the very efficient respond from the server for the millions and millions of the clients request, That does not depend on code. It depends on the server software, the server hardware and the configuration. You are not going to learn how to make this happen by asking questions in a forum, it will require plenty of study and experimentation. If you expect millions of client requests then only one server is probably not going to cut it for example; you'll have to start thinking about clustering. Whole books can be written about that subject, and probably have.
for sure If I am using Jboss , and by the way which is the really good application servers and web servers either is it Jboss or glassfish server . Both JBoss 7+ and Glassfish V3+ are excellent and fast Application Servers. I have always used JBoss so I am biased towards it.
Or there are alternatives out there ,Can you elaborate on them quite bit.There are certainly alternatives, Weblogic 12+, Websphere 8+, Geronimo 3+, probably some others I'm missing. I have no experience with any of them, so I cannot elaborate.
Because I am starting my project I am still confusing my first aim is the efficiency , efficiency in the sense as the user presses submit button the result should be right in front of his/her faceThat depends more on your server setup and the environment it is installed in. You aren't going to magically get good performance by using a specific framework.
for definitely using the suitable web techniques and web services like AJAX and JQuery and other suitable web services which are required , in fact there are so many factors are responsible and must take care of this job like databases ,networking and OS platforms stuff.I don't know if you're asking something here or just making a statement :/

Similar Messages

  • Which framework you finds better?

    Hello,
    which framework you finds better?
    Struts Chale
    WebWork
    Spring
    JSF

    Spring is dandy and currently get Kudos on being the hype of the month.
    JSF apps can be designed almost entirely through visual development tools. Now THAT's handy. Plus I feel it will remain long after many of these others drift away. The best parts of Spring that JSF doesn't already utilize will probably get consumed into it eventually, much like Struts.
    Like angrycat mentioned, none of these are "easy" to learn. They will require an investment of time.

  • Which framework(s)/tool(s) for a web 2.0 application ?

    Hello,
    I'm new to Java, so excuse my stupid questions...
    I have to port a win32 GUI application to a web application using Java. The original application is not written with Java and is a full blown multitier win32 GUI application accessing a SQL server database.
    There are some requirement for the new application:
    1) has to use opensource tools and frameworks
    2) has to use JBoss application server
    3) has to use eclipse for development
    4) have a user interface as close as possible to the win32 application
    5) has to use the same (mssql) database
    The question is: which frameworks/tools is best to use in that environment ? JSP, JSF, RichFaces, Spring, Seam, Hibernate, Struts to name a few...
    Regards,
    F. Piette

    800089 wrote:
    Hello Gimbal2,
    As far as I can see, GWT makes application to run on Google servers.Then you should clean your glasses.
    My problem is to select the best framework(s) and tool(s) to develop the application, given the requirement I listed (Eclipse/JBoss/MSSQL/OpenSource). Unfortunately there are so much of them available that it is difficult to select the best one (Well things are relative of course). I don't want to use old technology, nor technology no yet wide spread on the market. I want a technology that many companies are using and for which I can easily find developer on the market.You want the best framework do you? Doesn't everyone these days.
    I'd say...go for JSF. Or if you don't want to, go for spring, or if that doesn't suit you, go for the GWT mentioned earlier. Unless you want to be retro, then go for Struts.
    Then when you've chosen your framework, see how many developers are willing to use it, if not enough choose another framework.

  • In bdc sessoin method which one is preferred synchronous or asynchronous..?

    hi could anybody tel me
    sessoin method which one is preferred synchronous or asynchronous..?
    what ll happen if we do other method..?
    foreground or background which one ll prefer..?
    what ll happen if we do otehr method..?
    thanx
    kals.

    Dear Kals,
    Synchronous or Asynchronous:
    If you need to process dependent transactions one after the other go for synchronous. Else, go for asynchronous.
    Asynchronous will have better performance.
    Ex:
    If you would like to process F.02. If it is successful process one more transaction using.
    Go for synchronous
    call transaction F.02 ........
    if successful.
       process one more dependent transaction.
    endif.
    If you just need to process F.02
    Go for Asynchronous.
    Background or Foreground:
    If there is a huge volume of data or no manual intevention is needed for background. If you would need manual intervention go for foreground.
    Performance would be better in Background.
    Visit the following thread:
    Re: sap general
    Hope this will help.
    Regards,
    Naveen.

  • Which framework? Struts/Faces/JATO?

    Hi
    I've just started a new job and am refactoring and redesigning a JSP/servlet J2EE application which is running on Sun One AppServer 7. It is a real mess so far and I need to implement an application framework. This needs to:
    - rationalise the design pattern
    - make more efficient the form/event handler chain (currently using horrible URL encoding and a big if/else statement in the servlet).
    - make app more structured so new modules,web services, servlets etc can be bolted on later.
    I guess the big one is Struts, but I also thought Faces looked quite good. Seemed a bit more lightweight than Struts and more like asp.net in its event handling model. I also obtained a demo of "JATO/Sun One Application Framework" which is a Sun One Studio 4.1 plugin. This has really neat GUI design tools, like visual studio.net.
    I do not have significant enough experience with JSP/servlets to make an informed decision as of yet, so would like to hear some opinions from JavaRanchers.
    What I will say is that the thing I most miss moving from ASP.net to JSP is:
    a) the total seperation of html/tags and code behind.
    b) the way that the .net framework 'glues' the events from the html controls to your event handling methods for you.
    If I had to pick something now I would just pick Struts, cos I know it is widely used so can't be that bad...!
    thanks in advance,
    john

    If you don't have a lot of servlet/JSP experience, any of those frameworks will be a chore to pick up. They're not trivial.
    Struts has a lot of traction out there. There are several books about it, which might help.
    Faces will eventually replace Struts, I think, but the implementations that are out there were still under development last time I looked. It's been a while. The books on Faces are still being written, so you're on your own there.
    JATO I'm unfamiliar with.
    I've done a model-2 MVC using JSPs and a front controller servlet without using any framework. I have an XML descriptor that maps events to pages to Commands. Since I already understood enough about JSPs and servlets it seemed easy enough to do it without having to climb the Struts learning curve. I used JSTL as the tag library. All this should fold right into Struts - if I ever get around to refactoring it. Works fine without it.
    I'm not familiar with ASP or .NET, so I'm curious about what you miss:
    a) the total seperation of html/tags and code behind.
    I don't understand this. With JSTL, I've got JSPs with NO scriptlet tags or Java code in them at all. If that's what you mean, maybe you've got to learn a good tag library like JSTL.
    b) the way that the .net framework 'glues' the events from the html controls to your event handling methods for you.
    That's exactly what I hate about M$ tools - all the stuff they do for you behind the scenes. I like to mix my own glue so I can understand what's going on behind the scenes. JMO - MOD

  • wlst vs java classname="weblogic.WLST" which one is preferred?

    Hi,
    I have recently started working with weblogic 10gR3 and came across examples to invoke wlst scripts from ANT.
    Since there are two approaches i would like to know the difference and which one is preferred. I have so far seen more examples of <java classname="weblogic.WLST"> then <wlst>. In my personal experience i find it more convenient to invoke python script using weblogic.WLST option.
    any comments?
    thanks
    salman

    Hello Lance,
    I will try to reproduce it on my side and see if I can reproduce, until then use the shutdown() method on the server runtime MBean as workaround.
    Thanks,
    -satya

  • Which Linux is prefered by Oracle (Express)? Is there any?

    Hi,
    I own a small business and want to use Oracle Express as my database on Lunix (probably on a Pentium Machine).
    After we grow, we may go on for a server like machine with Oracle standard edition.
    Main question is, is there any Linux which is recommended or prefered by Oracle?
    When I look in the space, there are plenty of flavours like Red-Hat, Suse, Fedora, Debian, Mandrak etc etc. I am pretty confused with this and currently trying to understand the differences in them.
    But as far as Oracle Express or Oracle in general, is there any flavour which should be prefered over the others?
    Please guide.
    Thanks

    Best depends on which ever one works for 'you'. In other words, is the organization prepared to spend money ensuring that the Database administrators and System administrators are truly and properly trained and prepared on the chosen operating system[s]?
    If not, the people and the organization are simply blowing hot air.
    If you want to see from Oracle perspective, then they
    are brining everything first on Linux right from new
    Version to any new Patchset. Solaris and HP
    Release/Patches are coming next in the line and then
    comes the AIX and finally windows.
    Actually, I note there are a number of different definitions for 'first'. It seems to me that Oracle releases as follows
    - Linux ... first platform to be released (and only in 32 bit)
    - Solaris ... first 64-bit platform to be released
    - Windows ... first Microsoft platform to be released>
    In reality, does it matter that patches come out first on Linux? Most of my customers will wait at least 2 weeks before applying ANY patch (OS, Oracle, whatever) simply to let other people test the patch in production. <g>

  • On which framework did firefox-nothumb was built on, as i would like to port it.

    firefox mobile nothumb version run successfully on my samsung galaxy 5(gt-i5500).
    the only problem was the font, font size is too high i think i need just to re-engineer that part but don't know on which framework i was built?
    can u please provide the default build framework so we can try to make it work fully

    Hi,
    I'm not sure if this will answer your question, but it might get you on the trail.
    https://bugzilla.mozilla.org/show_bug.cgi?id=586772
    Above is a bug that tracked creation of the nothumb builds, maybe it will help you to find out about the framework.

  • Which carrier is preferred--verizon or at&t for the ipad2?

    which carrier is preferred for the ipad2?  verizon or at&t?

    That depends on where you are. In some places, one may be better than the other. You'll also want to consider things like the price of each carrier's plans. They're a bit different.
    Personally, I tend to agree with ds store but you'll get people who think AT&T is better. Ask around among people who use AT&T and Verizon where you are.

  • Not able to create a web project with jsf or jsp or struts or spring

    Hi,
    I am trying to create a dynamic web project with jsf or jstl or struts or spring or any of web options available for a web project, but I am not able to do it.
    When I choose any of these options, the wizard asks me to "select an existing jstl/jsf/Spring 2.0 library, or click Add to add a new library." and since it doesn't show any existing libraries there, I clicked on add new library. When I click add, it opens a new dialog box where it has two options :
    1. to use spring/jstl/jsf lib from bea web site - when I choose this option, it tries to connect to the bea web site and gives me error that "connect time out". I don't know why it is not able to connect to the internet. I am not able to see the help also. There it gives error "The requested URL could not be retrieved".
    2. to use libraries from an existing spring installation - I provide the path of a directory where spring lib are, but then it gives me error that this is not a valid installation.
    On another machine, I am able to see the help contents, but still not able to get these libraries from the bea site.
    Please help.
    Thanks in advance,
    Sushma

    Hi Sushma,
    The issue you are facing has been addressed and will be part of the next release. For the current release, please follow the steps listed below.
    Send an email to [email protected] with details on specific facets you are trying to enable on your project.
    You will be provided with a url where you can download the required jars and details on how to manually add the jars to the workspace which will prevent the download on demand scenario.
    Cheers
    Raj

  • JSF forward to old Struts action

    Hi, The application which I'm working on is using Struts. However, the tendancy is to migrate to JSF. We are trying to include a bit JSF in our old Struts app.
    For the moment this is done like this:
    A Struts action is forwarded to a JSF page by specifying this in the struts-config.xml. This works: the JSF page is showed successfully.
    However, when we want to 'submit' the JSF, which is specified in the faces-config.xml like this:
    <navigation-case>
               <from-action>#{Page.theAction}</from-action>
               <from-outcome>success</from-outcome>
               <to-view-id>/ourFile.do</to-view-id>
    </navigation-case>This results in a 404: page not found. When using a browser and navigating to http://<server:port>/<AppRoot>/ourFile.do this file does exists.
    Any idea why faces doesn't know this?
    Thx

    Sorry for reopening an old thread but now i'm stuck with a similar problem.
    Actually i want to redirect to a struts application from my jsf application
    for this i'm doing
    String url="http://localhost:8080/strutsApp/strutsLogin.do";
    res.sendRedirect(url);
    this works fine and sends me to the login page.
    But i intend to break the login page and enter the welcome page as i'm trying to implement SSO in my application.
    Can any one guide me plz????????????????????

  • Which framework is suitable as far as flex is concerned spring or eclipse

    hi,
    i just wanted to know if our application is not that much huge and complex whether is it needed to use the spring framework or is it fine to go with the
    eclipse one.
    thanks

    800089 wrote:
    Hello Gimbal2,
    As far as I can see, GWT makes application to run on Google servers.Then you should clean your glasses.
    My problem is to select the best framework(s) and tool(s) to develop the application, given the requirement I listed (Eclipse/JBoss/MSSQL/OpenSource). Unfortunately there are so much of them available that it is difficult to select the best one (Well things are relative of course). I don't want to use old technology, nor technology no yet wide spread on the market. I want a technology that many companies are using and for which I can easily find developer on the market.You want the best framework do you? Doesn't everyone these days.
    I'd say...go for JSF. Or if you don't want to, go for spring, or if that doesn't suit you, go for the GWT mentioned earlier. Unless you want to be retro, then go for Struts.
    Then when you've chosen your framework, see how many developers are willing to use it, if not enough choose another framework.

  • Which one is preferable..?

    which work area is preferable,explicity or implicity...?

    hi sekhar,
       While adding or retrieving records to / from internal table we have to keep the record temporarily.
    The area where this record is kept is called as work area for the internal table.  The area must have the same structure as that of internal table. An internal table consists of a body and an optional header line.
    Header line is a implicit work area for the internal table.  It depends on how the internal table is declared that the itab will have the header line or not.
    e.g.
    data: begin of itab occurs 10,
               ab type c,
               cd type i,
            end of itab.  " this table will have the header line.
    data: wa_itab like itab. " explicit work area for itab
    data: itab1 like itab occurs 10. " table is without header line.
    The header line is a field string with the same structure as a row of the body, but it can only hold a single row.
    It is a buffer used to hold each record before it is added or each record as it is retrieved from the internal table.  It is the default work area for the internal table.
    explicit work area is preferable
    reward points if helpful,
    shylaja

  • Which Framework to be selected?

    I have been working on two different applications. One Uses  Cairngorm framework and one is with out a frame work. Now these two  applications needs to be integrated as an single application. Both have  different data,UI,Views,Events etc but should be presend in same folder  structure and should use a class in common where we need to  differenciate two applications.
    To achieve that which frame work is to be used and how to use it  efficiently with less code changes? Please let me know your inputs.
    Regards,
    Brenda

    I agree with everything that UbuntuPenguin said.  I would clarify that all of these frameworks let you to follow an MVC architecture, not just RobotLegs.  The biggest difference in concept between Cairngorm and these frameworks is the way you access Singletons.  In Cairngorm you go out and get the singleton instance, while in these frameworks it is injected.  There is a whole lot more though. Non of them port Cairngorm very easily.
    I would venture to say that Parsley is the one that doesn't favor any particular MVC style, so it would be easier to recreate your Cairngorm concept structure, but Parsley is very Metatag dependent, so you still have port everything over.  RobotLegs is more like Cairngorm in the sense that you extend classes, but it follows a pureMVC style, which is a bit different.  It motivates you strongly to use Mediators.
    Either way you go... it's not a one day port job.
    Do some research before you make your decision.
    You can get an idea about Parsley here:
    http://artinflex.blogspot.com/2010/09/quick-dive-into-parsley-intro-why.html
    and there are links to the other frameworks there.

  • Which is the prefered way to rollback a patch set?

    Hello,
    I am about to apply a patch set to my test database 10.2.0.3. Because of a bug, I need to patch up to patch #27 (7353785). From reading the patch doc, it suggested I backup the ORACLE_HOME mountpoint and also the inventory directory. There is a rollback procedure for rolling back the patch as well.
    1) If after the patch has been applied, what would be the best way to back out of the patch say, after the database has been running for a few days after the patch?
    2) What would be the best way to back out of the patch, a few hours after the patch?
    3) which is preferred, using the rollback procedure (opatch rollback -id 7353785) or using the backup ORACLE_HOME and backup inventory directory taken just before the patch is applied?
    Thank you.

    1) If after the patch has been applied, what would be the best way to back out of the patch say, after the database has been running for a few days after the patch? Use opatch, last option restore from backup.
    2) What would be the best way to back out of the patch, a few hours after the patch?Use opatch, last option restore from backup.
    3) which is preferred, using the rollback procedure (opatch rollback -id 7353785) or using the backup ORACLE_HOME and backup inventory directory taken just before the patch is applied?Use opatch
    Ss

Maybe you are looking for

  • How can I install Adobe Acrobat 6.0 on Windows 8.1?

    I originally installed Adobe Acrobat 6.0 on Windows XP. I've upgraded the OS to Windows 8.1 and have a compatibility error message when trying to re-install Adobe Acrobat 6.0. Any suggestions? Thank you. Roman.

  • Unable to print, pages not selected.

    I have reader XI and I get an error message saying unable to print pages not selected.  the only things on the forum have been they same error with reader 9.  I have tried all of those fixes with no luck.  I have to open Acrobat with the Internet to

  • Audio level peaks in FCP

    Is there a range that you audio levels should be while editing, such as between -18 and -12?

  • Public Folders Permissions Tab Missing on one pc but not another

    this has to be pc related but i just can't find any info anywhere. when i log into a pc and startup outlook and go to public folders, i cannot see the permissions tab on the folders at all. but if i go to another pc, same OS and office version, i CAN

  • JMS Protocol Fehler

    Hi forum ! I have an J2EE Application with follow configuration: j2eeJavaApp1.ear consisting of j2eeJavaApp1-ejb.jar, j2eeJavaApp1-client.jar and META-INF. In META-INF there are following files: application.xml, data-sources.xml, orion-application.xm