DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

The Latest Culture and Methodologies Topics

article thumbnail
Enable Docker Remote API on Docker Machine on Mac OS X
Check out how to enable the Docker Remote REST API on a Docker Machine running on Mac OS X in this neat tutorial!
February 12, 2016
by Arun Gupta
· 9,668 Views · 2 Likes
article thumbnail
Using Parameter Converters in JAX-RS
Here's how to use parameter converters in JAX-RS, with injection made simple, rules, and exceptional scenarios.
January 29, 2016
by Abhishek Gupta DZone Core CORE
· 24,583 Views · 6 Likes
article thumbnail
SCIPAB: 6 Steps to Reach Your Audience
Taking the SCIPAB approach for starting conversations and presentations for agile use cases.
January 27, 2016
by John Vester DZone Core CORE
· 63,608 Views · 2 Likes
article thumbnail
Craft Your Team Culture Using a Team Manifesto
A sample "team manifesto" to help craft your company culture in the direction you want it to go in.
January 21, 2016
by Sam Atkinson
· 11,723 Views · 5 Likes
article thumbnail
Building High Performance Big Data Analytics Systems
Learn various performance considerations when building your own analytics systems
January 19, 2016
by Rohit Dhall
· 16,187 Views · 23 Likes
article thumbnail
Agile in the Defense Industry: Milestone Reviews
Defense programs have built-in checkpoints, with formal reviews and document deliveries more suitable for waterfall than agile. Agile programs find creative ways to make things work.
January 13, 2016
by Alan Hohn
· 5,160 Views · 3 Likes
article thumbnail
Why Journald?
Journald is a log data storage and collection system. Here's an overview of Journald, and why it's great, with a glance at Syslog issues and Journald improvements.
January 10, 2016
by Karen Sowa
· 7,565 Views · 3 Likes
article thumbnail
Getting Started With the JBoss EAP 7 Quick Starts
Check out how to get up and running with JBoss Enterprise Application Platform 7! This comprehensive video will get your going with JBoss EAP 7.
January 1, 2016
by Markus Eisele
· 4,134 Views · 3 Likes
article thumbnail
JBoss EAP 7 and NoSQL Using Java EE and Docker
Developers can write applications to Couchbase using many different languages and multiple SDKs. This post explains how to deploy and access a NoSQL database from JBoss EAP 7.
December 28, 2015
by Arun Gupta
· 10,740 Views · 5 Likes
article thumbnail
4 Types of Bugs Automation Detects Best
A list of what kinds of defects are most easily detected by automated testing, reducing the workload of your QA teams.
December 17, 2015
by Sanjay Zalavadia
· 8,253 Views · 3 Likes
article thumbnail
Understanding Thread Interruption in Java
How to get a task running on a separate thread to finish early, or make that task responsive to such a finish request.
December 12, 2015
by Praveer Gupta
· 96,806 Views · 12 Likes
article thumbnail
A Day is Not 60*60*24 Seconds Long
A review of how to express dates in JavaScript, using a junior programmer's code as an example.
November 20, 2015
by Swizec Teller
· 80,998 Views · 10 Likes
article thumbnail
The Role of Specifications in Agile
It's commonly said that everyone does Agile differently. In my experience, it's also common to do basically whatever you want and call it Agile. It can be useful to occasionally reset and examine what canonical Agile recommends.
Updated November 13, 2015
by Chase Seibert
· 9,060 Views · 2 Likes
article thumbnail
ScrumDude, to ScrumMom, to Scrum Master
Things I learned on my path from a Technical Lead to a Scrum Master. My transition flowed from ScrumDude, to ScrumMom, to finally Scrum Master.
November 13, 2015
by John Vester DZone Core CORE
· 8,898 Views · 7 Likes
article thumbnail
Command Patterns in Spring Framework
A look at how to implement the command pattern in the Spring framework.
October 26, 2015
by John Thompson
· 16,473 Views · 6 Likes
article thumbnail
Reactive Trends on the JVM
Check out these Reactive trends on the JVM, including a look at what Reactive is, patterns, and event logging.
October 26, 2015
by Jonas Bonér
· 13,105 Views · 4 Likes
article thumbnail
Velocity Momentum: How to Make It Work for Project Planning and Management
Insights on how to make an average velocity concept a powerful tool for your Agile team.
September 17, 2015
by Darya Korsak
· 4,996 Views · 1 Like
article thumbnail
STRUTS 2 vs SPRINGMVC: Know the Difference & Choose the Best One Based On Your Requirements
Apache Struts 2 and SpringMVC, these two are the most popular and much talked about Java web frameworks today. Many of you might have worked with both of these frameworks, but which is one is better to use? What are the basic differences between both of these frameworks? Well, Apache Struts 2 is an elegant and extensible framework that is used for creating enterprise-level Java web applications. It is designed to streamline the development cycle, starting from building to deployment and maintenance of the application. In Struts, the object that is taking care of a request and routes it for further processing is known as “Action”. On the other hand, Spring MVC is a part of a huge Spring framework stack containing other Spring modules. This means that it doesn’t allow developers to run it without Spring, but the developers can run the Spring Core without Spring MVC. The Spring MVC (Model View Controller) is designed around a DispatcherServlet, which dispatches the requests to handler with configurable handler mappings, view resolution and theme resolution. While the objects responsible for handling requests and routing for processing in Struts called an Action, the same object is referred as Controller in Spring Web MVC framework. This is one of the very first differences between Spring MVC and Struts2. Struts 2 Actions are initiated every time when a request is made, whereas in Spring MVC the Controllers are created only once, stored in memory and shared among all the requests. So, Spring Web MVC framework is far efficient to handle the requests than Struts 2. If we talk about the features, Struts 2 and Spring MVC framework caters different level of business requirements. Let’s take a look at features offered by both of these frameworks. Struts 2 features Configurable MVC components, which are stored in struts.xml file. If you want to change anything, you can easily do it in the xml file. POJO based actions. Struts 2 action class is Plain Old Java Object, which prevents developers to implement any interface or inherit any class. Support for Ajax, which is used to make asynchronous request. It only sends needed field data rather than providing unnecessary information, which at the end improves the performance. Support for integration with Hibernate, Spring, Tiles and so on. Whether you want to use JSP, freemarker, velocity or anything else, you can use different kinds of result types in Struts 2. You can also leverage from various tags like UI tags, Data tags, control tags and more. Brings ample support for theme and template. Struts 2 supports three different kinds of themes including xhtml, simple and css_xhtml. On the other hand, Spring MVC framework brings totally different set of features. Spring MVC features Neat and clear separation of roles. Whether it is controller, command object, form object or anything else, it can be easily fulfilled with the help of a specialized object. Leverage from the adaptability, non-intrusiveness and flexibility with the help of controller method signature. Now use existing business objects as command or form object rather than duplicating them to extend the specific framework base class. Customizable binding and validation will enable manual parsing and conversion to business objects rather than using conventional string. Flexible mode transfer enables easy integration with the latest technology. Customizable locale and theme resolution, support for JSPs with or without Spring tag library for JSTL and so on. Leverage from the simple, but powerful JSP tag library known as Spring tag library. It provides support for various features like data binding and themes. Of course, Struts is one of the most powerful Java application frameworks that can be used in a variety of Java applications. It brings a gamut of services that includes enterprise level services to the POJO. On the other hand, Spring utilizes the dependency injection to achieve the simplification and enhance the testability. Both of these frameworks have their own set of pros and cons associated with it. Struts framework brings a whole host of benefits including: Simplified design Ease of using plug-in Simplified ActionForm & annotations Far better tag features OGNL integration AJAX Support Multiple view options and more However, the only drawback with Struts 2 framework is that it has compatibility issues and poor documentation. On the other hand, Spring MVC provides benefits like: Clear separation between controllers, JavaBeans models and views that is not possible in Struts. Spring MVC is more flexible as compared to the Struts. Spring can be used with different platforms like Velocity, XLST or various other view technologies. There is nothing like ActionForm in Spring, but binds directly to the domain objects. Code is also more testable as compared to the Struts. It is a complete J2EE framework comprising of seven independent layers, which simplifies integration with other frameworks. It doesn’t provide a framework for implementing the business domain and logic, which helps developers create a controller and a view for the application. However, like any other technologies or platforms, Spring MVC too suffers from several criticisms related to the complexity of the Spring framework. Final Verdict Either framework is a great choice. However, if you’re looking for the stable framework, Struts 2 is the right choice for you. On the other hand, if you’re looking for something robust, SpringMVC is perfect. Ensure that you review your exact requirements before choosing the framework!
September 15, 2015
by Manmay Mehta
· 32,349 Views · 4 Likes
article thumbnail
My 18 Favorite Quotes on Agile, DevOps, and Continuous Delivery
A list of fun and, oftentimes, true quotes about DevOps and software development.
September 4, 2015
by Yaniv Yehuda
· 25,589 Views · 4 Likes
article thumbnail
Verification and Validation in Automated Testing
A definition of verification and validation in regards to automated testing, and a guide to using them in your workflow.
September 2, 2015
by Denis Goodwin
· 14,197 Views · 6 Likes
  • Previous
  • ...
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • ...
  • Next
  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook
×