Tuesday, January 28, 2020

Importance Of Java To The Internet Computer Science Essay

Importance Of Java To The Internet Computer Science Essay At the beginning Java was known as oak but it was renamed as Java in 1995. The main aim of this language was to provide platform independent language that could be used to create software to be embedded in various consumer electronic devices. Features of Java Java is a programmers language. Java is cohesive and consistent. Except for those constraints imposed by the Internet environment Java gives the programmer full control. Java is to Internet programming where C was to system programming. Importance of Java to the Internet Java has had a profound effect on the Internet because it allows objects to move freely in Cyberspace. In a network there are two categories of objects that are transmitted between the Server and the Personal computer. Passive information Dynamic active programs The Dynamic Self-executing programs cause serious problems in the areas of Security and probability. But Java addresses those concerns and by doing so has opened the door to an exciting new form of program called the Applet. Java can be used to create two types of programs Applications: An application is a program that runs on our Computer under the operating system of that computer. It is more or less like one creating using C or C++. Javas ability to create Applets makes it important. Applet: An Applet is an application designed to be transmitted over the Internet and executed by a Java compatible web browser. An applet is actually a tiny Java program, dynamically downloaded across the network, just like an image. But the difference is it is an intelligent program, not just a media file. It can react to the user input and dynamically change. Features of Java Security Every time you that you download a program you are risking a viral infection. Prior to Java, most users did not download executable programs frequently and most users were worried about the possibility of infecting their systems with a virus. Java answers both these concerns by providing a firewall between a network application and your computer. When you use a Java-compatible Web browser, you can safely download Java applets without fear of virus infection. Portability For programs to be dynamically downloaded to all the various types of platforms connected to the Internet, some means of generating portable executable code is needed .As you will see, the same mechanism that helps ensure security also helps create portability. Indeed Javas solution to these two problems is both elegant and efficient. Java Virtual Machine (JVM) Beyond the language there is the Java virtual machine. The Java virtual machine is an important element of the Java technology. The virtual machine can be embedded within a web browser or an operating system. Once a piece of Java code is loaded onto a machine, it is verified. As part of the loading process, a class loader is invoked and does byte code verification makes sure that the code thats has been generated by the compiler will not corrupt the machine that its loaded on. Byte code verification takes place at the end of the compilation process to make sure that is all accurate and correct Java Architecture Java architecture provides a portable, robust, high performing environment for development. Java provides portability by compiling the byte codes for the Java Virtual Machine, which is then interpreted on each platform by the run-time environment Compilation of code When you compile the code, the Java compiler creates machine code (called byte code) for a hypothetical machine called Java Virtual Machine (JVM). The JVM is supposed to execute the byte code. The JVM is created for overcoming the issue of portability. The code is written and compiled for one machine and interpreted on all machines. This machine is called Java Virtual Machine. Simple Java was designed to be easy for the Professional programmer to learn and to use effectively. If you are an experienced C++ programmer, learning Java will be even easier. Because Java inherits the C/C++ syntax and many of the objects oriented features of C++. Most of the confusing concepts from C++ are either left out of Java or implemented in a cleaner, more approachable manner Object-Oriented Java was not designed to be source-code compatible with any other language. This allowed the Java team the freedom to design with a blank slate. One outcome of this was a clean usable, pragmatic approach to objects. The object model in Java is simple and easy to extend while simple types such as integers are kept as high-performance non-objects. Robust The multi-platform environment of the Web places extraordinary demands on a program, because the program must execute reliably in a variety of systems. The ability to create robust programs was given a high priority in the design of Java. Java is strictly typed language; it checks your code at compile time and run time. Java virtually eliminates the problems of memory management and de-allocation, which is completely automatic. In a well-written Java program, all run time errors can -and should -be managed by your program. SERVLETS Introduction The Java web server is JavaSofts own web Server. The Java web server is just a part of a larger framework, intended to provide you not just with a web server, but also with tools. To build customized network servers for any Internet or Intranet client/server system. Servlets are to a web server, how applets are to the browser. About Servlets Servlets provide a Java-based solution used to address the problems currently associated with doing server-side programming, including inextensible scripting solutions, platform-specific APIs, and incomplete interfaces. Servlets are objects that conform to a specific interface that can be plugged into a Java-based server. Servlets are to the server-side what applets are to the client-side object byte codes that can be dynamically loaded off the net. They differ from applets in that they are faceless objects (without graphics or a GUI component). They serve as platform independent, dynamically loadable, pluggable helper byte code objects on the server side that can be used to dynamically extend server-side functionality. For example, an HTTP Servlets can be used to generate dynamic HTML content. When you use Servlets to do dynamic content you get the following advantages: Theyre faster and cleaner than CGI scripts They use a standard API (the Servlets API) They provide all the advantages of Java (run on a variety of servers without needing to be rewritten) There are many features of Servlets that make them easy and attractive to use. Easily configured using the GUI-based Admin tool Can be loaded and invoked from a local disk or remotely across the network. Can be linked together, or chained, so that one Servlets can call another Servlets, or several Servlets in sequence. Can be called dynamically from within HTML pages, using server-side include tags. Are secure even when downloading across the network, the Servlets security model and Servlets sandbox protect your system from unfriendly behavior. Advantages of the Servlet API One of the great advantages of the Servlet API is protocol independence. It assumes nothing about: The protocol being used to transmit on the net How it is loaded The server environment it will be running in Features of Servlets: Servlets are persistent. Servlet are loaded only by the web server and can maintain services between requests. Servlets are fast. Since Servlets only need to be loaded once, they offer much better performance over their CGI counterparts. Servlets are platform independent. Servlets are extensible. Java is a robust, object-oriented programming language, which easily can be extended to suit your needs Invoking Servlets A Servlet invoker is a Servlet that invokes the service method on a named Servlet. If the Servlet is not loaded in the server, then the invoker first loads the Servlet (either from local disk or from the network) and the then invokes the service method. Also like applets, local Servlets in the server can be identified by just the class name. In other words, if a Servlet name is not absolute, it is treated as local. A client can invoke Servlets in the following ways: The client can ask for a document that is served by the Servlet. The client (browser) can invoke the Servlet directly using a URL, once it has been mapped using the Servlet Aliases section of the admin GUI. The Servlet can be invoked through server side include tags. The Servlet can be invoked by placing it in the Servlets/ directory. The Servlet can be invoked by using it in a filter chain. Java Database Connectivity What Is JDBC? JDBC is a Java API for executing SQL statements. (As a point of interest, JDBC is a trademarked name and is not an acronym; nevertheless, JDBC is often thought of as standing for Java Database Connectivity. It consists of a set of classes and interfaces written in the Java programming language. JDBC provides a standard API for tool/database developers and makes it possible to write database applications using a pure Java API. Using JDBC, it is easy to send SQL statements to virtually any relational database. One can write a single program using the JDBC API, and the program will be able to send SQL statements to the appropriate database. The combinations of Java and JDBC lets a programmer write it once and run it anywhere. What Does JDBC Do? Simply put, JDBC makes it possible to do three things: Establish a connection with a database Send SQL statements Process the results. JDBC versus ODBC and other APIs At this point, Microsofts ODBC (Open Database Connectivity) API is that probably the most widely used programming interface for accessing relational databases. It offers the ability to connect to almost all databases on almost all platforms. So why not just use ODBC from Java? The answer is that you can use ODBC from Java, but this is best done with the help of JDBC in the form of the JDBC-ODBC Bridge, which we will cover shortly. The question now becomes Why do you need JDBC? There are several answers to this question: ODBC is not appropriate for direct use from Java because it uses a C interface. Calls from Java to native C code have a number of drawbacks in the security, implementation, robustness, and automatic portability of applications. A literal translation of the ODBC C API into a Java API would not be desirable. For example, Java has no pointers, and ODBC makes copious use of them, including the notoriously error-prone generic pointer void *. You can think of JDBC as ODBC translated into an object-oriented interface that is natural for Java programmers. ODBC is hard to learn. It mixes simple and advanced features together, and it has complex options even for simple queries. JDBC, on the other hand, was designed to keep simple things simple while allowing more advanced capabilities where required. A Java API like JDBC is needed in order to enable a pure Java solution. When ODBC is used, the ODBC driver manager and drivers must be manually installed on every client machine. When the JDBC driver is written completely in Java, however, JDBC code is automatically installable, portable, and secure on all Java platforms from network computers to mainframes. Two-tier and three-tier Models The JDBC API supports both two-tier and three-tier models for database access. In the two-tier model, a Java applet or application talks directly to the database. This requires a JDBC driver that can communicate with the particular database management system being accessed. A users SQL statements are delivered to the database, and the results of those statements are sent back to the user. The database may be located on another machine to which the user is connected via a network. This is referred to as a client/server configuration, with the users machine as the client, and the machine housing the database as the server. The network can be an Intranet, which, for example, connects employees within a corporation, or it can be the Internet. JAVA Application JDBC DBMS Client machine DBMS-proprietary protocol Database server Java applet or Html browser Application Server (Java) JDBC DBMS Client machine (GUI) HTTP, RMI, or CORBA calls Server machine (business Logic) DBMS-proprietary protocol Database server In the three-tier model, commands are sent to a middle tier of services, which then send SQL statements to the database. The database processes the SQL statements and sends the results back to the middle tier, which then sends them to the user. MIS directors find the three-tier model very attractive because the middle tier makes it possible to maintain control over access and the kinds of updates that can be made to corporate data. Another advantage is that when there is a middle tier, the user can employ an easy-to-use higher-level API which is translated by the middle tier into the appropriate low-level calls. Finally, in many cases the three-tier architecture can provide performance advantages. Until now the middle tier has typically been written in languages such as C or C++, which offer fast performance. However, with the introduction of optimizing compilers that translate Java byte code into efficient machine-specific code, it is becoming practical to implement the middle tier in Java. This is a big plus, making it possible to take advantage of Javas robustness, multithreading, and security features. JDBC is important to allow database access from a Java middle tier. JDBC Driver Types The JDBC drivers that we are aware of at this time fit into one of four categories: JDBC-ODBC bridge plus ODBC driver Native-API partly-Java driver JDBC-Net pure Java driver Native-protocol pure Java driver

Monday, January 20, 2020

The Godfather: An American Dream Story Essay -- Film Movies

The Godfather: An American Dream Story The Godfather is the â€Å"dark-side of the American dream story† (Turan, pp2). The film follows the practices of a fictional Italian mafia family, the Corleone’s. Though most Americans do not condone the practices of the Italian mafia, they cannot deny that Francis Ford Coppola’s The Godfather is a cinematic masterpiece. This film gave insight to a mysterious way of life that the average person does not have knowledge of. As the audience is educated about the mafia they also are introduced to many stereotypes. Many of the film’s important scenes begin with one key character, Don Vito Corleone and the word â€Å"Godfather†¦Ã¢â‚¬  The setting is very dark as the film opens and a man is asking for the Godfather’s help. Though the Don is not happy about the request he grants it, letting the man know that when the time comes he will have to do him a service as well. As the movie continues the audience is shown that it is a very special day; it is Connie Corleone, the Godfather’s daughter’s wedding day. This is an important factor in understanding why Corleone has granted this request, because of the tradition that â€Å"no Sicilian can refuse anyone’s request on his daughter’s wedding day.† With this line comes the insight that the family and the culture find old world tradition very important. Throughout the movie several people come to Vito Corleone asking for favors and services to be rendered. As the Godfather is commissioning work his daughter’s wedding continues on outside the house. This scene is extremely important to the movie, explaining the family’s background and also the group’s cultural background. Throughout this scene they introduce the audience to all of the characters ... ... educated the average person. The Mafia, as depicted by the Corleone family, is very close knit; those that are not even actual family members are still considered part of the â€Å"family.† This movie can be watched repeatedly and each time is as enjoyable as the first. It is a cultural eye opener and lead to two sequels and several other media items, such as today’s television drama The Soprano’s. Though the world does not condone what this lifestyle is about it will always be interested, and somewhat glorify the traditions and lifestyle of something so secretive and just plain bad. Works Cited Turan, Kenneth. â€Å"Tale of The Godfather is Epic in Itself.† Los Angeles Times 21 Mar. 1997. http://www.filmsite.org/godf.html http://www.mobposters.com/godfather.shtml

Saturday, January 11, 2020

Opportunities and Threats of Toyota

—Fuel Efficiency focus need to keep innovating here, and they have been where they are going to be Rolling out a hydrogen fuel cell car in 2015. They are a leader in this technology as they have been with the plug in electric/gas vehicles. —Continue adapting to customer’s new needs scion – going for our generation of the generation Y, sporty but cheaper models of cars. While the Toyota is known as a family car, the scion is seen as the kids car. Going further, the lexus is known as the exus – going for the people who can spend a little more money, and do not want the super popular cars. —More acquisitions to enter new markets Robotics – created a wheelchair that can be controlled by the mind for people who are paralyzed. They are focusing more on robotics to help the elderly, as they are doing in Japan. This will be great here in America as soon as the Baby Boomers start to retire. Toyota has also dipped their feet into Aerospace and A gricultural biotechnology Average car in the US 11 years old, which is a record. This is at least in part to increasing quality of car manufacturing, making them last longer, but nevertheless, this is an opportunity for all car makers, as people like to upgrade to new technology. Threats —General Motors’ reorganization —VW, BMW~ other cars moving into the fuel efficient focus Honda, Smart cars, Ford, Chevy, Nissan.. They all understand that there is a high demand for these fuel efficient cars with the rising cost of oil, So they are all putting a lot of time and money into the fuel efficiency technology. Also going along with this are the cars that are fully electric and are what I like to call tiny pop cans, like the smart cars. Toyota can lose a lot of —Natural disasters —Emission regulations Emission standards are requirements that set specific limits to the amount of pollutants that can be released into the environment. Many emissions standards focus on regulating pollutants released by automobiles (motor cars) —Higher cost of raw materials One glaring example is the sky-rocketing cost of rubber, a major tire component, which has climbed nearly 74% this year after rising 92% in 2009

Friday, January 3, 2020

Social Care And Psychology Assignment - 1659 Words

Applied Social Care Psychology Assignment X00138717- Bronagh Galloway In this essay I will discuss the reasons why I choose the course social care practice and the psychological theory associated with it. I will illustrate my beliefs and values and how they influenced my personal and professional development. I will also discuss how my belief system corresponds with the ethical framework in social care practice. Motivation is a process that influences the direction, persistence and vigour of goal-directed behaviour. Psychology s diverse theoretical perspectives views motivation through different lenses. (Passer, Smith, Holt, Bremner, Sutherland, Vliek., 2009, p.475). The psychological motivational theory that I†¦show more content†¦Relatedness is a need which involves wanting to make connections with people. This need portrays your engagement as a person as the stronger the bond becomes, the more comfortable they become with who they are with that person. (Passer, Smith, Holt, Bremner, Sutherland, Vliek., 2009, p.478). It is clear to me how I relate to these three fundamental psychological needs and how these correspond to why I wanted to come into the social care sector. As well as the humanistic theory, I feel that the cognitive theory also had a major impact on me entering into social care practice. I would consider myself a very hard working person who loves to obtain the highest results in any case possible. One of the main qualities about myself is that I like to see that I have made a substantial difference to people s lives and therefore wanted to come into a career where I will be intrinsically motivated rather than extrinsically motivated. Achievement is a huge part of my personality and it is what gave me the desire to want to work in social care. Personally I would strongly describe myself as a very ambitious and benevolent person which is what drove me into this career. I love to succeed to the highest potential possible and with that I enjoy the pleasure of knowing what a major impact my help has had on a person s life. By working in the social care sector it will allow me to see the true value and meaning of things as well as being able to stand up for human rights and socialShow MoreRelatedClass Ethics And Values At Jackson State University1666 Words   |  7 PagesWhen I first entered the field of social work at Southwest Mississippi Community College, I was clueless as to what the social work profession entailed. At Southwest MS Community College, we mostly focused on perquisites and a few classes related to family. After, leaving Southwest MS Community College and entering Jackson State University, I realized my previous college did not teach me anything relating to the field of social work. However, my entry in my fi rst class Ethics and Values at JacksonRead MoreUnit 8 P1 and M11566 Words   |  7 Pagesï » ¿Assignment brief – QCF BTEC Assignment front sheet Qualification Unit number and title Level 3 BTEC National Diploma in Health and Social Care (QCF) Unit 8 – Psychological Perspectives for Health and Social care. Learner name Assessor name Kamila Patrycja Zgadzaj Kwame Attikpoe Date issued Hand in deadline Submitted on 5th December, 2014 15th December, 2014 15/12/14 Assignment title Explain the principal psychological perspectives and assess different psychological approaches to study. InRead MoreWhat Did You Do Before You Came To Study Essay1055 Words   |  5 PagesWhat Did You Do Before You Came To TRC To Study Health Social Care? Before I started TRC I studied and completed my GCSE’s at Oakwood High School; the subjects I studied at Oakwood included triple science, graphics, psychology and art. I especially enjoyed art the most, I enjoyed drawing and creating new pieces of work and also found drawing very relaxing and therapeutic to do. Another one of my favourite subjects to study was psychology as I learnt a lot of new interesting things about the humanRead MoreStructuralism And The Development Of Psychology874 Words   |  4 PagesBy studying our behavior the development of psychology has developed over time 2.a) structuralism- early school of psychology that used introspection to study the structure of the human mind (Edward B. Titchener) functionalism- from an evolutionary process, a school of psychology is focused on how mental and behavioral processes function Behavioral- an objective form of science that studies behavior without reference to mental process b) Gestalt- Max Wertheimer sought to explain perceptions in termsRead MoreA Comparison of Community Psychology and Public Health1179 Words   |  5 PagesA COMPARISON OF COMMUNITY PSYCHOLOGY AND PUBLIC HEALTH. In this assignment the key differences and similarities of community psychology and the public health approach will be examined and critically compared. Community Psychology is a branch of psychology which is concerned primarily with achieving positive mental health in the broader context of the community rather than the individual. Public health is primarily concerned and focused on changing behaviours within the context of the public inRead MoreEssay on Why Sociology Is Important to Nursing986 Words   |  4 Pagesprofession which focused on assisting individuals, families, and communities in attaining, maintaining and recovering optimal health and functioning. In this assignment, I will describe the definition of Sociology, the definition of nursing and explain why sociology is very important and is relevant to nursing practice. I hope this assignment will show the relevance of sociology to nursing practice and that will develop more professional and very reliable nurses. 2) Definition of Sociology â€Å"Sociology†Read More11381 Words   |  5 PagesIt? Journal Psychology (S2958282) Faith Eke Points possible:  30 Date: ____________ Answer the questions below. When you are finished, turn in your assignment for grading. Use complete sentences and answer each part of the assignment. 1. Think of a time in your life when someone you know was having difficulty. Using that example, choose the statement from the list below that seems most true. Then, for the statement you choose, write which perspective or branch from psychology (humanistic, positiveRead MoreThe Problem Of Academic Procrastination1370 Words   |  6 Pagesstudents infrequently attempt overcome stalling and rather assert that the weight to perform empowers them to finish the assignments. Procrastination comprises of the purposeful postponement of a planned game plan, notwithstanding an attention to negative results (Steel, 2007). In this way academic procrastination is characterized as an inclination to put off or postpone assignments identified with one concentrates so they are either not completely finished by their due dates or must be raced toRead MoreAbraham Maslow s Hierarchy Of Needs Essay814 Words   |  4 PagesAED 391: Introduction to Adolescence Education Abraham Maslow s Hierarchy of Needs Please use at least two different sources to complete the assignment, neither of which is Wikipedia!! As always, if using online resources, please do not cut and paste information. Whether using direct quotes or paraphrasing, remember to use in-text citations to acknowledge all work and ideas that are not your own. Please provide a brief biographical sketch of Maslow that includes but is not limited to his educationalRead MoreCareer Research Assignment : Career1523 Words   |  7 PagesAvery Daffer 11/01/2016 Career Research Assignment The Career I chose to research a career in Health Psychology, focusing somewhat on clinical work. I chose this career path in particular because of my major and emphasis in Health Psychology; I wanted to know what the opportunities, benefits, and requirements were for pursuing this specific field within psychology. I was made aware of this option as a major emphasis during my first semester at BYU-Idaho, and I knew at that point that I wanted to