SlideShare a Scribd company logo
Develop and Deploy a Java Application with NetBeans 
Follow these instructions to use NetBeans to develop and deploy your Java application to the OEF Hosted Environment. 
Before you begin: 
 Obtain your OEF Hosted Environment URL, username, and password from your coach. 
 Make sure you have unrestricted Internet access and that proxy servers or firewalls are not blocking access to the below-noted resources. 
Install the Software 
Download and install the following software. Accept the default components for each install. 
 Java Development Kit 6 
 Netbeans 7.0.1 – Java EE bundle with GlassFish Server 3.1 
o Download the “Java EE” bundle. 
Configure NetBeans 
Make sure that the “Java Web and EE” plugin is activated: 
 Open NetBeans. 
 Go to Tools > Plugins. 
 Select the “Installed” tab. 
 All “Java Web and EE” entries listed should have a checkmark under the “Active” column. For those that do not, select “Java Web and EE” and click “Activate”. 
o The number of “Java Web and EE” entries will vary depending on your operating system. 
Name your GlassFish server installation: 
 Go to Tools > Servers > Add Server. 
 Select “GlassFish Server 3”. 
 In the “Name” field, enter a name for your server. In this example, we use the name “ThinkQuest”.
 Click “Next”. 
Provide a local installation path for your GlassFish server. In this example, we use “C:Program FilesGlassFish- 3.1”: 
 Read and accept the license agreement. 
 Click “Next”. 
Register your remote domain: 
 Click the radio button next to “Register Remote Domain”. 
 In the “Host Name” field, enter your team's OEF Hosted Environment URL. In this example, we use “xxddtjwifeogcqgavnwa.thinkquest.org”. 
 In the “Admin Port” field, enter “8787”. 
 Click “Finish”.
Your server name will display in the server list. 
In the login window, enter the OEF Hosted Environment username and password. 
 If the login window does not appear, right-click on your server name in the server list and click “Refresh”. 
After you log in, additional information will appear under your server name (e.g. Applications, Resources, Web Services etc.). GlassFish is now configured.
Create your Application 
Create a new project for your example application: 
 Open NetBeans. 
 Create a new Project. Go to File > New Project. 
 Select “Java Web” under Categories. 
 Select “Web Application” under Projects. 
 Click “Next”. 
Name your project: 
 In the “Project Name” field, enter a name for your project. In this example, we name the project “HelloWorld”. 
 Accept the defaults for the other fields. 
 Click “Next”.
Provide the context path for your project: 
 In the “Server” field, select the GlassFish server you configured. 
 Accept the defaults for the other fields. 
 Click “Next”. 
Select the Frameworks you want to use in your application. This example does not use them so none is selected. 
 Click “Finish”.
A new project will now appear in the project list (Window > Projects). 
Continue to develop code in your project as needed. 
Deploy your Application to the OEF Hosted Environment 
Open NetBeans and select the project from the project list (Window -> Projects). 
Build the project: 
 Right-click on your application and click “Build”. 
Deploy your application: 
 Right-click on your application and click “Run”. 
Your application is deployed and can run in a browser. In this example, the application URL is: 
 https://xxddtjwifeogcqgavnwa.thinkquest.org/HelloWorld.

More Related Content

DOCX
Installation and configure the oracle webcenter
PPTX
Anypoint lessons
PDF
Office 365 Licenses Report
PPTX
Run Selenium Tests With Microsoft Test Manager
PPTX
Whys and Hows of Automation
PPTX
How To Automate Cross Browser Testing
PPT
Selenium classes in mumbai
DOCX
Verify Login functionality of Yahoo mail using Selenium WebDriver methods
Installation and configure the oracle webcenter
Anypoint lessons
Office 365 Licenses Report
Run Selenium Tests With Microsoft Test Manager
Whys and Hows of Automation
How To Automate Cross Browser Testing
Selenium classes in mumbai
Verify Login functionality of Yahoo mail using Selenium WebDriver methods

What's hot (19)

PPTX
Selenium tutorial
PPTX
Automatic Test Results Publishing using Slack
PPTX
Mule esb - How to connect to a MySql Database in 5 minutes
PPTX
Telerik test studio webinar deck
PPTX
An approach to app security - For beginners
PPT
Cpanel Guide
PPTX
Cloud hub with mule
PPTX
A Look into Automated Web UI Test
PPTX
Selenium Open Source Tool
PPTX
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
PPT
ASP.NET AJAX Basics
PPT
How To Hack
 
PPTX
How To Install Sonar Qube Plugin In Anypoint Studio
PPTX
Testing Agile Web Services from soapUI
PPTX
Web Hacking Series Part 4
PPTX
Web hacking series part 3
PPTX
Deploying and running mule standalone
PPTX
PPTX
Tutorial how to create a simple maven project
Selenium tutorial
Automatic Test Results Publishing using Slack
Mule esb - How to connect to a MySql Database in 5 minutes
Telerik test studio webinar deck
An approach to app security - For beginners
Cpanel Guide
Cloud hub with mule
A Look into Automated Web UI Test
Selenium Open Source Tool
ASP.NET Quick Wins - 20 Tips and Tricks To Shift Your Application into High Gear
ASP.NET AJAX Basics
How To Hack
 
How To Install Sonar Qube Plugin In Anypoint Studio
Testing Agile Web Services from soapUI
Web Hacking Series Part 4
Web hacking series part 3
Deploying and running mule standalone
Tutorial how to create a simple maven project
Ad

Viewers also liked (20)

PPT
Chexplore VC Presentation
PPTX
Going Paperless in Payroll
PPTX
Overcoming & Preventing Significant Technical SEO Issues
PPT
Edmodo 8-6-12
PPT
BYOiPad Parent Briefing, July 31, 2012
PDF
PDF
Chapter 1 active learning
PDF
Building Brand Value
DOCX
Cách mới để món cá sốt cà ri ngon bất ngờ
PPTX
Learning Solutions
PDF
Social mediaformarketeers kintinblog
PDF
150520 教育学特殊XIV 第5講
PPTX
台湾の目標準拠評価の国際会議のスライド
PDF
20121222 scalaビギナーズ
PDF
Chemia cała
PDF
FloBoard SlideShare
PPTX
OpenText Learning Solutions
PPTX
Mangalam institute of management
PPTX
Killer food obesity
Chexplore VC Presentation
Going Paperless in Payroll
Overcoming & Preventing Significant Technical SEO Issues
Edmodo 8-6-12
BYOiPad Parent Briefing, July 31, 2012
Chapter 1 active learning
Building Brand Value
Cách mới để món cá sốt cà ri ngon bất ngờ
Learning Solutions
Social mediaformarketeers kintinblog
150520 教育学特殊XIV 第5講
台湾の目標準拠評価の国際会議のスライド
20121222 scalaビギナーズ
Chemia cała
FloBoard SlideShare
OpenText Learning Solutions
Mangalam institute of management
Killer food obesity
Ad

Similar to Java netbeans (20)

PPT
Java EE 02-First Servlet
PPTX
1 app 2 developers 3 servers
PPTX
Using galen framework for automated cross browser layout testing
PPTX
Writing simple web services in java using eclipse editor
PPTX
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
PPTX
LoadUI web performance testing tool
DOC
Create Applicationwith IIS 7
PDF
Javaserver Faces Introduction By Example 1st Edition Josh Juneau Auth
PDF
Javaserver Faces Introduction By Example Juneau Josh
PDF
Javaserver Faces Introduction By Example Juneau Josh
PPTX
10. building forms
PPTX
9. .net applications using command line compiler and visual studio .net ide
PDF
New Flash Builder 4 WSDL and HTTP Connectors
PPTX
Web Server configuration.pptx
PPT
Implementing xpages extension library
PDF
Oracle OSB Tutorial 1
DOCX
Weblogic 12c Graphical Mode installation steps in Windows
DOCX
12c weblogic installation steps for Windows
PDF
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
PPTX
Deploying configuring caching
Java EE 02-First Servlet
1 app 2 developers 3 servers
Using galen framework for automated cross browser layout testing
Writing simple web services in java using eclipse editor
Load ui web Load Testing Open source Performance Testing tool Learn Load UI W...
LoadUI web performance testing tool
Create Applicationwith IIS 7
Javaserver Faces Introduction By Example 1st Edition Josh Juneau Auth
Javaserver Faces Introduction By Example Juneau Josh
Javaserver Faces Introduction By Example Juneau Josh
10. building forms
9. .net applications using command line compiler and visual studio .net ide
New Flash Builder 4 WSDL and HTTP Connectors
Web Server configuration.pptx
Implementing xpages extension library
Oracle OSB Tutorial 1
Weblogic 12c Graphical Mode installation steps in Windows
12c weblogic installation steps for Windows
Oracle EBS 12.1.3 : Integrate OA Framework BC4J components within java concur...
Deploying configuring caching

Recently uploaded (20)

PPTX
ai tools demonstartion for schools and inter college
PPTX
Reimagine Home Health with the Power of Agentic AI​
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
PPTX
Introduction to Artificial Intelligence
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
L1 - Introduction to python Backend.pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
System and Network Administration Chapter 2
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Softaken Excel to vCard Converter Software.pdf
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
medical staffing services at VALiNTRY
PPTX
VVF-Customer-Presentation2025-Ver1.9.pptx
PDF
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...
ai tools demonstartion for schools and inter college
Reimagine Home Health with the Power of Agentic AI​
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Adobe Premiere Pro 2025 (v24.5.0.057) Crack free
Introduction to Artificial Intelligence
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Wondershare Filmora 15 Crack With Activation Key [2025
L1 - Introduction to python Backend.pptx
Operating system designcfffgfgggggggvggggggggg
How to Choose the Right IT Partner for Your Business in Malaysia
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
System and Network Administration Chapter 2
Design an Analysis of Algorithms I-SECS-1021-03
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Softaken Excel to vCard Converter Software.pdf
Design an Analysis of Algorithms II-SECS-1021-03
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
medical staffing services at VALiNTRY
VVF-Customer-Presentation2025-Ver1.9.pptx
Audit Checklist Design Aligning with ISO, IATF, and Industry Standards — Omne...

Java netbeans

  • 1. Develop and Deploy a Java Application with NetBeans Follow these instructions to use NetBeans to develop and deploy your Java application to the OEF Hosted Environment. Before you begin:  Obtain your OEF Hosted Environment URL, username, and password from your coach.  Make sure you have unrestricted Internet access and that proxy servers or firewalls are not blocking access to the below-noted resources. Install the Software Download and install the following software. Accept the default components for each install.  Java Development Kit 6  Netbeans 7.0.1 – Java EE bundle with GlassFish Server 3.1 o Download the “Java EE” bundle. Configure NetBeans Make sure that the “Java Web and EE” plugin is activated:  Open NetBeans.  Go to Tools > Plugins.  Select the “Installed” tab.  All “Java Web and EE” entries listed should have a checkmark under the “Active” column. For those that do not, select “Java Web and EE” and click “Activate”. o The number of “Java Web and EE” entries will vary depending on your operating system. Name your GlassFish server installation:  Go to Tools > Servers > Add Server.  Select “GlassFish Server 3”.  In the “Name” field, enter a name for your server. In this example, we use the name “ThinkQuest”.
  • 2.  Click “Next”. Provide a local installation path for your GlassFish server. In this example, we use “C:Program FilesGlassFish- 3.1”:  Read and accept the license agreement.  Click “Next”. Register your remote domain:  Click the radio button next to “Register Remote Domain”.  In the “Host Name” field, enter your team's OEF Hosted Environment URL. In this example, we use “xxddtjwifeogcqgavnwa.thinkquest.org”.  In the “Admin Port” field, enter “8787”.  Click “Finish”.
  • 3. Your server name will display in the server list. In the login window, enter the OEF Hosted Environment username and password.  If the login window does not appear, right-click on your server name in the server list and click “Refresh”. After you log in, additional information will appear under your server name (e.g. Applications, Resources, Web Services etc.). GlassFish is now configured.
  • 4. Create your Application Create a new project for your example application:  Open NetBeans.  Create a new Project. Go to File > New Project.  Select “Java Web” under Categories.  Select “Web Application” under Projects.  Click “Next”. Name your project:  In the “Project Name” field, enter a name for your project. In this example, we name the project “HelloWorld”.  Accept the defaults for the other fields.  Click “Next”.
  • 5. Provide the context path for your project:  In the “Server” field, select the GlassFish server you configured.  Accept the defaults for the other fields.  Click “Next”. Select the Frameworks you want to use in your application. This example does not use them so none is selected.  Click “Finish”.
  • 6. A new project will now appear in the project list (Window > Projects). Continue to develop code in your project as needed. Deploy your Application to the OEF Hosted Environment Open NetBeans and select the project from the project list (Window -> Projects). Build the project:  Right-click on your application and click “Build”. Deploy your application:  Right-click on your application and click “Run”. Your application is deployed and can run in a browser. In this example, the application URL is:  https://xxddtjwifeogcqgavnwa.thinkquest.org/HelloWorld.