Monday, March 9, 2015

Two-Tier and Three-Tier Architecture

In this article we are going to discuss about the two-tier and three-tier architecture.

Two-Tier Architecture:
The two-tier architecture is like client server application. The direct communication takes place between client and server. There is no intermediate between client and server.





The above figure shows the architecture of two-tier. Here the communication is one to one. Let us see the concept of two tier with real time application. For example now we have a need to save the employee details in database. The two tiers of two-tier architecture is

01.Database (Data tier)
02. Client Application (Client tier)

So, in client application the client writes the program for saving the record in SQL Server and thereby saving the data in the database.




Advantages:
Understanding and maintenances is easier.

Disadvantages:
Performance will be reduced when there are more users.

Three-Tier Architecture:
Three tier architecture having three layers. They are 

  1. Client layer
  2. Business layer
  3. Data layer


Client layer: Here we design the form using textbox, label etc.
Business layer: It is the intermediate layer which has the functions for client layer and it is used to make communication faster between client and data layer. It provides the business processes logic and the data access.
Data layer: it has the database.


Advantages

  1. Easy to modify with out affecting other modules
  2. Fast communication
  3. Performance will be good in three tier architecture.

Friday, March 6, 2015

Magic code in JavaScript without looping




<html>
<head>
</head>
<body>

<script type="text/javascript">
function doFirst(){
  document.write(" magic! ");
  doSecond();
}
function doSecond(){
  document.write(" work! ");
  doFirst();
}
    
doFirst();
 
</script>
</body>
</html>

Thursday, March 5, 2015

Forbes Global Rich List 2015: Top 10 billionaires in the world

           
American business magazine Forbes released its annual list featuring richest people in the world on March 2, 2015. 
With a net worth of 81.1 billion US dollars (January 2015), Bill Gates has been declared the richest man in the world for the 16th time by the magazine. Gates' net worth rose by over three billion 

Here's a list of Forbes 2015 ranking of richest people around the globe: 
Billionaire
Net Worth (US dollars)
Nationality
Bill Gates
81.1 billion
American
Carlos Slim Helu
75.1 billion
Mexican
Warren Buffett
73.8 billion
American
Amancio Ortega
65.6 billion
Spanish
Larry Ellison
56.2 billion
American
Charles Koch
43.2 billion
American
David Koch
42.9 billion
American
Christy Walton
41.7 billion
American
Jim Walton
40.6 billion
American
Liliane Bettencourt
40.1 billion
French 

As per the list released by the Forbes, Chairman, Managing Director and largest shareholder of Reliance Industries Limited (RIL), Mukesh Dhirubhai Ambani became the richest man in India for the eighth consecutive year and moved one step ahead globally (rank 39th). 
Ambani has a current net worth of 23.6 billion US dollars (2015).

indiatoday

Top 10 Jobs in Information Technology

Information technology – often shortened to just IT – is a buzz phrase you’ve probably heard ad nauseum if you happen to work with IT personnel or went to school for anything related to computers. IT workers are highly specialized in their field, which is probably why they’re often just called “IT nerds.”

 They like what they do and understand it inside and out. IT workers are also essential to just about every modern business model. If a company relies on phones and emails, chances are that there’s an IT professional behind it all making sure the cogs in the machine function properly.

So what’s the real benefit of being the behind-the-scenes technological lifeblood of a company? Excellent pay is your reward, more often than not. As the economy finds its footing and more jobs open up, expect the requirements of IT professionals to be vast as ever. Curious what you might like to do and how much someone will pay you to do it? Consider these 10 leading fields and their median salary ranges.

1. IT consultant
Ranking number 13 on CNN’s most recent Best Jobs in America list, the work of being an IT consultant is as vague as it sounds. In this position, your job is to evaluate the systems and do the research that no one else entirely understands. As CNN puts it, everyone from local startups to the Fortune 500 companies need IT consultants to help them figure out the cheapest and fastest ways to run computers better.
Education: A bachelor’s degree in computer science definitely helps, like most positions on this list. CNN also recommends that an IT consultant specialize in a niche category to help focus on the kind of experience he or she gets.
Salary: $96,400, according to CNN.

2. Cloud architect
You’ve heard of cloud computing of course. Although that storage space existing in the ether can’t be touched literally, it still needs to be organized and given an architecture. That’s what this job is for.
Education: A bachelor’s degree.
Salary: $112,000, making it one of the highest paying IT jobs.

3. Computer forensic investigator
Computer crime detectives – The Best Schools reports that computer forensic investigators search for, identify and evaluate information from computer systems, often for trial evidence.
Education: TBS says that you’ll need a degree in computer forensics, information security or cyber security. Certification from a computer examiner board also helps.
Salary: $64,000 according to TBS.

4. Health IT specialist
Health IT is a blossoming field, especially with major changes going on in healthcare due to the Affordable Care Act and the gradual transition to electronic health records. Health IT specialists will mix computer knowledge will record-keeping skills, but specialties in medical coding, billing and cancer registry are also in demand, according to TBS.
Education: While some health IT jobs require only an associate degree and/or certification, supervisory technician positions call for bachelor’s and master’s degrees.
Salary: $45,000, according to TBS.

5. Mobile application developer
Chances are that you and most people you know have smartphones and/or tablet computers. According to CareerRealism, the use of mobile tech is predicted to exceed personal computers at some time in 2013, so businesses are more heavily relying on IT professionals with experience in this field than ever before. Using basic coding languages, developers will create programs for future iOS and Android devices.
Education: A bachelor’s in software engineering, computer science, mobile computer or related fields, according to TBS.
Salary: $90,000 with high growth outlook, reports TBS.

6. Web developer
Web developers are jacks of all trades. They create web pages, web applications and web content, but their skill​ set requires them to have excellent understanding of what makes a good operating system, what the average surfer finds visually stimulating and how to optimize sites for mobile tech, among numerous other skills. They also need proficiency in Web languages, like HTML and Javascript.
Education: TBS reports that the road to web design can be learned through accredited degree programs, but many web developers are self taught and use their “portfolios” to win positions.
Salary: $90,000, according to TBS.

7. Software engineer
Like video games? Want to design the next Facebook? This is for you. Software engineers are behind all the programs we run on our mobile devices and personal computers – and there is a very wide range of niche fields you can work in.
Education: According to TBS, a bachelor’s degree in software engineering or a related field is best.
Salary: $89,000 according to TBS.

8. Information technology vendor manager
Slightly more hands-off compared to some tech positions, vendor managers oversee supply when it comes to software and hardware. This can mean anything from Microsoft’s latest word processor to health IT programs for hospitals.
Education: Computer science degrees are helpful, but a deep understanding of business or even an MBA could clinch a job.
Salary: $88,000, reports TBS.

9. Geospatial professionals
Sound confusing? Geographic information systems are complicated, but exciting and getting moreso every day. GIS tech uses geographic data to evaluate and communicate trends and patterns in visually stylish and comprehensive ways, according to CareerRealism.
Education: Certificate programs and degrees both improve job outlook.
Salary: Up to $84,000, according to CareerRealism.

10. Data Modeler
Another position that translates poorly without jargon, these IT professionals create data designs and define relationships between data fields, according to TBS. Since any company’s data is vital, it’s modeling needs to work perfectly – a more complex task as reliance on computers grows.
Education: Bachelor’s degree in computer science, mathematics or IT – plus on-the-job experience, says TBS.
Salary: A hefty $103,000, according to TBS.

Source : http://www.experience.com/

Sunday, March 1, 2015

Embedded Java Server Page(JSP) with HTML

Java Server Page(jsp) typically it is use instate of php  but the functions are same with html, while we developing jsp we have to  have fair knowledge about java and html when we develop jsp page we have to insert java code which is embedded with html, let's try this simple jsp function, how it is work? using html,java

basic requirements: 
Eclipse
Netbeans

File 1 named :  "index.jsp"

<%-- 
    Document   : index
    Created on : Feb 27, 2015, 7:07:19 PM
    Author     : Msm.Fathih
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Using Forms</title>
    </head>
    <body>
        <h1>Using Forms</h1>
        
        <form name="myForm" action="display.jsp">
            <table border="1">
                
                <tbody>
                    <tr>
                        <td>First Name : </td>
                        <td><input type="text" name="first" value="" size="50" /></td>
                    </tr>
                    <tr>
                        <td>Last Name : </td>
                        <td><input type="text" name="last" value="" size="50" /></td>
                    </tr>
                    <tr>
                        <td>Email Address : </td>
                        <td><input type="text" name="email" value="" size="50" /></td>
                    </tr>
                    <tr>
                        <td>Gender :</td>
                        <td><select name="gender">
                                <option>Male</option>
                                <option>Female</option>
                            </select></td>
                    </tr>
                    <tr>
                        <td>Date of Birth : </td>
                        <td><input type="text" name="dob" value="MM/DD/YYYY" size="15" /></td>
                    </tr>
                </tbody>
            </table>
            
            <input type="reset" value="Clear" name="clear" />
            <input type="submit" value="Submit" name="submit" />
        </form>
    </body>

</html>


File 2 named :  "Display.jsp"

<%-- 
    Document   : display.jsp
    Created on : Feb 27, 2015, 7:26:59 PM
    Author     : Msm.Fathih
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Using Forms</title>
    </head>
    <body>
        <h1>Using Forms</h1>
        <%
            String firstName = request.getParameter("first");
            String lastName = request.getParameter("last");
            String emailAddress = request.getParameter("email");
            String gender = request.getParameter("gender");
            String dob = request.getParameter("dob");
            %>
            
            <table border="1">
                
                <tbody>
                    <tr>
                        <td>First Name :</td>
                        <td><%= firstName %></td>
                    </tr>
                    <tr>
                        <td>Last Name :</td>
                        <td><%= lastName %></td>
                    </tr>
                    <tr>
                        <td>Email Address</td>
                        <td><%= emailAddress %></td>
                    </tr>
                    <tr>
                        <td>Gender :</td>
                        <td><%= gender %></td>
                    </tr>
                    <tr>
                        <td>Date of Birth</td>
                        <td><%= dob %></td>
                    </tr>
                </tbody>
            </table>
      </body>
</html>