Ask a question from expert

Ask now

Java Programming and Its Benefits

24 Pages6942 Words313 Views
   

Added on  2020-01-28

Java Programming and Its Benefits

   Added on 2020-01-28

BookmarkShareRelated Documents
JAVA PROGRAMMING AND ITS BENEFITSSECTION11.0Features of Java Programming LanguageA.SimpleJava is Easy to compose and more coherent and eye getting. Java has a compact, strong arrangement of elements that makes it simpleto learn and utilize. Most of the ideas are drew from C++ in this manner making Java learningless difficult Y. (Daniel Liang, 2012).B.SecureJava program can't hurt other framework, in this way making it secure. Java gives a protected method for making Internet applications. Java gives secure approach to get to web applications(http://www.c4learn.com/java/java-qualities highlights/, April 2016).C.PortableJava programs can execute in any environment for which there is a Java run-timesystem-JVM (http://www.c4learn.com/java/java-characteristics-features/, April2016).Java programs can be run on any platform (Linux, Window, Mac)Java programs can be transferred over World Wide Web (e.g applets)D.Object-oriented Java writing computer programs is article arranged programming dialect. Like C++ java gives the vast majority of the item situated components (DanielLiang, 2012). Java is immaculate OOP. Dialect. (While C++ is semi object situated)E.RobustJava supports mistake free programming by being entirely written andperforming run-time checks.F.MultithreadedJava gives incorporated backing to multithreaded programming (DanielLiang, 2012). Architecture-nonpartisan: Java is not attached to a particular machine or working framework design.
Java Programming and Its Benefits_1
Machine Independent i.e. Java is autonomous of equipment(http://www.c 4learn.com/java/java-attributes highlights/, April 2016).G.Interpreted Java bolsters cross-stage code using Java bytecode. Bytecode can bedeciphered on any stage by JVM.H.High performanceByte-codes are exceedingly enhanced. JVM can executed them much quicker (Daniel Liang, 2012).I.DistributedJava was planned with the conveyed environment. Java can be transmit, keep running over web.J.DynamicJava programs convey with them significant measures of run-time sort data that isutilized to confirm and resolve gets to objects at run time(http://www.c4learn.com/java/java-attributes highlights/, April 2016).1.1.JAVA Runtime EnvironmentDaniel Liang (2012), the Java Runtime Environment (JRE) is a set of software tools fordevelopment of Java applications. It combines the Java Virtual Machine (JVM), platformcore classes and supporting libraries (https://www.techopedia.com/definition/5442/java-runtime-environment-jre, April 2016).From (https://www.techopedia.com/definition/5442/java-runtime-environment-jre,April 2016), JRE consists of the following components:i.Deployment technologies, including deployment, Java Web Start and Java Plug-in.ii.User interface toolkits, including Abstract Window Toolkit (AWT), Swing, Java2D, Accessibility, Image I/O, Print Service, Sound, drag and drop (DnD) and inputmethods.iii.Integration libraries, including Interface Definition Language (IDL), JavaDatabase Connectivity (JDBC), Java Naming and Directory Interface (JNDI),Remote Method Invocation (RMI), Remote Method Invocation Over InternetInter-Orb Protocol (RMI-IIOP) and scripting (https://www.techopedia.com/definition/5442/java-runtime-environment-jre, April 2016).
Java Programming and Its Benefits_2
iv.Other base libraries, including international support, input/output (I/O),extension mechanism, Beans, Java Management Extensions (JMX), Java NativeInterface (JNI), Math, Networking, Override Mechanism, Security, Serializationand Java for XML Processing (XML JAXP).v.Lang and util base libraries, including lang and util, management, versioning, zip,instrument, reflection, Collections, Concurrency Utilities, Java Archive (JAR),Logging, Preferences API, Ref Objects and Regular Expressions (https://www.techopedia.com/definition /5442/java-runtime-environment-jre, April 2016).vi.Java Virtual Machine (JVM), including Java HotSpot Client and Server VirtualMachines.1.2.Environmental flexibility of Java RuntimeExisting programming situations are either helpful (Java), or they are adaptable (Jini,Java RMI), or they are exceptionally beneficial (MPI). The greatest test is to give aprogramming situation and a runtime framework that consolidate very compellingexecution and correspondence with the adaptability to continue running on effectivelychanging arrangements of heterogeneous processors and frameworks. Various scientists assume that Java will be a valuable innovation to diminish the many-sided quality of matrix application programming (V. Getov, 2001). In perspective of anall around characterized virtual machine and class libraries, Java is intrinsically moreversatile than dialects like C and Fortran, which are statically incorporated in aconventional manner. Java grants undertakings to continue running on a heterogeneousarrangement of assets with no prerequisite for recompilation or porting. Advanced Inthe nick of time compilers (JITs, for example, the IBM JIT (A. D. Alexandrov et. at., 1997)or Sun HotSpot2 get execution speed that is engaged to dialects like C or Fortran (J.M.Bull, et. al., 2001). Other strong reasons for Java for matrix applications incorporate sortsecurity and coordinated backing for parallel and appropriated programming. Java givesRemote Technique Invocation (RMI) for straightforward correspondence between JavaVirtual Machines (JVMs).
Java Programming and Its Benefits_3
Tragically, a hard and energetic issue is Java's menial correspondence speed.Specifically, Java's RMI execution is abundantly reprimanded (F. Breg, 2001). Thecorrespondence overhead can be maybe two or three solicitations of degree higher thanthat of lower-level models like MPI or RPC (C. Thekkath et. al., 2009). In earlierexploration on RMI (J. Maassen, 2001), we have tackled this execution issue by utilizinga local compiler (Manta), supplanting the standard serialization tradition by anexceptionally compelling, compiler-created zero-duplicate tradition written in C.Shockingly, this strategy comes up short for matrix programming, as it requires acustom Java runtime framework that can't be incorporated with standard JVMs. Alongthese lines, an imperative exploration issue is the manner by which to get greatcorrespondence execution for Java without turning to techniques that surrender theadvantages of its virtual machine approach.1.2.1 PROJECTS DONE WITH JAVAJava’s open source ecosystem is strong and healthy, one of the primary reasons for ourcreation ofOSCON Java. Over the last decade, several projects have traveled beyondmere adoption and had effects dominating the Java world, into software development ingeneral, and some even further into the daily lives of users (http://radar.oreilly.com/2011/07/7-java-projects.html, April 2016).1.2.1.1 JUnitPorted to Java by Kent Beck and Erich Gamma from Beck’s work in unit testing inSmalltalk,JUnithas been largely responsible for popularizing test-driven developmentover the last decade.Many implementationshave been created, in .NET, C, Python, Perland just about every language in popular use (http://radar.oreilly .com/2011/07/7-java-projects.html, April 2016).1.2.1.2 EclipseAs Java and its APIs matured in the early 2000s, theEclipseIDE provided a way forprogrammers to be productive and negotiate the growing Java ecosystem. Eclipse wasalso the first major project to use theSWTUI toolkit, providing important competitionto Sun’s Swing and showing that Java programs can provide a rich native interface.
Java Programming and Its Benefits_4
Eclipse has evolved toward a goal of being a universal IDE, and it now provides a richfoundation for platform vendors to integrate with (http://radar.oreilly.com/2011/07/7-java-projects.html, April 2016).1.2.1.3 SpringTheSpring Frameworkhas played an important role in enabling Java developers to beproductive, managing a balance between simplicity and features. Spring gives Javadevelopers a set of services providing commonly used application functionality such asdata access and transaction management. As a competitor to Sun’s Enterprise JavaBeans system, Spring enabled an alternative and simpler path for Java applications, aswell as ensuring a healthy competition of ideas in the way Java applications areconstructed (http://radar.oreilly.com/2011/07/7-java-projects.html, April 2016).1.2.1.4 SolrTheSolrserver, and theLucenesearch engine it encapsulates, has been for many yearsa simple and practical solution to providing search capabilities to web and enterpriseapplications. Solr’s genius is in providing HTTP access to the powerful and fast Lucenesearch library, enabling it to become a part of any system, regardless of whether it isimplemented in Java or not. More than any other project, Solr has ensured that goodsearch is a checkbox item for modern web applications (http://radar.oreilly.com/2011/07/7-java-projects.html, April 2016).1.2.1.5 Hudson and JenkinsOriginally developed asHudson, and now also asJenkins, this continuous integrationtool is a key part of a Java development setup. Jenkins provides automated build andtesting of a software project, continuing in the footsteps of JUnit in enabling agiledevelopment on the Java platform. While both Hudson and Jenkins persist for now asforks of each other, it doesn’t detract from the work ofKohsuke Kawaguchiin creating aworld-class continuous integration platform and so enhancing the quality of much Javadevelopment. (http://radar.oreilly.com/2011/07/7-java-projects.html, April 2016)1.2.1.6 Hadoop
Java Programming and Its Benefits_5
This Java implementation of the famousMapReducemodel is the powerhouse that hasenabled most “big data” systems. By lowering the cost of extracting value from largedata sets,Hadoophas made practical the personalization and advertising businesses ofFacebook and Yahoo, and many other companies. In the same way that Linux enabledlarge websites to be built on cheap hardware, Hadoop enables large-scale distributedcomputing by handling failure at the software level. Both Hadoop and the above-mentioned Lucene are the product of the work ofDoug Cutting(http://radar.oreilly.com /2011/07/7-java-projects.html, April 2016).1.2.1.7 AndroidControversy is never that far from Java, whether the custodian be Sun or Oracle.Google’s choice to use Java as the programming language for its massivelypopularAndroidmobile operating system has led to a renewed interest in the languagefrom whole new communities of software developers. Android programs undergo afurther step to convert JVM bytecode to Dalvik bytecode — Dalvik being a virtualmachine optimized for mobile devices. Google has been able to leverage Eclipse toprovide software developers with a mature development environment for creatingAndroid applications (http://radar.oreilly.com/2011/07/7-java-projects.html, April2016). Oracle and Google are currently engaged in a lawsuit over a claim that Androidinfringes on multiple patents held by Oracle. The results of that suit notwithstanding,Android has done much to recruit developers and perpetuate the use of Java in client-side software development.SECTION 2
Java Programming and Its Benefits_6

End of preview

Want to access all the pages? Upload your documents or become a member.

Related Documents
Features of Java | Object Oriented Programming in Java
|13
|1682
|142