Tutorials for Apache Jakarta projects: Apache Tomcat, Apache Commons, Apache Ant, Apache Taglibs, Apache POI, Apache Velocity...
Following features are provided by the Apache JMeter.It might test different server types: 1. Web – HTTP & HTTPS
3. Database through JDBC
6. Mail - POP3(S) & IMAP(S)100% Java purity & complete portability.Concurrent sampling is allowed by the full multithreading framework, by various threads or simultaneous sampling of functions by the help of separated thread groups.Precise timings and fast operations
The Apache JMeter,being a desktop application has been designed in a way that it helps to load test client or server software. It is purely one hundred percent Java desktop application. Performance of the given could be tested by it.
• Static files
• CGI scripts
• Java objects
• FTP servers
• Java Servlets
JMeter is used in load testing simulation of a network, object or a server.
Test scripts are also created by
Struts framework has been organized in twelve “top leveled packages”. It consists of three hundred interfaces and classes. Interfaces as well as classes are provided by struts framework to work along with controller or presentation, with custom tag libraries support.
The Struts view is detailed here: The Struts Controller Components: All user requests are handled by the Struts Action Servlet. A request is been received, URL is interpreted and Configuration files
Struts1 extends the abstract base class by its action class. The problem with struts1 is that it uses the abstract classes rather than interfaces.While in Struts 2, an Action class implements an Action interface, along with other interfaces use optional and custom services. Struts 2 provides a base ActionSupport class that implements commonly used interfaces. Although an Action interface is notnecessary, any POJO object along with an execute signature can be used as an Struts 2 Action object.Struts
Simple POJO based ActionsThread SafeSimplified testabilityAJAX SupportjQuery PluginAJAX Client Side ValidationDojo Plugin (deprecated)Template SupportEasily extended with PluginsResult types are supportedREST Plugin (Extension-less URLs, REST based Actions)Spring Plugin (Dependency Injection)JFreechart Plugin (Charts)Rome Plugin (RSS Feeds)Convention Plugin (Action Configuration through Annotations & Conventions)Hibernate PluginjQuery Plugin
By using web form in a typical or standard Java EE web application, information gets submitted to the server. Information is then sent on to the Java Servlet, which will be performing:
• Information Processing
• Interaction with a database
• HTML formatted response is produced.
This information could also be passed on to a JSP that brings out the similar results. For larger projects, they are not suitable and it becomes tough to do the separation of the
Apache Struts are used for development of the web based application, being an open sourced framework. It is free.
Web based applications are entirely different as compared to the typical sites because the web applications make dynamic responses for request. They are dynamic in their nature and may interact with business logic engines and databases for customizations of responses.
Web applications are based at:
• Java Server Pages
• Page design code
Pure Java and Polyglot: It is written in Java language. Components and pages can be coded in Scala or Java Groovy.Convention over Configuration: “Endless” XML configuration files are of no more use. Meta-programming & Dependency injection via naming conventions and annotations.Highly productive: Live class reloading is the time b/w an error observations and fixing it in seconds.Scalable: On a single server, it Scales up big. Also, it works good in a cluster.Advanced Exception
For Java web applications, Apache Tapestry is open source & component oriented framework for implementations of the applications according to the model view controller pattern, or architectural pattern. Basic focus of the Apache Tapestry is at easy usage and productivity of the developer. Following is being offered by it.
• Focuses at the developer productivity.
• Modular approaches for the web development
• Focuses at easy usage.
• XML configurations elimination.
Apache Velocity is used by various common application types, which are as following. Web applications: HTML pages are created by the Web designers for dynamic information, with placeholders. Frameworks that support velocity or the VelocityViewServlet process the page.Source code generation: Based at templates SQL, Java source code or PostScript are generated by the Velocity. Velocity is used by various commercial development software packages and open source.Automatic emails:
Different technological combinations make an Apache Velocity. Template engine is the Apache velocity’s central component. Heavily adopted template engine is the Apache Velocity in Java industry. It is used widely by the Programmers.
Template engine’s overview would be discussed in this post.
A model is transformed to a resultant artifact by template engine, by using instructions which are referred as a template. Major components present are:
Clients of Apache POI API are index builders, content management system, web spiders and many other text extraction applications. Apache POI is used by these applications excessively so that to do the manipulation of their operations.
Question arises that why one shall use POIFS, XSSF and HSSF?
Answers to these questions are as following. You can use POIFS in case your documents have been written in format OLE2. It makes you read the documents that
Apache POI project consist of the following components. Poor Obfuscation Implementation File System (POIFS): It is involved in writing and reading the format of the MS OLE 2 Compound document. All MS Office files are basically OLE files and this component is POI element’s basic building block. POIFS assist to read variety of files.Horrible SpreadSheet Format (HSSF): Microsoft Excel (XLS) format file are read and written by it. Files could be read by it which is being written
Apache POI is apache project which provides the access of MS format files to Java APIs. POI means Poor Obfuscation Implementation. It is a great API for MS document format access. Java programmers find it to be a best solution. APIs are present in POI to manipulate different formats of files which are based at the MS OLE 2 Compound Document, using pure Java. By using Java, you can write/read MS Excel files. A spreadsheet could also be created through Cocoon serializer.
HSSF is the pure Java
In market, various application servers are present. To make a choice b/w them is a tough task. B/w them, Tomcat is one of the best choice. Tomcat offers these features which make it different from other competing solutions. Light and Fast: Tomcat is a highly optimized and light weighted servlet container. While it servers JSPs, everything is outperformed which includes open source based projects like JBoss and Geronimo.Scalable and Flexible - Tomcat is preferred by the developers
Apache Tomcat is considered to be open sourced “software implementation” of the JavaServer Pages technologies & Java Servlet. Java community process is involved in development of JavaServer Pages & Java Servlets.
Apache Tomcat gets developed in open participatory environment. This is released in Apache License version 2. Best of breed developers worldwide are collaborated to create it. You can take an active part in this development project.