TAILIEUCHUNG - Bắt đầu với IBM Websphere smash - p 5

22 Chapter 2 Choose Your Development Environment Figure Create a sample application. Figure List of sample applications Download from Eclipse 23 As before, this list is retrieved from the remote WebSphere sMash repository, so you’ll need an Internet connection to populate this list to. After you select a sample, click Next and then Finish, and the sample application will be created in your current workspace. After it has been created, you can poke around and take a look at the sample, edit it, and run it as is discussed later in this chapter. Creating a New Project Creating a new project in Eclipse will be familiar to those who. | 22 Chapter 2 Choose Your Development Environment Figure Create a sample application. Figure List of sample applications Download from Eclipse 23 As before this list is retrieved from the remote WebSphere sMash repository so you ll need an Internet connection to populate this list to. After you select a sample click Next and then Finish and the sample application will be created in your current workspace. After it has been created you can poke around and take a look at the sample edit it and run it as is discussed later in this chapter. Creating a New Project Creating a new project in Eclipse will be familiar to those who have used Eclipse before. Go to File New Project and choose a WebSphere sMash application then click the Next button see Figure . Figure New Project dialog box Next you ll be prompted to type in a project name and you ll have the option to select a location for the project. When you have completed those tasks press the Finish button. You ll now have a newly created project in your workspace ready to edit or run. If you browse through the project structure you ll find many project-related files to browse or edit. To run the application right-click on the project and select Run As WebSphere sMash Application as shown in Figure . When the project is started the Eclipse console window displays messages to indicate that the application was started and on which port the application is listening. Download from 24 Chapter 2 Choose Your Development Environment Run As 1 Java Applet Alt Shift X A Debug As E 2 Java Application Alt Shift X J Profile As Validate Add Remove Lisp Nature Q 3 WebSphere sMash Application Run Configurations. . Figure Running the application inside Eclipse Adding Dependencies To add dependencies you need to double-click the file inside the project. To do this expand the project and then expand the config directory as shown in Figure . - J

TỪ KHÓA LIÊN QUAN
TAILIEUCHUNG - Chia sẻ tài liệu không giới hạn
Địa chỉ : 444 Hoang Hoa Tham, Hanoi, Viet Nam
Website : tailieuchung.com
Email : tailieuchung20@gmail.com
Tailieuchung.com là thư viện tài liệu trực tuyến, nơi chia sẽ trao đổi hàng triệu tài liệu như luận văn đồ án, sách, giáo trình, đề thi.
Chúng tôi không chịu trách nhiệm liên quan đến các vấn đề bản quyền nội dung tài liệu được thành viên tự nguyện đăng tải lên, nếu phát hiện thấy tài liệu xấu hoặc tài liệu có bản quyền xin hãy email cho chúng tôi.
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.