Join Todd Perkins for an in-depth discussion in this video Loading XML data from the web, part of Learning Java Applications (2012).
In this chapter we're going to look at how to use XML data from a URL to run a…desktop application.…The XML data we're going to use is the same data that we created in the previous chapter,…so for this you're going to need two projects in your Projects Explorer.…First, the final version of the app created in the last chapter and here…you'll see data.jsp.…Note that the project name is jsp_final.…And if you test this with the built-in Eclipse web browser, you'll see a URL in…the Web Browser area.…
You can copy that URL now because we're going to use it in just a second.…So I'm going to close those two files. And the main files we're going to be…working with for this are in the loading _xml project, and I put them inside the…com.toddperkins.uar package.…So I'm going to double-click the tab for AppMain.java to expand the area.…AppMain is the main class.…Here I create a new instance of the View class and run some methods.…Explain the DefaultCloseOperation, which is a method of JFrame.…
We'll look at that in just a minute.…
Author
Released
2/24/2012- Working with Eclipse
- Using MySQL database drivers
- Displaying data from a database as XML
- Loading XML data from the web
- Displaying data based on user input
- Publishing a desktop application
- Understanding applets
- Building the layout
- Viewing the app on an Android device
Skill Level Beginner
Duration
Views
Related Courses
-
Git Essential Training
with Kevin Skoglund6h 25m Beginner -
Learning Java 8
with Peggy Fisher3h 9m Beginner -
3ds Max 2015 Essential Training
with Aaron F. Ross10h 43m Beginner
-
Introduction
-
Welcome36s
-
Using the exercise files1m 7s
-
-
1. Exploring Development Environments
-
2. Building Dynamic Web Applications
-
Installing MySQL on the Mac1m 16s
-
Installing MySQL on Windows4m 24s
-
Using MySQL database drivers2m 31s
-
Connecting to a database6m 41s
-
3. Creating a Desktop App
-
Publishing a desktop app3m 29s
-
4. Making Applets
-
5. Writing Android Applications
-
Installing the Android SDK6m 59s
-
Building the app's layout5m 48s
-
Sending data to a new intent7m 26s
-
-
Conclusion
-
Next steps57s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Loading XML data from the web