logo

Report on Advance Web Solutions

27 Pages5357 Words308 Views
   

Added on  2019-12-04

Report on Advance Web Solutions

   Added on 2019-12-04

ShareRelated Documents
Advance Web Solutions
Report on Advance Web Solutions_1
IntroductionA web application can be regarded as the summation of web components, HTML/XMLand other resources. It is formed inside a directory structure known as web archive file. It offersdifferent kinds of services to the clients and it is placed on a central server. An application using a new web technologies to content a dynamic effects and providethe business logic of the server. It offers very cost effective methods in the analysis, storage andretrieving of the information. Web-based application is an online tool which can be accessibleeasily on public platform. It is available on web pages and helps in fulfilling different types ofapplications and objectives (Bhargava, Power and Sun, 2007). One of the main advantage ofWBA is that it is simultaneously accessible from multiple locations. From anywhere the internetavailability can be found. Presence of this advantage has made the planning of resources veryeffective. Apart from providing information, internet is also widely used for global services. Itoffers an attractive opportunity for sharing of the information in an interactive manner. Servlets Servlets are Java programs which performs the integration with a web server so thatserver side processing of request from a client browser can be provided. A web server is neededwhich gives support to the JavaServer technology. For example a server named Tomcat webships with JBuilder. It can be noted that Tomcat has the potential to integrate with web serverswhich does not offer any support to the JavaServer technology (Driscoll, 2010). For example IISis one of the application. In order to replace Common Gateway Interface (CGI) programs, Javaservlets can be used. Further they can be used in the same situations where the developers mighthave used them previously. The advantages associated with the servlets over CGI are as follows:It reduces memory overhead It creates protocol and platform independence In order to send requests to the servlet, a client program is used. The client can be simple likean HTML page. It could also be used a program written in a language other than Java. Further itcould also be used an applet for the client. On the platform of the server, the servlet generates therequest and develops a output which is dynamic in nature. It is again sent back to the client. Ithas been seen that users generally do not have a UI but optionally it can be provided on the clientside.
Report on Advance Web Solutions_2
Similar to the other internet application, the web based GIS is based on the simple serverclient model. Computer is a client which sends requests to the server computer under the server-client system. Here the server computer processes the requests and then it is send back to theclient. The servlets are not of downloaded nature. It facilitates the users to do processing on theserver instead of on the client. It extends the capabilities of the servers which host theapplications which are accessible on two way request response process. INTERNETBEANS EXPRESSJBuilder’s InternetBeans Express technology comes into integration with the servlet andJSP technology so that value can be added to the application. It also offers effectiveness to theJSP development tasks. InternetBeans Express is a set of components designed to generate andrespond to the presentation layer of a web application. Static template pages are obtained andthen dynamic content from a live data model is inserted and them it is presented in front of theclient. Any changes required from the client are written back into the data model. Hence thedevelopment of data-aware servlets and JSPs becomes easier. The InternetBeans Express consistof contains built-in support for DataExpress DataSets and DataModules. However it can also beused with generic data models and EJBs. STRUTS Struts is a kind of Web application development framework which is create on the basisof MVC architecture. It is designed for the J2EE platform. It has to be noted that Struts havebecome the required standard for creating web applications. It is comprised of tools which arebased on standard technologies such as Java Servlets, JavaBeans, JavaServer Pages and manymore. These technologies brings enhancement in the development process of creating webapplications. It makes the developers more productive. Struts is not only the framework forcreating web application. Apart from that it also contains an extensive tag library and utilityclasses. Both of them are of independent nature and also work independently. The struts open source framework is based on the Model 2 or Model view controller. It isan effective approach for software design. Under this framework, the model consists of the dataand the view is the presentation of the data. Here the controller has the power to control theinteraction between the model and the view.
Report on Advance Web Solutions_3
The view is generally a JSP pageThe controller is a Struts servlet called ActionServlet. The model can be taken as any data access technology from JDBC to an EJB. The framework facilitates the developers to focus on business logic and presentation insteadof the entire web application. It also helps in narrowing down what has been develop. It will bestarted with vigorous set of tools and reusable elements. It is very effective in developing thebusiness logic and making the presentation layer quicker. The framework which is a summation of servlets, tag library, JSP tags and other resourcesmakes the segmentation of the HTML from the JAVA code. The visual presentation is alsoexcluded from the business logic.The main classes which makes up the framework are as follows:ActionServlet and ActionMapping classes Under the struts, the Action Servlet class act as the controller part of the MVCarchitecture. It is also in the core of the framework. This servlet is arranged through defining aset of Action Mappings. These mappings are defined through the struts-config.XML file. Thiskind of file is having the entire logical flow of application. Each action mapping defines a pathwhich matches the possible incoming URI request and it helps in specifying the completelyqualified class name of an Action class. Action classAction class supports in knowing the link between business logic along with strutsframework. Further, it is possible to understand about the business logic with the help of Javabeans. Action can call the properties of Java bean without considering the way in which itactually works. This summarizes the business logic so that overall actions can relies on the realoutcomes along with the error handling and in turn dispatching control to develop the response.ActionForm classAction form class makes very easy to save and validate the data for the application inputform. It is possible to save action form automatically in any standard being provided along withthe shared context collections. Through this it is possible to use it in other objectives like JSP orin any other form. This form can be employed by JSP to gather large amount of information fromthe users through an action object to validate the user entered data along with the JSP to re
Report on Advance Web Solutions_4
populate the form field. Apart from this when validation errors are found then Strusts haveshared mechanism for highlighting all the massages which are not appropriate. One of the main benefit of employing struts is that it supports in dividing HTML tagsalong with the java code. Further, with the help of struts it is possible to understand about webapplication easily. It is not required for web designer to search through java code with the motiveto bring changes in the presentation and developer does not has to recompile code at the time ofredesigning flow of the application. Apart from this, complexity the struts framework has somedisadvantage for the Java developer. Jbuilder supports in providing robust set of techniqueswhich supports in simplifying the complexity and assists in keeping classes and XML files insync. APPLETS When Java language introduced first there was ado about the applets. Web technologies wasnot developed so the developers faced problems in the applet to solve the problem. For javabeginner course it is first assignment to develop an applet, it becomes popular to learn anydevelopers. Reliability on applets is a common problem to java developers. It is a problem solverapplication but not a magic to solve web development problem. The disadvantage Sometime it is not easy to carry on deployment and testing.In its browsers the client machine rely on java enable.Different versions of the JDK are available on different browsers and not a latest version at first time the applet can be slow because it is downloaded by the client. There are some advantages to using applets. This include: Applets can provide more complex user interfaces (UI) than servlets or JSPs. Since applets are downloaded and run on the client side, the web server doesn’t need tosupport Java. This can be important if you are writing a web application for a site whereyou don’t have control over the web server (such as a site hosted by an outside ISP).
Report on Advance Web Solutions_5
Applets can locally validate data entered by the user, instead of validating it on the serverside. You could also accomplish this with JavaScript in conjunction with a servlet or JSP.After the initial download of the applet, the number of requests from the browser to theserver can be reduced, since a lot of processing can be accomplished on the clientmachine.DECIDING WHICH TECHNOLOGY TO USE IN YOUR WEB APPLICATIONNow that you’ve seen an overview of the various web technologies, how do you decidewhich to use in your web application? The following tips may help you make this decision: If your UI is more complex than just data entry components (such as text fields, radiobuttons, combo boxes or list boxes, submit buttons, etc.) and images, you may want touse an applet. If you want to do a lot of server-side processing, you should use a servlet or JSP. If you want to avoid making your users download a lot of code and speed up applicationstartup, you should use a servlet or a JSP. If you want control over the version of the JDK for the application (without downloads),or you are concerned about users who have Java disabled in their browsers, you shoulduse a servlet or a JSP. If you are looking for a replacement for CGI, with less memory overhead, you should usea servlet or JSP. If you need something similar to an ASP, but you prefer it to be platform independent,you should use a JSP.If you need a complex UI, but you also want some of the features of servlets or JSPs,consider combining an applet and a servlet. You can have an applet on the browser(client) side talk to a servlet on the server side. If you want to use a servlet or JSP, and you want to make it data-aware, you should useInternetBeans Express. If you’re thinking of developing a tag library of standard routines, such as controlstructures or date and number formatting, look at JSTL first to see if it already has theroutines you need.
Report on Advance Web Solutions_6

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Advantage of Applets
|3
|806
|486

F28WP Web Programming - Product Ordering Web Service | Assignment
|2
|1144
|277

Development of the Shopping Cart Webpage Using Java
|6
|680
|206

Enterprise Application Development | Assessment
|6
|1390
|18

Web Application Development Assignment Sample
|9
|2703
|181

Enterprise Software Development Assignment
|7
|1200
|42