What is struts and spring framework?

Hi all,
As mentioned in subject, I just know that they are frameworks for web applications. But how actually they work and is that any relationship between them with tomcat?
regards,
jeffcjm

jeffcjm wrote:
Hi all,
As mentioned in subject, I just know that they are frameworks for web applications. Struts is a web MVC framework; Spring is much more. It has its own web MVC framework, but it can work with Struts. It's based on inversion of control and aspect oriented programming techniques. Spring has support classes for everything from persistence, remoting, messaging, etc.
But how actually they work and is that any relationship between them with tomcat?Tomcat is a servlet/JSP engine. You can deploy applications using Struts or Spring on Tomcat.
%

Similar Messages

  • What is the difference between struts and spring framework

    What is the difference between struts and spring framework
    Thanks in advance

    Struts is nothing more than a web MVC framework.
    Spring is lots more.
    Spring has its own web MVC frameworks for both servlets and portlets. I think the Struts web MVC design is inferior to Spring's.
    It also has JDBC and ORM support, message driven POJOs, an IoC engine, aspects, and lots more.
    Struts would be a minor subset of Spring.
    %

  • STRUT, COocoon, Spring framework

    I'm about to start self-learning Cocoon, Strut, and Spring framework.
    I was wondering which to start. After a quick glance at Jakarta site, I noticed that the description of Cocoon is very similiar to Strut. Is Strut a replacement of Cocoon..and I also noticed that Cocoon is not listed as one of the project under Jakarta. has it been stop?
    And which framework should i start with? some suggest that i learn strut, since strut is more popular..but some say Sping is better than Strut, and people are shifting toward Spring framework. Basically..i'm confuse as where to start..i will probably learn them all (though probably not in detail for some framework)

    Cocoon is a high level Apache projet. It is not part of Jakarta.
    http://cocoon.apache.org/
    It is tough for anyone to tell you which framework you should be learning because they all have their uses. Yes, Struts is by far the most widely used.
    However, JSF is becoming the new standard now that Sun is pushing it. So don't count it out.
    Sorry I can't help you more with your decision. What framework to use/learn is a topic often debated. Only you can decide which one makes the most sense for you.
    Good luck.

  • Jdeveloper 10 EA and spring frameworks what about  integration?

    jdeveloper 10 EA and spring frameworks what about integration?

    Hi,
    there is no integration to Spring in Jdeveloper. You can develop applications that use Spring, but we don't provide specific wizards or dialogs.
    Frank

  • What are Struts and how it is used in SAP

    Hi
    can anyone give a idea that what are struts and how it is used in SAP
    Regards
    JM

    Hi John,
    In this case google.com really us your friend - Struts is not an SAP technology, rather it is an MVC development paradigm (love using that word for Java.  There are lots of useful websites with generic information around struts as well as a number of good books available from Amazon for instance.
    As far as Struts and SAP goes - SAP use Struts for their Internet Sales CRM Webshop application.  Of course, like anything else from SAP it has been modified slightly but is essentially the same.
    Gareth.

  • How to Struts and Spring in NetBeans using Jboss

    Hi Every One,
    I have a some basic Knowledge in Struts Spring and Hibernate. I already worked in it with Eclipse IDE in WebSphere Server...
    But Now i want to How to Use Struts Spring and Hibernate in NetBeans using JBoss i need that Folder Structure like that Stuffs
    Can Anybody Help Me for this

    Google

  • Using Struts or Spring dilemma?

    HI all,
    just a query , if we want to create a huge application having around 100's of Enterprise Beans and JSP pages around 1000, which Framework one should choose or go for between Struts and Spring. I have worked on Struts it seems to be popular choice and stable. But don't even have a vague notion about Spring Framework.
    Wherein the application demands stability and performance enhancement.
    Avadhoot.

    Struts and Spring are two seperate frameworks , one can be used to implement View lyer using MVC and the other can contain all aspect of your application from the view to business and back end connection.
    you can use Struts with spring , int this scenario struts will be the View layer and spring framework will handle other stuff like DA , Mailing , Transaction , Secrity ,....
    I can say that :
    go with EJB for Business layer , Use struts for View
    and use netbeans 5 as IDE , it made developing ejb stuff too easy.

  • How is the processing speed while using struts,spring,and JSF framework

    Hi friends,
    As per earlier technology like Servlets,I mean that there would have much more performance speed than other new technologies like JSP,struts,spring and hibernate framework.Because,in new technologies,flow of processings implicitly via MVC2 basis will probably much more time than older one.
    Total goal is only for attaining MVC2 or any other purpose?
    Please clarify my doubt?
    With Regards,
    Stalin.G

    Home grown applications have a problem in that as more and more features are added, it becomes increasingly impossible to maintain the application and enhance it. This is especially true when the original programmers leave the company. A framework provides a standard design approach that other programmers can hopefully more easily pick up.
    A lot of work has gone into creating these frameworks and they have been used in web sites that have millions of hits from users per day. They have high preformance. Of course, programmers can still write bad code in them that slows down the system. I believe anyone using these frameworks should study them well before using them (such as reading books on them).

  • Struts+hibernate+spring clarify the framework and layers

    i am did Struts Hibernate and Spring integration using the following url
    http://www.roseindia.net/struts/hibernate-spring/index.shtml
    i want to know is it mvc architecture ?
    how many layers it have ?
    any one know ple clarify me

    i want to know is it mvc architecture ?What do you think? Do you know what mvc is? Do you see any of the "m", "v" or "c" in there?
    how many layers it have ?What layers can you see in it yourself?

  • Date Formatting, JSTL tags and the Spring framework

    Hi all, i have a small problem and i am hoping maybe someone here knows the solution. I am using a date field in a search page, binding it using a customDateEditor, and using a validator for correct formatting. The problem i have is this: i am using the <spring:bind> tag so that the page will return with the value that caused a validation fault. But even if the page succeeds it is submitted back onto itself, this time carrying the search results. But this time the date field will return in a completly different format. I cannot use the <fmt:formatDate> tag because of <spring:bind>. How can i register a "reverse" bind editor if you will, something that will print my data according to a specific format depending on the class?
    Code snippet follows :
    <spring:bind path="filesRequest.fileEndDateSearch">
    <input type="text" id="fileEndDateSearch" name="fileEndDateSearch" class="txtBox" value="<fmt:formatDate value="${status.value}" type="date" pattern="yyyy-MM-dd" />"/>
    </spring:bind>
    Using <fmt:formatDate> for the ${status.value} will cause an exception in case the validator fails, as the format date tag will try to parse the erroneous input.
    Just in case i was not that clear in the first paragraphs, here's exactly what i'm trying to achieve: using the Spring framework i want to design a search page that submits back onto itself(with or without some search results) that takes advantage of the validator, the <spring:bind> tag (that is to say, if the user submits some erroneous data it is returned to him in the corresponding field so he can correct it) and somehow should format the data it receives from the form according to a specific format.

    If you don't want the default localized version, I think you might have to do your own logic for how to display the dates.
    <fmt:formatDate value="${now}" dateStyle="SHORT"/> might be close... but
    with the following you can set the patterns to what you want. No automagic though :(
    <fmt:formatDate value="${now}" pattern="MM-dd-yyyy"/>

  • What is the diffrence between a blanket PO and a Framework order?

    What is the diffrence between a blanket PO and a Framework order?

    Hi
    You have to use document type Frame work order for Blanket PO.
    You can use blanket purchase orders to procure consumable materials or services for which it is not worth creating a separate purchase order for each procurement transaction. 
    Blanket purchase orders are usually valid for a longer period of time. You can directly post the invoices for the materials and services procured for this blanket purchase order.
    Raju

  • What is the disadvantage of uninstalling Intel Dynamic Platform and Thermal Framework?

    I have Yoga 13 and after I found that Intel Dynamic Platform and Thermal Framework (DPTF) is throttling my CPU to 800 MHz in non laptop mode, so i uninstalled it, and it works wonder.
    However I see that in my Device Manager, there are two devices that needs driver.
    So what is the disadvantage of uninstalling Intel Dynamic Platform and Thermal Framework? what is the after effect? Is it safe to uninstall it?
    Thanks.

    Sorry, I don't think this will help, but...
    I have been investigating why my Yoga-13 might be freezing up (about once every other day). While looking at errors in the event log, I came across errors that led to the following sites when I googled the error:
    http://en.community.dell.com/support-forums/laptop/f/3518/p/19481625/20262664.aspx
    http://forum.notebookreview.com/dell-xps-studio-xps/650572-new-dell-xps-l521x-ivy-bridge-536.html#po...
    Probably not any help.
    If you do get it installed and you experience your yoga freezing up (no response to any input), please post here.

  • Must I use spring Framework with JSF2 and Hibernate?

    Hi all,
    I'm starting to develop a web portal and I would use JSF2 and Hibernate.
    Now I don't know JSF2 so I searched some tutorial.
    I found a tutorial on JSF2 that seems very complete but in this tutorial I found a section where the author use Hibernate for the "model section", JSF2 for the "view section" and Spring for the "controller section"!
    Now I have a doubt, can I develop a web portal without Spring MVC or I can't develop any controller's component with JSF2?
    Thank you for your replies!

    For Ram, do you mean that JSF2 isn't a MVC framework with your reply?
    For Kayaman, the author did some examples how implements some frameworks with JSF2 and he do 3 examples:
    1) JSF2 and JDBC;
    2) JSF2 and Spring;
    3) JSF2, Spring and Hibernate!
    However, after this thread, I found a forum in linked to the tutorial and I asked why they use JSF2 and Spring together! Now Im waiting the answer!
    For Gimbla2: well, I'm novice on JSF2 but I develop for some years with ADF and JBO framework!
    You are right to tell me "On the official sites you can find all informations" but I would know some things from some one that used both frameworks!
    Thanks again to all.
    Edited by: Filippo Tenaglia on 20-giu-2011 14.16

  • How to develop and deploy Spring framework app in Sun One App Server 8.1

    Hi,
    Can anyone give sample on how to develop and depoly spring framework application in J2EE 1.4 Server or Sun One App Server 8.1 .
    Its very urgently needed for my project to learn and implement spring framework i would very thankful if any one can help.
    Thanking You
    Naveen

    Pretty standard for AS8 to deploy Spring. The only thing to watch for is the security manager, which you'll probably want to turn off.

  • What is JSF and where use it

    hi!
    i dont know what is jsf and where use it
    what different from JSTL
    thanks...

    At this level a visit to JSF-Tutorials (http://www.jsftutorials.net/) might the best thing to do. Or dig into a book.
    Basically it has a different scope than JSTL.
    JSF is a presentation layer framework. Other names in that area are:
    Struts, Spring MVC, Tapestry, and many more
    JSTL is a collection of JSP-tags and therefor covers only a VERY small part of the presentation layer. And it is very far away from a framework
    hth
    Alexander

Maybe you are looking for

  • Issue with using a form saved in ES3 that was created in ES2

    I have a base doc form that was created using ES2 designer.  This file is stitched together with several other documents to create a application pdf.  The file contains javascript, etc.  Everything works correctly when I run the process that stitches

  • SAP Business One Development Associate

    Hi all, Can I get  'Sample Questions'  for SAP Business One Development Associate Certification. Please help me, Where I can get, if you have kindly send mail. Regards, Vinoth

  • Marketplace adapter (receiver) - DDID issue

    Hey guys! We are trying to configure the Marketplace adapter in XI to act as a receiver communication channel. Our scenario is like this: SRM (Purchase Order)  >  XI  >  MarketSite (Purchase Order) It seems as if we need to define the DDIDs (Document

  • Extention Manager CC update problem

    Over several weeks I have tried to install the Extension Manager CC update and it always fails.  I completed everything that is noted in FAQ and troubleshooting.  My last attempt included, uninstalling Extension Manager and re-installing.  I continue

  • Word 2010 and Adobe Acrobat Pro arent playing together nicely

    Adobe keeps giving me an "unexpected error" when trying to convert a pdf from an existing Word 10 document.