slides - Austin Java Users Group
Download
Report
Transcript slides - Austin Java Users Group
Robert Clevenger
Principal Product Manager
Oracle Corporation
Creating a Java
Development Environment
with Open Source Tools and
Oracle9i JDeveloper
Topics
•
•
•
•
•
Linux
Software Choices
Installation
Sourceforge.net
Linux
Linux
•
•
•
•
•
•
Open source with GNU GPL licensing
Young and dynamic OS with lots of
momentum from developers worldwide
Portable to most architectures
Diagnostic and tuning packages
Excellent, low-cost alternative
Over 18 million Linux users worldwide
Why Linux?
•
Open source
–
–
–
•
•
You have the source for your OS
Faster access to patches
Cost effective. You pay only for support
Runs on the X86 platform and many others
Reliable - No blue screen of death
Why Oracle on Linux?
•
•
•
•
•
•
Proven track record
Technical Linux OS support
Technology innovations on Linux
Cost Effective solution
Certification with major enterprise Linux distributions
1 million+ copies of Oracle products for Linux downloaded from OTN
Which distribution is for you?
•
•
•
•
•
•
Red Hat
SuSE
Mandrake
Caldera
Debian
Slackware
Software Choices
•
•
•
•
•
•
•
J2SDK
CVS
Editor or IDE
JDeveloper
Ant
Struts
Tomcat
Java2 Software Development Kit
•
Which distribution?
–
–
•
Blackdown.org
Sun Microsystems, Inc
Which version
–
–
1.3.1
1.4.1
CVS
•
•
•
•
Open Source Software Configuration
Management (SCM) Tool
Started out in 1986 as a collection of shell
scripts posted on comp.sources.unix
CVS application created in 1989
De-facto standard for SCM among Open
Source Projects
Why CVS?
•
•
•
•
•
Cost effective
Tested by years of use in many environments
Client/Server Support
Supports tunnelling for secure connections
Extensible with scripts (cvswrappers)
Editor or IDE?
•
Many Editors
–
–
–
–
•
Emacs
JEdit
vi
Jext
Many IDEs
–
–
–
JDeveloper
JBuilder
NetBeans
Why use an IDE?
•
•
•
•
•
•
Coding tools geared for your language
WYSIWYG Editors
Metadata Editors
Deployment Support
VCS Integration
One tool with a reduced learning curve
Ant
•
•
•
•
•
Java and XML based build tool, like make,
without the quirks
Included as part of Tomcat source code
donated to Apache Foundation from Sun
Split out of Tomcat in January 2000
Quickly became the defacto-standard among
Open Source Java projects
Used by virtually all Apache-Jakarta projects
Why Ant?
•
Uses XML metafiles instead of make files
–
–
•
"No dreaded tab problem"
XML is more familiar to many Java developers
Extended with Java vs. Shell commands
–
–
Better cross-platform compatibility
No tcsh/bash/cmd.exe/perl/python required
Struts
•
•
Struts is an open source framework for
building Web applications that integrates with
standard technologies like Java Servlets,
JavaServer Pages and JavaBeans
Struts enables Web application development
which follow the Model-View-Controller (MVC)
design paradigm
Why Struts?
•
•
•
•
Provides a framework for an area where there
was none
Struts is already considered the de-facto
standard for a J2EE MVC Framework
Struts is moving towards becoming a standard
(Java Server Faces)
Is influencing future of J2EE Web Tier
development
Jakarta-Tomcat
•
•
•
•
Created when Sun donated the RI to Apache
Apache Project
Started the Apache-Jakarta project
Used by Sun in the reference implementation
Installation
•
•
•
•
•
Java2 Software Development Kit
CVS
Editors and other free software
JDeveloper
Ant and other Jakarta projects
Java2 SDK
•
Installation Formats
–
–
•
•
•
RPM
TAR
Where to install
Integration with rest of the environment
Gotachas
–
–
Preferences
README items do matter
CVS
•
•
•
Where to obtain it
Where to install it
Setting up the CVS pserver environment
Editors and other free software
•
Building from Source
–
–
–
•
GNU.org
SourceForge.net
Project Home Pages
Pre-built binaries
–
–
RPMFind.net
FreshMeat.net
JDeveloper
•
Free Download from OTN
–
•
http://otn.oracle.com/products/jdev
RPM and ZIP file installs
–
ZIP file is the same image as all platforms
Ant and other Jakarta Projects
•
•
•
http://jakarta.apache.org
Find a local mirror if possible
Two ways to install software
–
–
•
Build it from the sources
Use the pre-built binaries
Mix in match pre-built vs. build yourself
–
–
Use pre-built on most Java projects
Use sources for Apache Server/modules
SourceForge.net
•
•
•
•
Sourceforge.net is the world’s largest Open
Source software development website
Hosts tens of thousands of projects
Free for all Open Source projects
Owned by VA Software
–
Part of the Open Source Developers Network
(OSDN)
D E M O N S T R A T I O N
Demonstration
Title Here
QUESTIONS
ANSWERS