click below
click below
Normal Size Small Size show me how
SCJA-drills-chap11
Question | Answer |
---|---|
What is HTML? | HTML is a markup language used to present static content in the form of web pages. |
What is JavaScript? How closely related is it from Java? | JavaScript is different than Java; it is a scripting language used to provide interactivity in web pages. |
What is a thin client? | A thin client is an application that is not much more than a user interface that connects to an enterprise server for its data and processing. |
Give an example of what HTML and JavaScript are useful for. | HTML and JavaScript are useful for creating user interfaces. |
What does a user need to access an HTML application? | All the user needs to access an HTML application is a web browser. |
What are the limitations of HTML and JavaScript, regarding clients? | HTML and JavaScript provide only limited user interface components. |
What is J2ME? | J2ME is a branch of Java. |
Give a characteristic of J2ME, regarding resources? | J2ME is for resource-limited devices. |
What are MIDlets? | MIDlets are applications written in J2ME for a MIDP device. |
What are Profiles and configurations, in the context of J2ME? | Profiles and configurations are used to define a device. |
Give an example of an environment where MIDlets can be developed. | MIDlets can be developed and tested on desktop computers. |
What are the display limitations of MIDlets? | MIDlets can only display basic user interfaces. |
Where are applets normally run? And, hehe, what are they? | Applets are Java programs that are normally embedded in web pages. |
How could interfaces of applets be characterized? | Applets can contain simple or complex interfaces. |
How are applets normally deployed and launched? | Applets are normally launched from a web page and downloaded before they start. |
What can an applet download if needed? | Applets can download updates to the Java Virtual Machine if needed. |
What happens every time an applet is started? | Each time an applet is started, they are reloaded, ensuring that users will always have the latest version. |
Why may applets be slow to start? | Applets may be slow to start since they are loaded from the network. |
What is Swing? Give a characteristic of Swing. | Swing is a graphical user interface toolkit. Swing is lightweight, meaning it draws and manages its own components. |
What is AWT? | AWT is a heavyweight graphical user interface toolkit, meaning it relies on native components to render its interface. |
What can Swing be used to? | Swing can be used to create the richest and most complex interfaces. |
What inconvenients may be encountered when using Swing? | Using Swing can add complexity to a project and increase the needed resources for it to run. |