What are PBP and PP in J2ME?

February 27th, 2007 by uCertify Leave a reply »

PBP: The Personal Basis Profile (JSR 129) is a superset of the Foundation Profile (FP) that adds the J2SE APIs that are omitted from CDC. The Foundation Profile includes the java.net classes required for stream-based socket and HTTP connections. PBP includes the following features:

  1. It includes the Xlet application model.
  2. It includes a subset of the J2SE Abstract Windowing Toolkit (AWT) for building user interfaces based exclusively on lightweight components.
  3. It includes the Inter-Xlet communication (IXC).
  4. It supports the traditional application model as well as the Xlet model.
  5. It does not support RMI because the java.rmi and java.rmi.registry packages are included to support inter-Xlet communication, not full-fledged RMI. A PBP-based device can support RMI, but only if the RMI Optional Package (RMIOP) is installed.
  6. It includes the subsets of the J2SE 1.3 packages.
  7. It does not define an entirely new set of user-interface classes, but it defines the subsets of the standard AWT classes.
  8. It excludes all the heavyweight components other than Window and Frame. In any PBP application, there are no buttons, lists, menus, or other basic user-interface components.

PP: The Personal Profile (JSR 62) is a superset of the Personal Basis Profile that adds all the features of the Xlet application model and inter-Xlet communication. PP includes the following features:

  1. It provides applet support for building browser-based applications.
  2. It provides a more comprehensive AWT subset that includes support for heavyweight components, JDK 1.02-style events, and deprecated APIs.
  3. It provides Clipboard support using a subset of the java.awt.datatransfer package.
  4. It adds classes from three J2SE 1.3 packages: java.applet, java.awt, and java.awt.datatransfer. It does not define any additional non-J2SE packages.
  5. It includes support for the standard heavyweight UI components, and classes such as java.awt.Button and java.awt.List.
  6. It does not include the deprecated methods of Java 1.1.8.
  7. It does not support RMI unless the RMI Optional Package is present.
  8. It does not include any JDBC classes from the java.sql package unless the JDBC Optional Package for CDC/Foundation Profile (JSR 169) is present.
  9. It does not support the PersonalJava-specific APIs.
Become SUN SCJA certified. Download free practice test for CX310-019 SCJA exam.
Like this article? Share it with others
If you like this article, please leave a comment or subscribe this blog via RSS or via e-mail, Bookmark and share through your network. Click the AddThis button below. Thanks.
  • Share/Bookmark
Advertisement

Leave a Reply

uCertify.com | Our Company | Articles | Contact Us | News and Press Release | uCertify India | Entries (RSS)
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD    Cisco Certification: CCNA, CCENT    A+, Network+, Security+ Project+
Oracle Certification: OCP 11g, OCP 10g, OCA 11g, OCA 10g    CIW foundation    EC-212-32,    CISSP    Photoshop ACE CS4    Adobe Flash ACE, PMP, CAPM
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.