Very Imp Que Web Tech Important Short Question and Answer
Very Imp Que Web Tech Important Short Question and Answer
1. What is HTML?
HTML stands for Hyper Text Markup Language. It is a language of World Wide Web. It is a standard text
formatting language which is used to create and display pages on the Web. More details...
HTML tags are composed of three things: opening tag, content and ending tag. Some tags are unclosed tags.
content, and
tags
Content is placed between tags to display data on the web page. More details...
No. There are some HTML tags that don't need a closing tag. For example: <image> tag, <br> tag.
HTML elements communicate to the browser to render text. When the elements are surrounded by brackets
<>, they form HTML tags. Most of the time, tags come in pair and surround content.
No, you can use hyperlinks on text and images both. More details...
A style sheet is used to build a consistent, transportable, and well designed style template. You can add
these templates on several different web pages.
Yes. To create a multicolor text on a web page you can use <font color ="color"> </font> for the specific
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
The color of the bullet is always the color of the first text of the list. So, if you want to change the color of the
bullet, you must change the color of the text.
Marquee is used to put the scrolling text on a web page. You should put the text which you want to scroll
within the <marquee>......</marquee> tag. More details...
There are three tags used to separate the texts. i.e. usually <br> tag is used to separate line of texts. Other
tags are<p> tag and <blockquote> tag.
To make a picture a background image on a web page, you should put the following tag code after the
</head> tag.
Here, replace the "image.gif" with the name of your image file which you want to display on your web page.
15. What are the different new form element types in HTML 5?
Color
Date
Datetime-local
Email
Time
Url
Range
Telephone
Number
Search
16. Is there any need to change the web browsers to support HTML5?
No. Almost all browsers (updated versions) support HTML 5. For example: Chrome, Firefox, Opera, Safari, IE
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
https://career.guru99.com/xml-interview-questions/
XML is called Extensible Markup Language which is designed to carry or transport and store data. XML
tags are not as predefined as HTML, but we can define our own user tags for simplicity. It mainly
concentrates on storing of data, not on displaying of data.
HTML XML
Markup language used to display data Markup language used to store data
Case Insensitive Case sensitive
Designing web pages Used to transport and store data
Predefined Tags Custom Tags
Does not Preserve white spaces Preserve white spaces
Static Dynamic
XML Document object represents the whole XML document, and it is the root of a document tree. It gives
access to entire XML document – Nodes and Elements, and it has its own properties.
• XML structure is traversable, and it can be randomly accessed by traversing the tree.
• XML structure is modifiable, and values can be added, changed and removed
An XML document contains XML Elements, and it starts from an element’s start tag to end tag. It can
contain:
• An Attribute
• text
https://www.tutorialspoint.com/css/css_interview_questions.htm
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
https://career.guru99.com/top-19-json-interview-questions/
JSON is a simple data exchange format. JSON means JavaScript Object Notation; it is language and
platform independent.
An object can be defined as an unordered set of name/value pairs. An object in JSON starts with {left
brace} and finish or ends with {right brace}. Every name is followed by: (colon) and the name/value
pairs are parted by, (comma).
One of the common use of JSON is to collect JSON data from a web server as a file or HTTP request, and
convert the JSON data to a JavaScript, ant then it avails the data in a web page.
47. Mention which function is used to convert a JSON text into an object?
JSON.stringify() converts an object into a JSON text and saves that JSON text in a string.
var json = ‘{“name”: “Guru 99”, “Description “: “Learn PHP Interactively with PHP Beginner Tutorials}
obj = $.parseJSON(json);
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
1. What is JavaScript?
JavaScript is a scripting language. It is different from Java language. It is object-based, lightweight and cross
platform. It is widely used for client side validation.
Netscape provided the JavaScript language. Microsoft changed the name and called it JScript to avoid the
trademark issue.In other words, you can say JScript is same as JavaScript, but it is provided by Microsoft.
A simple example of JavaScript hello world is given below. You need to place it inside the body tag of html.
<script type="text/javascript">
</script>
I am assuming that js file name is message.js, place the following script tag inside the head tag.
DOM stands for Document Object Model. A document object represent the html document. It can be used to
access and change the content of html.
The window object is automatically created by the browser that represents a window of a browser.
It is used to display the popup dialog box such as alert dialog box, confirm dialog box, input dialog box etc.
The history object of browser can be used to switch to history pages such as back and forward from current
page or another page. There are three methods of history object.
1. history.back()
2. history.forward()
3. history.go(number): number may be positive for forward, negative for backward.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
function function_name(){
//function body
1. By object literal
2. By creating instance of Object
3. By Object Constructor
emp={id:102,name:"Rahul Kumar",salary:50000}
1. By array literal
2. By creating instance of Array
3. By using an Array constructor
14. Difference between Client side JavaScript and Server side JavaScript?
Client side JavaScript comprises the basic language and predefined objects which are relevant to running
java script in a browser. The client side JavaScript is embedded directly by in the HTML pages. This script is
interpreted by the browser at run time.
Server side JavaScript also resembles like client side java script. It has relevant java script which is to run
in a server. The server side JavaScript are deployed only after compilation.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
The storage of cookies on the hard disk depends on OS and the browser.
The Netscape navigator on Windows uses cookies.txt file that contains all the cookies. The path is :
c:\Program Files\Netscape\Users\username\cookies.txt
The Internet Explorer stores the cookies on a file [email protected]. The path is:
c:\Windows\Cookies\[email protected].
https://www.codeproject.com/Articles/618484/Latest-jQuery-interview-questions-and-answers
Ans: jQuery is fast, lightweight and feature-rich client side JavaScript Library/Framework which helps in
to traverse HTML DOM, make animations, add Ajax interaction, manipulate the page content, change the
style and provide cool UI effect. It is one of the most popular client side library and as per a survey it runs on
every second website.
Ans: JavaScript is a language While jQuery is a library built in the JavaScript language that helps to use the
JavaScript language.
Ans: No. jQuery is not a replacement of JavaScript. jQuery is a different library which is written on top of
JavaScript. jQuery is a lightweight JavaScript library that emphasizes interaction between JavaScript and
HTML.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
Ans: To start with jQuery, one need to make reference of it's library. The latest version of jQuery can be
downloaded from jQuery.com.
Ans: The starting point of jQuery code execution is $(document).ready() function which is executed
when DOM is loaded.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
Only one object at the time of first request by servlet or web container.
1. Servlet is loaded
2. servlet is instantiated
3. servlet is initialized
4. service the request
5. servlet is destroyed
Method Description
public void init(ServletConfig config) It is invoked only once when first request comes
for the servlet. It is used to initialize the servlet.
public void service(ServletRequest It is invoked at each request.The service() method
request,ServletResponse)throws is used to service the request.
ServletException,IOException
public void destroy() It is invoked only once when servlet is unloaded.
Get Post
1) Limited amount of data can be sent because Large amount of data can be sent because
data is sent in header. data is sent in body.
2) Not Secured because data is exposed in URL Secured because data is not exposed in URL
bar. bar.
3) Can be bookmarked Cannot be bookmarked
4) Idempotent Non-Idempotent
5) It is more efficient and used than Post It is less efficient and used
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
The GenericServlet is protocol independent whereas HttpServlet is HTTP protocol specific. HttpServlet
provides additional functionalities such as state management etc.
Session Tracking is a way to maintain state of an user.Http protocol is a stateless protocol.Each time user
requests to the server, server treats the request as the new request.So we need to maintain the state of an
user to recognize to particular user.
A cookie is a small piece of information that is persisted between the multiple client requests. A cookie has a
name, a single value, and optional attributes such as a comment, path and domain qualifiers, a maximum
age, and a version number.
https://www.javatpoint.com/jspinterview
Java Server Pages technology (JSP) is used to create dynamic web page. It is an extension to the servlet
technology. A JSP page is internally converted into servlet.
Method Description
public void jspInit() It is invoked only once, same as init method of servlet.
The jsp comment is called hide comment whereas html comment is called output comment. If user views the
source of the page, the jsp comment will not be shown whereas html comment will be shown.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
Object Type
1) out JspWriter
2) request HttpServletRequest
3) response HttpServletResponse
4) config ServletConfig
5) session HttpSession
6) application ServletContext
7) pageContext PageContext
8) page Object
9) exception Throwable
1) The include directive includes the 1) The include action includes the content at
content at page translation time. request time.
2) The include directive includes the 2) The include action doesn't include the original
original content of the page so page size content rather invokes the include() method of
increases at runtime. Vendor provided class.
3) It's better for static pages. 3) It's better for dynamic pages.
Yes. JSP technology is extensible through the development of custom actions, or tags, which are
encapsulated in tag libraries.
18. How can I implement a thread-safe JSP page? What are the advantages and Disadvantages of
using it?
You can make your JSPs thread-safe by having them implement the SingleThreadModel interface. This is
done by adding the directive <%@ page isThreadSafe="false" %> within your JSP page.
19. How can I prevent the output of my JSP or Servlet pages from being cached by the browser?
<%
response.setHeader("Cache-Control","no-store");
response.setHeader("Pragma","no-cache");
%>
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
What is PHP?
PHP is a web language based on scripts that allows developers to dynamically create generated web pages.
We can send 1024 bytes using GET method but POST method can transfer large amount of data and POST is
the secure method than GET method .
It's how they handle failures. If the file is not found by require(), it will cause a fatal error and halt the
execution of the script. If the file is not found by include(), a warning will be issued, but execution will
continue.
The main difference between sessions and cookies is that sessions are stored on the server, and cookies are
stored on the user's computers in the text file format. Cookies can't hold multiple variable while session can
hold multiple variables..We can set expiry for a cookie,The session only remains active as long as the
browser is open.Users do not have access to the data you stored in Session,Since it is stored in the
server.Session is mainly used for login/logout purpose while cookies using for user activity tracking
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
eg : echo $_COOKIE["user"];
How to create a session? How to set a value in session ? How to Remove data from a session?
javascript is a client side scripting language, so javascript can make popups and other things happens on
someone’s PC. While PHP is server side scripting language so it does every stuff with the server.
https://www.javatpoint.com/ajax-interview-questions
1) What is AJAX?
AJAX stands for Asynchronous JavaScript and XML. It is a group of related technologies to display data
asynchronously. More details...
Quick Response
Bandwidth utilization
User is not blocked until data is retrieved from the server.
Dependent on JavaScript
Security issues
Debugging is difficult
4) What are the real web applications of AJAX currently running in the market?
Twitter
Facebook
Gmail
Javatpoint
Youtube etc.
Synchronous request blocks the user until response is retrieved whereas asynchronous doesn't block the
user.
onReadyStateChange
readyState
responseText
responseXML
open()
send()
setRequestHeader()
JSON stands for JavaScript Object Notation. It is easy to understand and data exchange is fast than XML. It
supports array.
There are two most widely used tools for debugging AJAX applications.
Synchronous Postback
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
Asynchronous Postback
0 means UNOPENED
1 means OPENED
2 means HEADERS_RECEIVED
3 means LOADING
4 means DONE
Dojo Toolkit
YUI
Google Web Toolkit (GWT)
Spry
MooTools
Prototype
JavaScript makes a request to the server and waits for the response. It consumes more bandwidth as it
reloads the page.
AJAX sends a request to the server and doesn't wait for the response. It doesn't reload the page so consumes
less bandwidth.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
1) What is AngularJS?
AngularJS is a JavaScript framework i.e. used to create single web page application. It follows MVC (Model
View Controller) pattern. It is open source, cross browser compliant and easy to maintain.
JavaScript Dependent: If end user disables JavaScript, AngularJS will not work.
Not Secured: It is JavaScript based framework so it is not safe to authenticate user through
AngularJS only.
Eclipse
Visual Studio
WebStorm
TextMate etc.
1. MVC
2. Validations
3. Modules
4. Directives
5. Templates
6. Scope
7. Expressions
8. Data Binding
9. Filters
10. Services
11. Routing
12. Dependency Injection
13. Testing
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
Directives are the markers on DOM element that is used to specify behavior on that DOM element. All
AngularJS directives start with the word "ng". There are many in-built directives in AngularJS such as "ng-
app", "ng-model", "ng-controller", "ng-repeat" etc.
Controllers are JavaScript functions that are used to provide data and logic to HTML UI. It acts as an
interface between Server and HTML UI.
Data Binding is the automatic synchronization of data between model and view. There are two ways of data
binding:
Services are objects that can be used to store and share data across the application. AngularJS offers many
built-in services such as $http i.e. used to make XMLHttpRequest.
Each AngularJS application can have only one root scope but can have multiple child scopes.
A template consists of HTML, CSS and AngularJS directives that are used to render dynamic view.
Expressions are the code snippets that resolves to a value. AngularJS expressions are placed inside
{{expression}}. For example:
1. {{1+1}}
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
A filter is used to format the value of expression to display the formatted output. AngularJS enables us to
write our own filter.
https://career.guru99.com/top-25-interview-questions-on-node-js/
1) What is node.js?
Node.js is a Server side scripting which is used to build scalable programs. Its multiple advantages over
other server side languages, the prominent being non-blocking I/O.
Node.js works on a v8 environment, it is a virtual machine that utilizes JavaScript as its scripting language
and achieves high output via non-blocking I/O and single threaded event loop.
I/O is the shorthand for input and output, and it will access anything outside of your application. It will be
loaded into the machine memory to run the program, once the application is started.
In computer programming, event driven programming is a programming paradigm in which the flow of the
program is determined by events like messages from other programs or threads. It is an application
architecture technique divided into two sections 1) Event Selection 2) Event Handling
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
A generic piece of code which runs in between several asynchronous function calls is known as control flow
function.
9) Explain the steps how “Control Flow” controls the functions calls?
For async processing, Node.js was created explicitly as an experiment. It is believed that more performance
and scalability can be achieved by doing async processing on a single thread under typical web loads than
the typical thread based implementation.
13) Using the event loop what are the tasks that should be done asynchronously?
a) I/O operations
b) Heavy computation
Node.js is quickly gaining attention as it is a loop based server for JavaScript. Node.js gives user the ability to
write the JavaScript on the server, which has access to things like HTTP stack, file I/O, TCP and databases.
a) Task function
b) Concurrency value
To process and handle external events and to convert them into callback invocations an event loop is used.
So, at I/O calls, node.js can switch from one request to another .
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
b) Function composition
c) Callback Counters
d) Event loops
Pros: a) If your application does not have any CPU intensive computation, you can build it in Javascript
top to bottom, even down to the database level if you use JSON storage object DB like MongoDB.
b) Crawlers receive a full-rendered HTML response, which is far more SEO friendly rather than a single
page application or a websockets app run on top of Node.js.
Cons: a) Any intensive CPU computation will block node.js responsiveness, so a threaded platform is a
better approach.
b) Using relational database with Node.js is considered less favourable
Node.js solves this problem by putting the event based model at its core, using an event loop instead of
threads.
The difference between Node.js and Ajax is that, Ajax (short for Asynchronous Javascript and XML) is a
client side technology, often used for updating the contents of the page without refreshing it. While,Node.js
is Server Side Javascript, used for developing server software. Node.js does not execute in the browser but
by the server.
Emphasizing on the technical side, it’s a bit of challenge in Node.js to have one process with one thread to
scale up on multi core server.
In node.js “non-blocking” means that its IO is non-blocking. Node uses “libuv” to handle its IO in a platform-
agnostic way. On windows, it uses completion ports for unix it uses epoll or kqueue etc. So, it makes a non-
blocking request and upon a request, it queues it within the event loop which call the JavaScript ‘callback’ on
the main JavaScript thread.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
Web Services work on client-server model where client applications can access web services over the
network. Web services provide endpoint URLs and expose methods that can be accessed over network
through client programs written in java, shell script or any other different technologies.
Web services are stateless and doesn’t maintain user session like web applications.
Interoperability:
Reusability: One web service can be used by many client applications at the same time.
Loose Coupling: Web services client code is totally independent with server code, so we have
achieved loose coupling in our application.
Easy to deploy and integrate, just like web applications.
Multiple service versions can be running at same time.
1. SOAP Web Services: Runs on SOAP protocol and uses XML technology for sending data.
2. Restful Web Services: It’s an architectural style and runs on HTTP/HTTPS protocol almost all the
time. REST is a stateless client-server architecture where web services are resources and can be
identified by their URIs. Client applications can use HTTP GET/POST methods to invoke Restful web
services.
What is SOAP?
SOAP stands for Simple Object Access Protocol. SOAP is an XML based industry standard protocol for
designing and developing web services. Since it’s XML based, it’s platform and language independent. So our
server can be based on JAVA and client can be on .NET, PHP etc. and vice versa.
WSDL document provides contract and technical details of the web services for client applications
without exposing the underlying implementation technologies.
SOAP uses XML data for payload as well as contract, so it can be easily read by any technology.
SOAP protocol is universally accepted, so it’s an industry standard approach with many easily
available open source implementations.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
SOAP is slow because payload is large for a simple string message, since it uses XML format.
Anytime there is change in the server side contract, client stub classes need to be generated again.
Can’t be tested easily in browser
REST is the acronym for REpresentational State Transfer. REST is an architectural style for developing
applications that can be accessed over the network. REST architectural style was brought in light by Roy
Fielding in his doctoral thesis in 2000.
REST is a stateless client-server architecture where web services are resources and can be identified by
their URIs. Client applications can use HTTP GET/POST methods to invoke Restful web services. REST
doesn’t specify any specific protocol to use, but in almost all cases it’s used over HTTP/HTTPS. When
compared to SOAP web services, these are lightweight and doesn’t follow any standard. We can use XML,
JSON, text or any other type of data for request and response.
Since there is no contract defined between service and client, it has to be communicated through
other means such as documentation or emails.
Since it works on HTTP, there can’t be asynchronous calls.
Sessions can’t be maintained.
SOAP REST
SOAP is a standard protocol for creating web REST is an architectural style to create web
services. services.
SOAP is acronym for Simple Object Access REST is acronym for REpresentational State
Protocol. Transfer.
SOAP uses WSDL to expose supported REST exposes methods through URIs, there are no
methods and technical details. technical details.
SOAP web services and client programs are REST doesn’t have any contract defined between
bind with WSDL contract server and client
SOAP web services and client are tightly REST web services are loosely coupled.
coupled with contract.
SOAP learning curve is hard, requires us to REST learning curve is simple, POJO classes can
learn about WSDL generation, client stubs be generated easily and works on simple HTTP
creation etc. methods.
SOAP supports XML data format only REST supports any data type such as XML, JSON,
image etc.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
https://www.javatpoint.com/ejb-interview-questions
1) What is EJB?
EJB stands for Enterprise Java Bean. It is a server-side component to develop scalable, robust and secured
enterprise applications in java. More details...
1. Session Bean
2. Message Driven Bean
3. Entity Bean
Session Bean encapsulates business logic. It can be invoked by local, remote or web service client.
Stateless session bean is a business object that doesn't maintain conversational state with the client.
Stateful session bean is a business object that maintains conversational state with the client.
Singleton session bean is instantiated only once for the application. It exists for the life cycle of the
application.
Entity Bean is a server side component that represents the persistent data. Since EJB 3.x, it is replaced by
JPA.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
https://career.guru99.com/top-14-jsf-interview-questions/
Java Server Faces or JSF : It is a java based web application framework to make the user interface simple
for JEE applications. Instead of traditional request driven MVC framework it uses component based
approach.
JSF is designed on the MVC (Model-View-Controller) framework and this allows for applications to be scaled
better. A JSF application is same like other Java technology based web application, it runs in a JAVA servlet
container and it contains
Restore view phase: During this phase binding of components to its event handlers and validators
are executed and view is saved in the FacesContext object
Apply request values phase: The motive of this phase is to retrieve its current date for each
component
Process validation phase: During this phase, local values saved for the component in the tree are
compared to the components validation rules registered
Update model value phase: After verifying, that data is genuine or valid in the previous phase, local
values of components can be set to related server side object properties
Invoke application phase: Prior to this phase the component values have been transformed,
validated and applied to the bean objects, so that you can avail them to run the application’s
business logic
Render response phase: JSP container renders the page back to the user in this phase
When it comes to JSF there are Reference Implementation (RI) by Sun Microsytems; Apache MyFaces is an
open source JavaServer Faces (JSF) implementation and for Oracle there is ADF Faces.
JSF JavaBeans components for managing the application state and its behavior
Event driven development
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
Pages that represent MVC style views, pages reference view roots via the JSF component tree
JSP JSF
JSP is a Java based technology used in order to JSF is a web application used to
help developers to create dynamic web pages simplify development integration of
JSP must be compiled in JAVA byte-code in web based user interfaces
respect to function properly JSF contains multiple core features
JSP does not support validator and conversion, like managed beans, component
ajax etc. system etc. that is based on template,
JSP is not an interface within the view template. and tag libraries
However, JSP are compiled within the server JSF supports validator and
JSP is not managed or processed by the faces conversion, ajax etc.
servlet. Instead, JSP are Java Servlets by Within a view template JSF is an
themselves interface
JSF is processed by Faces Servlet
JSF Struts
JSF is a specification Struts is an open source framework
JSF action methods can be applied in Java Struts actions are restricted to struts
objects API only
JSF has event model which reacts on actions, There are no such event models in
value changes and phase changes in JSF struts
lifecycle Struts tag generates HTML directly
JSF component tag does not produce HTML- To define navigation struts uses the
instead they declare a component renderer notation
pair on the server There is no dependencies injection in
By mentioning a navigation rule in the faces struts
configuration file, JSF supports navigation
JSF uses dependencies injection
https://www.javatpoint.com/spring-interview-questions
1) What is Spring?
It is a lightweight, loosely coupled and integrated framework for developing enterprise applications in java.
1. Predefined Templates
2. Loose Coupling
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
3. Easy to test
4. Lightweight
5. Fast Development
6. Powerful Abstraction
1. Test
2. Spring Core Container
3. AOP, Aspects and Instrumentation
4. Data Access/Integration
5. Web
https://career.guru99.com/top-25-bootstrap-interview-questions/
Bootstrap is a HTML, CSS, and JS framework for building the rich web applications with minimal effort. This
framework emphasis more on building mobile web applications.
There are few reason why we choose Bootstrap for building websites
Mobile Support: For mobile devices it provides full support in one single file rather than in separate
file. It supports the responsive design including adjusting the CSS based on the different types of
device, size of the screen etc. It reduces extra effort for developers.
Easy to learn: Writing application in bootstrap is easy if you know CSS and HTML
Browser Support: It supports all the popular browsers like Firefox, Opera, Safari, IE etc.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])
lOMoARcPSD|25233313
http://www.javapedia.net/JNDI
https://career.guru99.com/top-25-joomla-interview-questions/
https://career.guru99.com/top-40-word-press-interview-questions/
What is JNDI?
JNDI stands for Java Naming and Directory Interface. JNDI allows distributed applications to look up
services in an abstract, resource-independent way.
lookup() attempts to find the specified object in the given context. It looks for a single, specific object and
either finds it in the current JNDI context or it fails.
Joomla is a content management system. It allows you to build online applications and web sites. Joomla
is an open source and available freely.
Benefits of Joomla is
What is WordPress?
Word press is a best Open Source CMS which allows it to be used free of cost. You can use it on any
kind of personal or commercial website without have to pay a single penny for it. It is built on
PHP/MySQL (which is again Open Source) and licensed under GPL.
Pune Vidyarthi Griha’s College of Engineering, Nashik. Prepared By : Prof. Anand Gharu
Downloaded by SHIVAM KASHYAP ([email protected])