Enterprise Java for Linux HOWTO Enterprise Java for Linux HOWTO

Total Page:16

File Type:pdf, Size:1020Kb

Enterprise Java for Linux HOWTO Enterprise Java for Linux HOWTO Enterprise Java for Linux HOWTO Enterprise Java for Linux HOWTO Table of Contents Enterprise Java for Linux HOWTO.................................................................................................................1 Greg Wilkins [email protected] original by Gary Meyer [email protected] 1. Introduction..........................................................................................................................................1 2. How to Setup the Java Development Kit ............................................................................................1 3. How to Setup the Web Server .............................................................................................................1 4. How to Setup Java Servlet Support ....................................................................................................1 5. How to Setup Java Server Pages (JSP) Support..................................................................................2 6. How to Setup JDBC Support ..............................................................................................................2 7. How to Setup Enterprise Java Bean (EJB) Support ............................................................................2 1. Introduction.........................................................................................................................................2 1.1 Background........................................................................................................................................2 1.2 Audience............................................................................................................................................2 1.3 New Versions ....................................................................................................................................2 1.4 Copyright and License ......................................................................................................................2 1.5 Disclaimers........................................................................................................................................3 1.6 Potential Future Sections ..................................................................................................................3 1.7 Other Resources.................................................................................................................................3 1.8 Feedback ...........................................................................................................................................3 2. How to Setup the Java Development Kit ...........................................................................................3 2.1 Blackdown JDK ...............................................................................................................................4 Background ................................................................................................................................4 Download ...................................................................................................................................4 Installation .................................................................................................................................5 Setting up Your Environment ....................................................................................................5 Confirming Your Installation .....................................................................................................6 More Information .......................................................................................................................6 2.2 IBM Java Developer Kit ..................................................................................................................7 Background ................................................................................................................................7 Download ...................................................................................................................................7 Installation .................................................................................................................................7 Setting up Your Environment ....................................................................................................7 Confirming Your Installation .....................................................................................................8 More Information .......................................................................................................................9 2.3 Kaffe.................................................................................................................................................9 Background.................................................................................................................................9 Download and Installation..........................................................................................................9 Setting up Your Environment ....................................................................................................9 Confirming Your Installation ...................................................................................................10 More Information .....................................................................................................................10 2.4 Sun J2SE ........................................................................................................................................10 Background ..............................................................................................................................10 Download .................................................................................................................................10 Installation ...............................................................................................................................10 Setting up Your Environment ..................................................................................................11 Confirming Your Installation ...................................................................................................11 More Information .....................................................................................................................12 3. How to Setup the Web Server ..........................................................................................................12 3.1 Apache ...........................................................................................................................................12 i Enterprise Java for Linux HOWTO Table of Contents Background ..............................................................................................................................12 Download, Installation, and Setting up Your Environment .....................................................13 Confirming Your Installation ...................................................................................................13 3.2 IBM Domino ..................................................................................................................................13 3.3 IBM HTTP Server..........................................................................................................................13 Background ..............................................................................................................................13 Download .................................................................................................................................13 Installation ...............................................................................................................................14 Setting up Your Environment ..................................................................................................14 Confirming Your Installation ...................................................................................................15 More Information......................................................................................................................15 3.4 Jetty HTTP Server and Servlet Container ......................................................................................16 Background ..............................................................................................................................16 Download..................................................................................................................................16 Installation ...............................................................................................................................16 4. How to Setup Java Servlet Support .................................................................................................16 4.1 Allaire JRun....................................................................................................................................17 4.2 Apache Tomcat ..............................................................................................................................17 Background ..............................................................................................................................17 Download .................................................................................................................................17
Recommended publications
  • Glassfish Server Open Source Edition 3.1 Installation Guide
    GlassFish Server Open Source Edition 3.1 Installation Guide Part No: 821–2453 Feburary 2011 Copyright © 2010, 2011, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related software documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, the following notice is applicable: U.S. GOVERNMENT RIGHTS Programs, software, databases, and related documentation and technical data delivered to U.S. Government customers are “commercial computer software” or “commercial technical data” pursuant to the applicable Federal Acquisition Regulation and agency-specific supplemental regulations. As such, the use, duplication, disclosure, modification, and adaptation shall be subject to the restrictions and license terms setforth in the applicable Government contract, and, to the extent applicable by the terms of the Government contract, the additional rights set forth in FAR 52.227-19, Commercial Computer Software License (December 2007). Oracle America, Inc., 500 Oracle Parkway, Redwood City, CA 94065.
    [Show full text]
  • Server: Apache
    Modern Trends in Network Fingerprinting SecTor [11.21.07] Jay Graver Ryan Poppa // Fingerprinting Topics Why, What, Who & How? Tools in action Why Tools Break Tools EOL New Approaches New Tool // Why Fingerprint? WhiteHat needs accurate identification of hosts in a PenTest report BlackHat reconnaissance SysAdmins track down and identify new services or hosts when they appear on their network // What is a Fingerprint? Looking at something common … 192.168.2.187:8004 192.168.2.187 [152] 48 54 54 50 2f 31 2e 31 20 32 30 30 20 4f 4b 0d HTTP/1.1 200 OK. 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 63 6c 6f .Connection: clo 73 65 0d 0a 41 6c 6c 6f 77 3a 20 4f 50 54 49 4f se..Allow: OPTIO 4e 53 2c 20 47 45 54 2c 20 48 45 41 44 2c 20 50 NS, GET, HEAD, P 4f 53 54 0d 0a 43 6f 6e 74 65 6e 74 2d 4c 65 6e OST..Content‐Len 67 74 68 3a 20 30 0d 0a 44 61 74 65 3a 20 46 72 gth: 0..Date: Fr 69 2c 20 30 32 20 4e 6f 76 20 32 30 30 37 20 32 i, 02 Nov 2007 2 32 3a 32 35 3a 31 38 20 47 4d 54 0d 0a 53 65 72 2:25:18 GMT..Ser 76 65 72 3a 20 6c 69 67 68 74 74 70 64 2f 31 2e ver: lighttpd/1. 34 2e 31 35 0d 0a 0d 0a 4.15...
    [Show full text]
  • Apache Harmony Project Tim Ellison Geir Magnusson Jr
    The Apache Harmony Project Tim Ellison Geir Magnusson Jr. Apache Harmony Project http://harmony.apache.org TS-7820 2007 JavaOneSM Conference | Session TS-7820 | Goal of This Talk In the next 45 minutes you will... Learn about the motivations, current status, and future plans of the Apache Harmony project 2007 JavaOneSM Conference | Session TS-7820 | 2 Agenda Project History Development Model Modularity VM Interface How Are We Doing? Relevance in the Age of OpenJDK Summary 2007 JavaOneSM Conference | Session TS-7820 | 3 Agenda Project History Development Model Modularity VM Interface How Are We Doing? Relevance in the Age of OpenJDK Summary 2007 JavaOneSM Conference | Session TS-7820 | 4 Apache Harmony In the Beginning May 2005—founded in the Apache Incubator Primary Goals 1. Compatible, independent implementation of Java™ Platform, Standard Edition (Java SE platform) under the Apache License 2. Community-developed, modular architecture allowing sharing and independent innovation 3. Protect IP rights of ecosystem 2007 JavaOneSM Conference | Session TS-7820 | 5 Apache Harmony Early history: 2005 Broad community discussion • Technical issues • Legal and IP issues • Project governance issues Goal: Consolidation and Consensus 2007 JavaOneSM Conference | Session TS-7820 | 6 Early History Early history: 2005/2006 Initial Code Contributions • Three Virtual machines ● JCHEVM, BootVM, DRLVM • Class Libraries ● Core classes, VM interface, test cases ● Security, beans, regex, Swing, AWT ● RMI and math 2007 JavaOneSM Conference | Session TS-7820 |
    [Show full text]
  • Installing Open Java Development Kit – Ojdkbuild for Windows
    Installing Open Java Development Kit – ojdkbuild for Windows © IZUM, 2019 IZUM, COBISS, COMARC, COBIB, COLIB, CONOR, SICRIS, E-CRIS are registered trademarks owned by IZUM. CONTENTS 1 Introduction ......................................................................................................... 1 2 OpenJDK distribution .......................................................................................... 1 3 Removing Oracle Java ......................................................................................... 2 4 Installing OJDK – 32bit or 64bit, IcedTea Java .................................................. 3 5 Installing the COBISS3 interface ........................................................................ 7 6 Launching the COBISS3 interface .................................................................... 11 7 COBISS3 interface as a trusted source in IcedTea ojdkbuild ........................... 11 © IZUM, 16. 7. 2019, VOS-NA-EN-380, V1.0 i VOS Installing Open Java Development Kit – ojdkbuild for Windows 1 Introduction At the end of 2018 Oracle announced a new business policy for Java SE which entered into force in April 2019. That is why when you install Java a notification and warning window appears. All versions of Java from 8 u201 onwards not intended for personal use are payable. For this reason, we suggest you do not update Java 8 to a newer version for work purposes. If you want a newer version of Java 8, install OpenJDK 8 and IcedTea. Also, do not install Java 8 on new computers (clients), but install OpenJDK 8 with IcedTea support. 2 OpenJDK distribution OpenJDK 1.8. build for Windows and Linux is available at the link https://github.com/ojdkbuild/ojdkbuild. There you will find versions for the installation. The newest version is always at the top, example from 7 May 2019: © IZUM, 16. 7. 2019, VOS-NA-EN-380, V1.0 1/11 Installing Open Java Development Kit – ojdkbuild for Windows VOS 3 Removing Oracle Java First remove the Oracle Java 1.8 software in Control Panel, Programs and Features.
    [Show full text]
  • Escuela T´Ecnica Superior De Ingeniería De
    ESCUELA TECNICA´ SUPERIOR DE INGENIER´IA DE TELECOMUNICACION´ Ingenier´ıa de Telecomunicacion´ PROYECTO FIN DE CARRERA Learning Analytics, Escalabilidad, Mejora de la Experiencia de Usuario e Internacionalizacion´ de la Herramienta de E-Learning FLEQ Autor: Cristina Lavado Arevalo´ Tutor: Gregorio Robles Mart´ınez Curso Acad´emico2013/2014 Proyecto Fin de Carrera LEARNING ANALYTICS, ESCALABILIDAD, MEJORA DE LA EXPERIENCIA DE USUARIO E INTERNACIONALIZACION´ DE LA HERRAMIENTA DE E-LEARNING FLEQ Autor Cristina Lavado Arevalo´ Tutor Gregorio Robles Mart´ınez La defensa del presente Proyecto Fin de Carrera se realiz´oel d´ıa de de , siendo calificada por el siguiente tribunal: PRESIDENTE: SECRETARIO: VOCAL: y habiendo obtenido la siguiente calificaci´on: CALIFICACION:´ Fuenlabrada, a de de . Copyright c 2014 Cristina Lavado Ar´evalo Este documento se publica bajo la licencia Creative Commons Reconocimiento-CompartirIgual 3.0 Espa~na http://creativecommons.org/licenses/by-sa/3.0/es (Ver Ap´endices) A mi familia Agradecimientos Esta´ es la culminaci´onde innumerables experiencias personales, que han dejado en m´ıgrandes recuerdos. Enumerar a todas las personas que me han apoyado e inspirado en estos ´ulti- mos a~noses una tarea incompleta y que voy a revelar ahora. Son muchas las personas a las que tengo que agradecer haber conseguido realizar el sue~node presentar este Proyecto y dar por finalizada una etapa de mi vida de la que me llevo grandes momentos. A los primeros que tengo que dar las gracias es a mi familia, y sobre todo a mis padres, sin vosotros no habr´ıa sido posible, gracias por vuestro apoyo incondicional y vuestro sacrificio durante estos a~nos.Sin la confianza que siempre hab´eisdepositado en m´ı,vuestra sinceridad y consejos este Proyecto y muchos logros personales no habr´ıanvisto la luz.
    [Show full text]
  • Java JDK Install Instructions
    Copyright 2013 – 2018+ by CompuScholar, Inc. Download and Installation Instructions for Java JDK Software for Windows Updated November 2018 The CompuScholar Java Programming and Android Programming courses use the Java Development Kit (JDK) software. This software is a free download specifically created for programming Java applications. This document will guide you through the download and installation procedure for setting up the JDK on your computer. This software is required for students in order to complete the course. Teachers who wish to view activity solutions or projects on their own computer are also encouraged to install this software. Changes to 3rd Party Websites 3rd parties such as Oracle, Inc. may change their websites without notice. Your download experience may not match the exact screen shots shown below in minor cosmetic ways. If you encounter significant changes, please contact us for updated instructions. Copyright Notices: Java, Java Development Kit (JDK) and related terms are all copyright by Oracle Corporation. Please see http://www.oracle.com for more details. This document is copyright by CompuScholar, Inc. This document may not be transmitted or reproduced without written permission except under terms of your purchased course license. http://www.compuscholar.com/ Page 1 Copyright 2013 – 2018+ by CompuScholar, Inc. Disclaimer: CompuScholar, Inc, and their officers and shareholders, assume no liability for damage to personal computers or loss of data residing on personal computers arising due to the use or misuse of this course material. Always follow instructions provided by the manufacturer of 3rd party programs that may be included or referenced by our courses. http://www.compuscholar.com/ Page 2 Copyright 2013 – 2018+ by CompuScholar, Inc.
    [Show full text]
  • Web Server Administration - the Easy Way
    Chapter 1: What’s In Your Web Site? Get to Know Your Web Server Administrator Web server computer platforms UNIX Macintosh Windows NT Web server software NCSA, W3C/CERN, and Apache Windows NT WebSTAR and MacHTTPD How your Web site fits into the whole Administrator’s jargon and management tools Round Up the Usual Suspects! Inventory Web server resources Take stock of your Web site Lotsa docs (it’s not an M.D.’s convention) Graphics galore The supporting cast of applications… Marvelous miscellany “Organized Web site” is not an oxymoron Where does your site live? Picture your directory/file structure as a tree You can’t tell the territory without a map Understanding all the pieces and parts Using remote hyperlinks What’s the code situation like? Any imagemaps in the picture? Strategic Planning for Your Web Site Juggling large document collections Tooling Up for Web Site Management What tools do you really need? Tool search adventures Judge what you find How to get ’em when you find ’em Wheeling and dealing: what’s your budget? Chapter 2: Web Server Administration - the Easy Way Web Server Hosting Options Web server hosting services Local Web server hosts Web server space renters Web malls Your friendly neighborhood ISP Your organization’s LAN You!? How the Web Server Fits into the Whole The hardware: computer and telephone equipment Web server software and (briefly) how it works The basics Passing information into and out of the HTTP server Web Server Platforms UNIX and the Web Windows (NT and 95) are coming on strong The Macintosh alternative
    [Show full text]
  • Apache Web Server ______
    Apache Web Server _____________________________________________________________________________________________________ Original author(s) Robert McCool Developer(s) Apache Software Foundation Initial release 1995[1] 2.4.9 (March 17, 2014) [±] Stable release Development Active status Written in C, Forth, XML[2] Type Web server License Apache License 2.0 Website httpd.apache.org The Apache HTTP Server , commonly referred to as Apache , is a web server application notable for playing a key role in the initial growth of the World Wide Web.[3] Originally based on the NCSA HTTPd server, development of Apache began in early 1995 after work on the NCSA code stalled. Apache quickly overtook NCSA HTTPd as the dominant HTTP server, and has remained the most popular HTTP server in use since April 1996. In 2009, it became the first web server software to serve more than 100 million websites.[4] Apache is developed and maintained by an open community of developers under the auspices of the Apache Software Foundation. Most commonly used on a Unix-like system,[5] the software is available for a wide variety of operating systems, including Unix, FreeBSD, Linux, Solaris, Novell NetWare, OS X, Microsoft Windows, OS/2, TPF, OpenVMS and eComStation. Released under the Apache License, Apache is open-source software. As of June 2013, Apache was estimated to serve 54.2% of all active websites and 53.3% of the top servers across all domains.[6][7][8][9][10] 1 Apache Web Server _____________________________________________________________________________________________________ Name According to the FAQ in the Apache project website, the name Apache was chosen out of respect to the Native American tribe Apache and its superior skills in warfare and strategy.
    [Show full text]
  • [1 ] Oracle Glassfish Server
    Oracle[1] GlassFish Server Release Notes Release 3.1.2 and 3.1.2.2 E24939-10 April 2015 These Release Notes provide late-breaking information about GlassFish Server 3.1.2 and 3.1.2.2 software and documentation. These Release Notes include summaries of supported hardware, operating environments, and JDK and JDBC/RDBMS requirements. Also included are a summary of new product features in the 3.1.2 and 3.1.2.2 releases, and descriptions and workarounds for known issues and limitations. Oracle GlassFish Server Release Notes, Release 3.1.2 and 3.1.2.2 E24939-10 Copyright © 2015, Oracle and/or its affiliates. All rights reserved. This software and related documentation are provided under a license agreement containing restrictions on use and disclosure and are protected by intellectual property laws. Except as expressly permitted in your license agreement or allowed by law, you may not use, copy, reproduce, translate, broadcast, modify, license, transmit, distribute, exhibit, perform, publish, or display any part, in any form, or by any means. Reverse engineering, disassembly, or decompilation of this software, unless required by law for interoperability, is prohibited. The information contained herein is subject to change without notice and is not warranted to be error-free. If you find any errors, please report them to us in writing. If this is software or related documentation that is delivered to the U.S. Government or anyone licensing it on behalf of the U.S. Government, then the following notice is applicable: U.S. GOVERNMENT END USERS: Oracle programs, including any operating system, integrated software, any programs installed on the hardware, and/or documentation, delivered to U.S.
    [Show full text]
  • Best Practices for Moving to Openjdk-10-18
    TECHNOLOGY WHITE PAPER Best Practices for Moving to OpenJDK Best Practices for Moving to OpenJDK Since Java SE 7, the OpenJDK has been the reference implementation (RI) of the Java SE standard, as dened by the relevant Java Specication Request (JSR). A project was also created for OpenJDK 6 to allow an open-source implementation of Java SE 6 to be built. Azul Systems is the project lead for OpenJDK 6. OpenJDK is licensed under the GNU Public License (GPL) version 2 with classpath exception (CPE). The CPE eliminates the viral nature of the GPL from affecting applications running on the OpenJDK. Changes to JDK Binary Distribution and Updates In September 2017, Oracle announced a series of changes to the way the JDK would be developed, This whitepaper explains what Zulu is and how to migrate distributed and updated. These changes can be applications from the Oracle JDK to the Zulu builds of summarized as follows: OpenJDK. • The release of the JDK has changed to a time-based model with two releases every year, in March and September. • Oracle has started to produce a second binary distribution of the JDK, built using only the OpenJDK Introduction source code. This is released under the GPLv2 with How the Java Development Kit (JDK) is delivered is classpath exception license, which is less restrictive changing, and these changes will impact many Java than the Oracle Binary Code License for Java SE users. From JDK 11 (to be released in September 2018) used for the Oracle JDK binary. it will no longer be possible to use the Oracle JDK in • From JDK 11, there are no functional differences production without a commercial support agreement.
    [Show full text]
  • Comparison of Web Server Software from Wikipedia, the Free Encyclopedia
    Create account Log in Article Talk Read Edit ViewM ohrisetory Search Comparison of web server software From Wikipedia, the free encyclopedia Main page This article is a comparison of web server software. Contents Featured content Contents [hide] Current events 1 Overview Random article 2 Features Donate to Wikipedia 3 Operating system support Wikimedia Shop 4 See also Interaction 5 References Help 6 External links About Wikipedia Community portal Recent changes Overview [edit] Contact page Tools Server Developed by Software license Last stable version Latest release date What links here AOLserver NaviSoft Mozilla 4.5.2 2012-09-19 Related changes Apache HTTP Server Apache Software Foundation Apache 2.4.10 2014-07-21 Upload file Special pages Apache Tomcat Apache Software Foundation Apache 7.0.53 2014-03-30 Permanent link Boa Paul Phillips GPL 0.94.13 2002-07-30 Page information Caudium The Caudium Group GPL 1.4.18 2012-02-24 Wikidata item Cite this page Cherokee HTTP Server Álvaro López Ortega GPL 1.2.103 2013-04-21 Hiawatha HTTP Server Hugo Leisink GPLv2 9.6 2014-06-01 Print/export Create a book HFS Rejetto GPL 2.2f 2009-02-17 Download as PDF IBM HTTP Server IBM Non-free proprietary 8.5.5 2013-06-14 Printable version Internet Information Services Microsoft Non-free proprietary 8.5 2013-09-09 Languages Jetty Eclipse Foundation Apache 9.1.4 2014-04-01 Čeština Jexus Bing Liu Non-free proprietary 5.5.2 2014-04-27 Galego Nederlands lighttpd Jan Kneschke (Incremental) BSD variant 1.4.35 2014-03-12 Português LiteSpeed Web Server LiteSpeed Technologies Non-free proprietary 4.2.3 2013-05-22 Русский Mongoose Cesanta Software GPLv2 / commercial 5.5 2014-10-28 中文 Edit links Monkey HTTP Server Monkey Software LGPLv2 1.5.1 2014-06-10 NaviServer Various Mozilla 1.1 4.99.6 2014-06-29 NCSA HTTPd Robert McCool Non-free proprietary 1.5.2a 1996 Nginx NGINX, Inc.
    [Show full text]
  • Java (Software Platform) from Wikipedia, the Free Encyclopedia Not to Be Confused with Javascript
    Java (software platform) From Wikipedia, the free encyclopedia Not to be confused with JavaScript. This article may require copy editing for grammar, style, cohesion, tone , or spelling. You can assist by editing it. (February 2016) Java (software platform) Dukesource125.gif The Java technology logo Original author(s) James Gosling, Sun Microsystems Developer(s) Oracle Corporation Initial release 23 January 1996; 20 years ago[1][2] Stable release 8 Update 73 (1.8.0_73) (February 5, 2016; 34 days ago) [±][3] Preview release 9 Build b90 (November 2, 2015; 4 months ago) [±][4] Written in Java, C++[5] Operating system Windows, Solaris, Linux, OS X[6] Platform Cross-platform Available in 30+ languages List of languages [show] Type Software platform License Freeware, mostly open-source,[8] with a few proprietary[9] compo nents[10] Website www.java.com Java is a set of computer software and specifications developed by Sun Microsyst ems, later acquired by Oracle Corporation, that provides a system for developing application software and deploying it in a cross-platform computing environment . Java is used in a wide variety of computing platforms from embedded devices an d mobile phones to enterprise servers and supercomputers. While less common, Jav a applets run in secure, sandboxed environments to provide many features of nati ve applications and can be embedded in HTML pages. Writing in the Java programming language is the primary way to produce code that will be deployed as byte code in a Java Virtual Machine (JVM); byte code compil ers are also available for other languages, including Ada, JavaScript, Python, a nd Ruby.
    [Show full text]