Create a web application that will be the foundation

Assignment Help Computer Engineering
Reference no: EM133703709

The code name for this App is "Loggy", which is meant to offer functionality for a personal journal where users can log their daily activities through text, voice and video.

3. Your first iteration will be to create a web application that will be the foundation for the Microblogging System under the following assumptions:

a. Users submit their logging activity through a web page to a single thread in the same way Twitter users submit their posts. A form containing an input box and submit button is shown at the top and under that, a list with all the previous submissions ordered by the timestamp in descending order.

b. A short title (60chars) and a short description (120 chars) is required. After that, the user attaches the actual content, which can be a text, picture, audio or video file.

c. The file is processed in the server and a thumbnail is shown right below the description.

Part I:Web Application

1. Start by creating a web application based on a Dynamic Web Project.

2. Create a class that will represent the basic Log. The minimum attributes required include:

a. An ID
b. Title
c. The Log Content
d. A Timestamp of creation

3. This class can be based on the ones created as part of the Assignment 1. Although for this case, only one type of Log will be used, and this will not include an attachment. Therefore, it can be seen as a lightweight of the previous model. For this reason the class TextLog may be the best fit for this exercise.

Servlet Class

you will then create a Servlet Class that responds to a GET request with a HTML form where a user can submit the Title and the Log Content.

5. Extend the Servlet Class for receiving a POST request with the submission.

a. Create a Log object with the data received
b. Store the object created in memory and respond to the user with a message of success or error in a HTML page.

6. Extend the response so the HTML page rendered includes the message at the top, the form right below, and a list with all the submissions ordered by the timestamp at the bottom.

7. Extend the HTML page so the user has a link per Log for deleting it.

8. Extend the Servlet so it can process the new request for deleting the object and as a response will render the HTML page updated.

9. Extend the HTML page so the user has a link per Log for editing it.

10. Extend the Servlet so it can process the new request for editing the object and as a response will render the HTML page with the form prepopulated with the Log selected.

11. Extend the Servlet so it can now process a new request for updating the object and as a response will render the HTML page updated.

Part II:Data Persistence

1. Part II of this is to create a database and a table for persisting the Logs on HSQLDB (or MySQL).

2. Create a class that will represent the Log as the data object persisted in the database.

3. Create a service class that will function as intermediator between the servlet and the database.

4. Implement in the service class the methods for creating, reading, updating and deleting (CRUD operations) Data Objects on the Database using a JDBC connection.

Reference no: EM133703709

Questions Cloud

Account expiration values : define default account settings, including home directory location, preferred shell, and account expiration values
What type of dependency does this indicate : The second task is to develop the web pages based on the designs. What type of dependency does this indicate
Clients for the cardinal signs of inflammation : The nurse assesses clients for the cardinal signs of inflammation.Redness Edema Warmth Pulselessness Pallor-The nurse is planning care for a group of patients.
Identify ways you may improve the instruction to make recipe : Identify 1 to 2 ways you may improve these instructions to make the recipe more efficient. Why might this be important?
Create a web application that will be the foundation : Create a web application that will be the foundation for the Microblogging System under the assumptions
How that problem is solved with modularity : How that problem is solved with modularity. Write a program to calculate U.S. income tax owed given wages, taxable interest, unemployment compensation, status
Model for network communication : Internet are identied by a unique 24-bit number that identies a network and specic host within that network. model for network communication
What will be the approximate size of the train dataframe : What will be the approximate size of the train DataFrame - If we assume that we run the given code
Mario is scheduled for gall bladder surgery : Mario is scheduled for gall bladder surgery. Prior to intubation, Mario is given pancuronium through their IV line. What will Mario's response be to pancuronium

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd