Apache web serverApache is by far the most popular Web server today, with a market share of about 60% according to the Netcraft Web server survey Apache is maintained by the Apache Software Foundation Brian Behlendorf and Cliff Skolnick initiated the Apache project in 1995 out of the need for rapid development of new Web server features. The first version of Apache was based on the NCSA HTTPd Web server, and modified through patches The original code base was eventually replaced in the next revision. An important year for Apache was 1998 when an agreement with IBM for the continued development of Apache was reached. IBM now includes the Apache code in its WebSphere server product in web application development Today, many voluntary contributions from companies and individuals guarantee for the ongoing success of the Apache Web server. The following is a list of Apache features for the current version 2.0: • Serves static and dynamic CGI Web pages. Can interface with many dynamic content generation technologies such as Perl, Java Servlets, or PHP. • Highly configurable. Apache is composed of many modules that can be optionally added or removed, as well as configured. • Extensive security features. Several forms of authentication, including SSL encryption are available. • Portable (implementations are available for many platforms, including Windows, Unix, Linux, and OS/2). Apache is available for download, but also ships with most Linux distributions. Kepran is an web application development providing web application development services in web application development Bangalore expertise in web application development India in web app development
When I first came across PHP about three years ago, I never imagined that one day I’d be writing a foreword for a PHP book.As a matter of fact, back then, the possibility that there would actually ever be any PHP books seemed a bit far-fetched. Looking back at what made PHP grow to be one of the most widely used scripting languages for Web development is no less than astonishing. My involvement in the PHP project started, like many things, by accident. As an end user, I’d stumbled on a bug in PHP/FI 2.0—something that was weird enough to get colleague Andi Guttmann’s and me to look under the hood. When we saw the code that made PHP/FI 2.0 tick, we weren’t too pleased with it in web application developmentOn the other hand, we really liked the idea of an HTML-embedded, server-embedded server-side scripting language. So, like good to-be software engineers, we decided it’d be cool to write it from scratch, but this time, the “right way.” Our rewrite of the language, and the huge amount of cooperative work that was put into a wide variety of function modules and sample code, pushed PHP beyond our wildest dreams and expectations. PHP is being used today on well over a million domains on the Internet, and is the tool of choice for server-side scripting in UNIX environments. PHP 4.0 is the next step in ensuring that PHP remains on the cutting edge of Web scripting technologies for years to come.The Zend engine revolutionizes the performance and scalability of PHP-based Web sites. Its integrated session support; built-in XML, Java, and COM support; as well as a bundle of additional features enable the Web developer to develop more powerful dynamic sites, more easily than ever before. Kepran infosoft is a web application development company providing web application development service located in web application development India in web application development expertise in web app development
One important design goal of Web systems is that they be robust and fault tolerant. In the first Web systems at CERN, Web documents, computers, and network configurations were often subject to change. This meant that it was possible for Web pages to contain links to documents or host computers that no longer existed. It is even possible for the HTML specification itself to change, by adding elements, or tags in web application development The browsers and Web servers of the system have to deal gracefully with these conditions. This desire for a high degree of fault tolerance led in part to the decision to use a connectionless protocol, such as HTTP, as the principal protocol for managing document requests. HTTP is considered a connectionless protocol because as soon as the request is made and fulfilled, the connection between the client and server is terminated.The connection is broken by the server when the whole document has been transferred. The client can abort the transfer by breaking the connection before the transfer completes, in which case the server doesn’t record any error condition. The server doesn’t need to store information about the request after disconnection. This enables hosts and clients to act more independently and is more resistant to temporary network outages. HTTP runs over TCP (Transmission Control Protocol), but could run over any connection-oriented service. TCP, a lower-level network protocol used by the Internet and many company networks, enables computers to make connections and to exchange information with one another. TCP, usually combined with IP, is an implementation of layers in the OSI (Open Systems Interconnection) model for network communications. Kepran is an web application development company providing web application development services in web application developemnt Bangalore expertise in web application development ,and have professionals who provide web app development in web application development Bangalore
A controversial element in the HTML arsenal is a frameset. A frameset divides up the browser’s display area into rectangular regions, each rendering its own HTML document. The tag defines the number of frames the display should be broken up into and their sizes or proportions. Separate tags identify each of the frames with a target name. The tags also tell the browser which Web pages to request for each frame when initializing the page. Once a frameset page is loaded, with all its individual frames loaded as well, the user can work with the page. The user can select a hyperlink in any of the displayed pages in web application developmentThe link might specify a new document for the frame that it is in or a page to be loaded in another named frame. The most common use of frames is to define a table of contents and main document frame. The Web page in the table of contents frame is typically a long list of table of content entries, each a hyperlink to an area of the Web site. Each of the links specifies that the “main document” frame, or target, is where the linked Web page should be rendered. The output produced from the JavaDoc application is another excellent example of the use of frames. The parameters cols and rows of the tag define the initial size and the number of frames in the set. For example, the value "20%,50%,*" specifies three frames to be defined. The first occupies 20 percent of the screen; the second, 50 percent; the third, the remaining space, 30 percent. Instead of percentages, explicit widths can also be defined, and that’s where the * value becomes useful. Of course, it is entirely possible for a frame to contain another frameset. This allows designers a little more freedom from a simple matrix frame design and can be used to produce any combination of rectangular regions in the browser’s display. The following HTML fragment defines a simple table of contents–like page. Kepran is an web application development company providing web application development services in web application development Bangalore expertise in web application development in web application development India.
Web Application Development J2EE WTP extends Eclipse in two dimensions: development artifacts and runtime environments. A web development artifact is any source code or configuration file that you need to develop in order to build and deploy your application. A runtime environment is the software context in which your development artifacts execute. For example, consider normal Java 2 Standard Edition (J2SE) development. Here the primary development artifact is the Java source file and the primary runtime environment is the J2SE Runtime Environment (JRE). The simplest J2SE component is a Java main program composed of a public class that has a public main method with the standard signature for passing in command line arguments. Java main programs are design to run in a command shell. In addition to Java main programs, J2SE also defines applets and JavaBeans. Java applets are designed to run in a JRE that is embedded in a Web browser.JavaBeans are designed to be composed with other Java components and have both design-time and runtime programming interfaces. In J2EE, the situation is much more complex. Several additional kinds of Java components, such as servlets, Enterprise JavaBeans, and Web services, are defined. New web application development artifacts types, such as JSP, Extensible Markup Language (XML) deployment descriptors (e.g., web.xml for Web applications), after you download the Eclipse zip file, unzip it in a convenient directory. We use WTP 1.5 in this book: the Eclipse Modeling Framework (EMF), ❍ the Graphical Editing Framework (GEF), and the Java Edit Model (JEM). Download these too. After you download WTP and its prerequisites, install them on top of Eclipse by extracting each one to the directory in which you extracted Eclipse. After you have installed WTP, verify the installation by opening Eclipse. Select an existing workspace or create a new one. Then invoke the menu command Help About Eclipse SDK to open the About Eclipse SDK dialog box. Click the Feature Details button and verify that there are J2EE Standard Tools and Web Standard Tools features installed. Iteration 1: J2EE Web Applications 45 and archives (e.g., Web Application Archive [WAR] for Web applications), are introduced. These new Java components and artifacts run in J2EE application servers. The simplest J2EE application servers are servlet containers. More advanced containers support Enterprise JavaBeans (EJB) and offer a wide variety of application services such as transactions, Kepran infosoft is a web application development company providing web application development service located in web application development India in web application development expertise in web app development
Web Application Architecture The basic architecture of a Web application includes browsers, a network, and a Web server. Browsers request Web pages from the server. Each page is a mix of content and formatting instructions expressed with HTML. Some pages include client side scripts that are interpreted by the browser. These scripts define additional dynamic behavior for the display page and often interact with the browser, page content and additional controls (Applets, ActiveX controls and plug-ins) contained in the page in web application development The user views and interacts with the content in the page. Sometimes the user enters information in field elements in the page and submits them to the server for processing. The user can also interact with system by navigating to different pages in the system via hyperlinks. In either case, the user is supplying input to the system which may alter the “business state” of the system.From the client’s perspective, the Web page is always an HTML formatted document.5 on the server; however, a Web page may manifest itself in a number of different ways. In the earliest Web applications, dynamic Web pages were built with the Common Gateway Interface (CGI). CGI defines an interface for scripts and compiled modules to give them access to the information passed along with a page request. In a CGI-based system a special directory is typically configured on the Web server to execute scripts in response to page requests. When a CGI script is requested, the server, instead of just returning the contents of the file (as it would for any HTML formatted file), processes or executes the file with the appropriate interpreter (usually a PERL shell) and streams the output back to the requesting client. The ultimate result of this processing is an HTML-formatted stream that is sent back to the requesting client. Business logic is executed in the system while processing the file. During that time it has the potential to interact with server side resources such as databases and middle tier components. Today’s Web servers have improve Kepran infosoft is a web application development company providing web application development service located in web application development India in web application development expertise in web app development
MODEL-VIEW-CONTROLLER ARCHITECTURE When developing a web application using JSP technology, there are two approaches that are typically used: JSP Model 1 and JSP Model 2 architectures. The main difference between these two architectures is where the majority of the controlling and business logic resides. In the JSP Model 1 architecture (see Figure 1 below), the JSP not only contains the HTML necessary to produce the user interface but is also responsible for processing the user’s request in order perform the necessary business logic to control the dynamic content generation. The resulting JSP ends up containing a significant amount of embedded Java code, referred to as script let code. While this might not seem like a big deal, the JSP quickly becomes unwieldy and difficult to maintain and modify. The Model 1 architecture makes it impossible to maintain the role separation when developing a Web application. The page author now needs to know and understand Java in order to make even the simplest change to the user interface in the JSP. These types of Web applications are not flexible and difficult to reuse.In the JSP Model 2 architecture both the Servlet and JSP technologies are leveraged to develop a Web application. A servlet is used to control the flow of the application, processing the user’s request, performing the business logic in addition to creating and modifying any objects or beans that are needed by the JSP. A JSP is strictly used as a presentation layer which consumes the previously created objects or beans from the servlet via custom tags. The JSP contains no control or business logic. Using this architecture allows a clear separation of roles between the Java developer and page author. The Java developer focuses on the servlet and all associated JavaBeans that contain the business logic. The page author concentrates on creating the user interface using HTML and custom tags in the JSP. Kepran infosoft is a web application development company providing web application development service located in web application development India in web application development expertise in web app development
COMPOSITES AND TEMPLATES OF WEB APPLICATION DEVELOPMENT When a component contains more than one sub-component, this is referred to as a composite Transformation Bean. All composite Transformation Beans implement the com sas servlet beans. Composite Component Interface which has the necessary method for manipulating the sub-components within the composite web application development The following Transformation Beans are composite components: - Dual List Selector – Dual Tree Selector – Tree List Selector – Table View Composite The layout of the sub-components of a composite component is controlled by an external template file. Each composite component listed above has an associated default template file that is located in your /templates directory.The layout of the composite can be customized to meet your needs. Maybe you just need to tweak the default template slightly to shift around the sub-components. Or maybe you need to add new components and completely overhaul the template to fit your requirements. Both of these can be done by either modifying the associated default template for that Web application or create a new template and applying that template to the component using the set Template File Name() or set Template() methods. Within a template, there are named substitution parameters which are used to position the sub components of the composite within the template. The substitution parameters begin with a % and end at the next non-Java identifier. Each composite component has an associated Keys Interface which contains the valid sub-component keys used in the template. For example, the com.sas.servlet.tbeans.dualselector.html.Dual List Selector class has its subcomponent keys defined in com.sas.servlet.tbeans.dualselector.html.DualListSelectorKeysInterface. Kepran is an web application development company providing web application development services in web application development Bangalore expertise in web application development in web application development India.
SAS Custom Tag Library Custom tags that enable a page author to take advantage of Transformation Bean without knowing all of the required Java APIs. Debugger with support for remote and JSP debugging the integrated debugger extends familiar use of breakpoints to Web applications. You can even set breakpoints in the compiled JavaServer Pages source tab of the editor (available for supporting Web SUGI 29 Applications Development 7 servers, including the Tomcat server that is integrated in webAF).Auto-serve of current project As you create a new Web application project, the webAF Web server will automatically serve your application, so you can just click the Execute in browser toolbar button to test it. After you make a change and rebuild the project, clicking this button again will automatically stop and restart the Web server, so your changes will be reflected in the served content. Deployment support and generation of WAR file a menu command consolidates your entire Web application into a single .war file that can be deployed to compliant web servers. During construction the web deployment descriptor (web.xml) file is validated automatically and a user-supplied or generated Manifest.mf file is included in the .war file. Ant-based customizable builds Build scripts are generated by webAF using standard Ant XML files, and are automatically modified as you add new files to your project. Build files can also be customized with user-defined targets. Start and stop Web servers convenient menu commands are provided to start and stop the current Web server. Integrated Struts and JSTL support the popular open-source, industry standard Jakarta Struts framework can serve as foundation for your Web application. Select an option in the project wizard, and webAF will automatically include the required XML files and tag libraries. The JavaServer Pages Standard Tag Library (JSTL) is also integrated, to reduce or eliminate the need for Java code snippets in JSP files. Kepran is an web application development company providing web application development services in web application development Bangalore expertise in web application development in web application development India.
BENEFITS OF WEBAF FOR WEB APPLICATION DEVELOPMENT Web applications use a diverse collection of technologies stitched together with various kinds of linkages and relationships, often in a large number of files. Conventional Web application development usually involves using a variety of command-line tools in various packages and developing batch files to try to add a degree of consistency to the process. webAF offers a refreshing alternative. It helps you manage this complexity with a single consistent, integrated tool, thus reducing or eliminating much of the drudgery of development, testing and deployment. Best of all, webAF provides tight integration with other SAS technologies, bringing all the power of SAS to life in your Web applications.FEATURES 1. Integrated Development Environment (IDE) webAF presents you with a familiar and intuitive GUI development center, with the features of program development extended to include web development. 2. Project wizard with content templates The project wizard jump-starts your Web development by letting you choose the features that you want to include and initial content of your project. Starter files are then generated for you, including a web.xml file. An initial JSP file includes declarations of tag libraries supporting the features you selected. Servlets have boilerplate code for the standard methods. You can also "adopt" an existing Web application in the new project wizard. 3. Systematic locating of projects and directories when you start a new Web application project, webAF automatically supplies the necessary directory structure, and populates the WEB-INF\Lib directory with the JAR files needed. You can specify the base directory for your Web application to be external to the project directory, too. 4. Automatic updating of build file and web.xml As you add or remove servlets and/or Java source files from your project, webAF automatically updates the build.xml file to include the file and class path information and updates the deployment descriptor (web.xml) to include the necessary servlet declaration and mapping. Kepran is an web application development company providing web application development services in web application development Bangalore expertise in web application development in web application development India