Distribuidos

Páginas: 5 (1220 palabras) Publicado: 6 de julio de 2011
Universidad Nacional Mayor de San Marcos Facultad de Ingeniería de Sistemas e Informática

UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS FACULTAD DE INGENIERIA DE SISTEMAS E INFORMATICA

SISTEMAS DISTRIBUIDOS GUIA DE LABORATORIOS
Preparado por Lic. Jorge Guerra Guerra

Semestre 2011-1
Lic. Jorge Guerra Guerra Sistemas Distribuidos

1

Universidad Nacional Mayor de San Marcos Facultad deIngeniería de Sistemas e Informática

Laboratorio 1 Implementación de aplicaciones bajo Cloud Computing Objetivo
Utilizando netBeans 7.0 se estudiara e implementara una aplicación web java que será instalada dentro de un entorno de Cloud Computing , con el fin de obtener conocimientos sobre el uso de este paradigma de computación y entender su funcionamiento. Se utilizara la implementación detipo PAAS llamada Google App Engine.

Google App Engine con Java
A continuación se detalla el procedimiento de uso de Google App Engine con Java Getting started with Google App Engine development is easy and free. For the purposes of this tutorial, I tend to focus on developing GAE apps from within the Linux platform. However, since both Netbeans and the Google App Engine SDK are multiplatform,these instructions will be pretty much the same on any of the major operating systems (Linux, Mac, or Windows). Let’s get started.

Sign up for Google App Engine
First things first. Navigate to http://appengine.google.com and sign up to enable your Google Account for use with Google App Engine. In order to activate your account, you will need a phone that supports SMS or text messaging.Thankfully this is not hard to find these days as every major phone for the last bajillion years has this feature.

Create Your App
After activating your account, create your application. Once you’ve got your application name and URL solved, write them down or store the information in a text file. It’s amazing how many times I had to look up what domain Google uses for their cloud apps before they’relive. I’ve been working with Windows Azure and their appname.cloudapp.net setup for so long that I always want to type that instead. Google App Engine apps are located at appname.appspot.com.

Download the Google App Engine SDK
Download and unzip the Google App Engine SDK to a folder on your hard drive. For my projects I use the Java SDK but feel free to download the Python version if that’syour thing.

Lic. Jorge Guerra Guerra Sistemas Distribuidos

2

Universidad Nacional Mayor de San Marcos Facultad de Ingeniería de Sistemas e Informática

Install the NetBeans Integrated Development Environment
If you haven’t already, install the NetBeans IDE. This is the program you’ll use to manage your GAE application projects and write source code. Consequently, you are also able topublish GAE apps from within the IDE. To install NetBeans on Mandriva Linux, type urpmi netbeans in the command-line as the root user. For Debian-based Linux such as Ubuntu, try sudo apt-get netbeans. For other operating systems, try downloading NetBeans manually from the NetBeans homepage. If you’ve never used NetBeans before, prepare to be blown away. I love this IDE. It runs on all major platformsand has tons of plugins to help brighten your day. In fact, plugins are what we’ll be installing next.

Install the Google App Engine NetBeans Plugin
To install the Google App Engine NetBeans Plugin, follow these instructions: 1. 2. 3. 4. 5. 6. 7. Start NetBeans Make note of NetBeans version number Click Tools -> Plugins Select the Settings tab Click the Add button Type “App Engine” (withoutthe quotes) into the Name field If using NetBeans 6.7 paste http://kenai.com/projects/nbappengine/downloads/download/1.0_ etBeans671/upd ates.xml into the URL field 8. If using NetBeans 6.8 paste http://kenai.com/projects/nbappengine/downloads/download/Latest_ etBeans68/up dates.xml into the URL field 9. Click the OK button 10. Click on Available Plugins 11. Select all Google App Engine plugins...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Distribuciones
  • Distribuciones
  • distribuidos
  • Distribuciones
  • Distribuciones
  • Distribuciones
  • Distribuciones
  • Distribuciones

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS