FOR JMF look into one of my previous post.
HI,JSP/ServletsIt's easy on JAVA to built websites business or data logic.with JSP/Servlets built server pages to handle the client request and process as per the requirement.Yes i do agree that php,ruby,python developers would now start roaring at me to say that JAVA lacks speed both in development and processing.
But the buisness logic which Java can provide is unmatchable(as i think).If you are a beginner then
first study about Servlets , as once you get acquainted with it you would find
JSP very easy.JSP offers
1. HTML embed for Static design and Scriptlets(<% %>) for JAVA based code.
2. Concept of Implicit Object has greatly reduce the workload while working with JSP.
Ex- response,request,out etc.
You can directly type <% out.println("hello") %>3. Further JAVA has highly rich TAG Library JSTL(Java Standard Tag Library).
4. You can also add JavaScript functionality in your JSP page. JavaScript is used to enhance the working and appearance of your web pages by making it more dyanamic.It is extensively used for client side validations.The only limitation does it offer is it's inability to communicate with the server.But with Ajax & JavaScript combined this limitation is also overcomed.
To run these pages you require a Server(container).Among the most widely used are NetBeans GlassFish,Apache Tomcat etc.Most Importantly :
In Java it is very easy to built a three-tier logic.
AJAX-> AJAX stands for
Asynchronous JavaScript And XML.-> AJAX is a type of programming made popular in 2005 by Google (with GoogleSuggest).
-> AJAX is not a new programming language, but a new way to use existing standards.
-> With AJAX you can create better, faster, and more user-friendly web applications.
-> AJAX is based on JavaScript and HTTP requests.
-> With AJAX, JavaScript can communicate directly with the server, using the JavaScript
XMLHttpRequest object. With this object, JavaScript can trade data with a web server, without reloading the page.
AJAX uses asynchronous data transfer (HTTP requests) between the browser and the web server, allowing web pages to request small bits of information from the server instead of whole pages.
-> The AJAX technique makes Internet applications smaller, faster and more user-friendly.
-> AJAX is a browser technology independent of web server software.
AJAX is Based on Web Standards
AJAX is based on the following web standards:
1. JavaScript
2. XML
3. HTML
4. CSS
XMLHttpRequest:
This class is for Firefox, Opera, Safari.
Var obj=new XMLHttpRequest()
ActiveXObject: This class is for IE.
Var obj=new ActiveXObject("Msxml2.XMLHTTP") // for 6.0+
Var obj=new ActiveXObject("Microsoft.XMLHTTP") // for 5.0+
Properties:
1. onreadystatechange
2. readyState
3. responseText
onreadystatechange
The onreadystatechange property stores your function that will process the response from a server.
xmlHttp.onreadystatechange=function()
{
// We are going to write some code here
}
readyState The readyState property holds the status of the server's response. Each time the readyState changes, the onreadystatechange function will be executed.
State Description
0 The request is not initialized
1 The request has been set up
2 The request has been sent
3 The request is in process
4 The request is complete
responseText The data sent back from the server can be retrieved with the responseText property.
xmlHttp.onreadystatechange=function()
{
if(xmlHttp.readyState==4)
{
document.myForm.time.value=xmlHttp.responseText;
}
}
The web standards used in AJAX are well defined, and supported by all major browsers. AJAX applications are browser and platform independent.
Remember : AJAX is not an application it is a Technique which make the appearence of the pages to look more Dyanamic and User Friendly.
3. Python It helps in very fast development of software.It is also object oriented and introduces special data types like tulips,list & dictionary.Every program can also be thought as modules and these can also imported easily.
like
>>import ImageIt also has control statements like if-else & loop statements for while statement with slight difference in syntax
>>for x in range(0,3):
...
print x...
>>0
1
2
>>x = 10
>>if(x<12):>>import Image
>>i = Image.open('c:\line.bmp')
>>i.show()
for making functions>>def sum(x,y):
... return (x+y)
...
>>sum(4,5)
9
for writing into files>>harsh = open("hello","w")
>>harsh.write("HARSH TRIPATHI BLOGSPOT IS BEST")
keywords : jsp,servlets,jfx,struts,jsf,hibernate,AJAX,JMF,python,vhdl,ruby,php