BEA 8.1
Certified Developer: Build Solutions
Examination
Study
Guide
The BEA 8.1 Certified Developer: Build Solutions examination is designed to assess the critical areas of knowledge needed to successfully build custom solutions using BEA technologies, especially Workshop and Server, but also Integration and Portal.
The skills and knowledge certified by the examination represent a professional level of expertise at which a certified individual can:
§ Effectively perform the key job tasks required of their job role, using BEA WebLogic Platform 8.1
§ Apply a sophisticated knowledge of application servers with J2EE programming
§ Apply key concepts and implement best practices that are optimal for creating custom Web applications
The examination is designed to assess real-world job functions. To ensure the validity of the certification exams, a thorough exam-development process was conducted.
This examination concentrates mainly on Workshop-based development. Although some fundamental J2EE concepts and APIs are tested in this examination, it would be more accurate to view all questions as deriving from the use of Workshop to develop applications specifically for the WebLogic platform. Although the examination covers more than Workshop alone, no preparation will prove more helpful than using and studying Workshop extensively.
The BEA 8.1 Certified Developer:
Build Solutions examination is targeted towards developers with six to
twe
Number of Questions: 69
Time Allowed: 120 minutes, maximum
Item Types:
Passing Score: 66%
The main job task areas measured by the BEA 8.1 Certified Developer: Build Solutions exam, and the extent to which these areas are represented in the exam, as a percent of the total questions, are as follows.
Code |
Job
Task |
Percent of
Total |
1.0 |
Use
Case Implementation |
7% |
2.0 |
Web
Application Development |
30% |
3.0 |
J2EE
Servlets |
5% |
4.0 |
Developing Business
Logic |
25% |
5.0 |
Secure an |
1% |
6.0 |
Develop and Deploy Web
Services |
3% |
7.0 |
Debugging, Unit
Testing |
11% |
8.0 |
Build
Configuration |
1% |
9.0 |
Project
Setup |
2% |
10.0 |
Exception
Handling |
2% |
11.0 |
Monitoring, Performance
Tuning |
2% |
12.0 |
Application
Deployment |
4% |
13.0 |
Code
documentation |
2% |
14.0 |
Coding |
5% |
Total |
|
100 |
§ NetUI page flow: convert use cases into page flows, define actions
§ Page flow components
§ Nested page flows: create Web flow nesting, specify error pages
§ Data encapsulation and design patterns: design/use/extend helper Java classes, implement interfaces, create JavaBeans, the Model-View-Controller paradigm
§ Create Form Beans from JSP/HTML forms
§ Don’t worry about complex modern methodologies; rather, how to move from a simple “real-world” problem to a developed solution
§ BEA WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§ WebLogic Workshop IDE: use Web Flow designer to create navigation sequences and actions
§ Use WLW annotations and code Java to provide the logic behind defined Page Flow Actions
§ Use WLW Controls to utilize server-side resources for data and user session management
§ Work with page flow actions
§ Define JSP and HTML pages
§ Manage and use HTTPSession and other scoped objects
§ Use Form Beans, XMLBeans
§ Create new controls
§ Use JNDI to locate server-side resources
§ Develop a portal and portlets
§ User management
§ Campaign management and personalization
§ Transaction scoping
§ Develop page flows
§ Add projects to an existing application
§ An understanding of Workshop and knowledge of J2EE Web applications and WebLogic Portal
§ BEA WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§
BEA WebLogic Portal 8.1: Developing
§
http://edocs.bea.com/workshop/docs81/doc/en/core/index.html
§
http://edocs.bea.com/workshop/docs81/doc/en/portal/overview/BuildingPortalAppsOV.html
§ Develop and deploy Servlets
§ Link Servlets to other applications
§ Servlets
§ BEA WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§ http://e-docs.bea.com/wls/docs81/servlet/
§ Write business logic that can access files, messaging systems, EJBs, Web services, message brokers, timers, legacy systems and databases using Workshop controls
§ Create tailored Workshop database controls that access multiple tables, views and stored procedures
§ Create custom Workshop controls that have asynchronous and synchronous interfaces
§ Create stateless and stateful EJBs
§ Create message-driven Beans
§ Create entity EJBs
§ Implement EJBs using EJBGen and Workshop
§ The impact of clustering and load balancing on EJB in a production environment
§ Develop process definitions using WLW
§ Variables
§ Define Controls
§ Transactions
§ Knowledge of WebLogic Workshop; especially EJBs
§ BEA
WebLogic Server 8.1: EJB Basics (WLS-D21-81)
§ http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/controls/ejb/navEJBControl.html
§ http://edocs.bea.com/wls/docs81/ejb/index.html
§ Implement security constraints using an EJB deployment descriptor
§ Develop applications using one-way and two-way SSL
§ Implement authentication for applications
§ Implement role-based security
§ Use JAAS
§ Use filters to control access to Web resources
§ Knowledge of, especially: deployment descriptor security settings in J2EE
§ BEA WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§ http://e-docs.bea.com/wls/docs81/secmanage/
§ http://e-docs.bea.com/wls/docs81/security/
§ XML
§ Create stateless and stateful Web services
§ Create Web services that have asynchronous callbacks
§ Create Web services that adhere to an existing XML schema interface
§ Create Web services that adhere to an existing Java interface
§ Create Web services that invoke other Web services
§ Create Web services that can operate over HTTP and JMS
§ A thorough understanding of Workshop and general knowledge of Web Services
§ BEA WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§ http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/navBuildingWebServices.html
§ Use WLW IDE Debug View to set breakpoints for debugging, execute application, step through code between breakpoints, examine variable values and logic flow
§ Examine WLS logs, output values and records to WLS logs. Control debugging behavior, using deployment descriptors' initialization parameters, environment variables and scoped object attributes
§ Verify JDBC data
§ Verify Web service XML messages
§ Knowledge of Workshop debugging features and Server configuration
§ BEA WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§ http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/debug/conDebuggingWebServices.html
§ Configure WLW IDE and project properties, configure external ANT
§ Code and configure external ANT scripts
§ An understanding of the application and project structure within Workshop and the configuration options, and basic knowledge of ANT
§ BEA WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§
http://edocs.bea.com/workshop/docs81/doc/en/core/index.html
§ http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/navDevGuide.html
§ http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/howdoi/howUseCustomAntBuild.html
§ Create various new WLW projects; define project properties
§ Add controls and other existing functionality to a project
§ Leverage WebLogic Server pooling
§ Basic Workshop knowledge
§ BEA WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§ http://edocs.bea.com/workshop/docs81/doc/en/core/index.html
§ Use WLW Source view to define and handle exceptions
§ Demarcate explicit transactions, manage transaction behavior
§ WebService XML fault management
§ Exception handling
§ BEA WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§ http://edocs.bea.com/workshop/docs81/doc/en/integration/wfguide/wfguideException.html
§
http://edocs.bea.com/workshop/docs81/doc/en/integration/wfguide/wfguideTransaction.html
§ Using the WLS Administration Console
§ Using WLS command-line administration tools
§ Knowledge of basic WLS administration
§ BEA WebLogic Server 8.1: System Administration (WLS-A11-81)
§ http://edocs.bea.com/wls/docs81/admin.html
§ http://e-docs.bea.com/wls/docs81/admin_ref/utils.html
§ Use the WLS Administration Console to manage deployments
§ Use WLS J2EE Builder to assemble and deploy J2EE modules
§ Scripting Deployment tasks: weblogic.Deployer
§ Packaging components into enterprise archives
§ Transition from development to production phase
§ Using the Auto-deployment feature to activate an application automatically
§ An understanding of multiple deployment techniques
§ BEA WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§ http://edocs.bea.com/workshop/docs81/doc/en/core/index.html
§ http://edocs.bea.com/workshop/docs81/doc/en/workshop/guide/navDevGuide.html
§ http://edocs.bea.com/wls/docs81/ConsoleHelp/deployment.html
§ http://e-docs.bea.com/wls/docs70/adminguide/utils.html#1170077
§ Use WLW Source view to define Javadoc comments and manage documentation
§ Use Javadoc tags to document code
§ Generating Javadocs
§ Have an understanding of documentation comments in Java (Javadoc tags) and how they are used; be able to inspect Workshop
§ BEA
WebLogic Workshop: Rapid Application Development (WLW-D01-81)
§ http://edocs.bea.com/workshop/docs81/doc/en/workshop/reference/tags/navAnnotationReference.html
§
Develop Java Server Pages
§
Code and deploy Enterprise Java Beans
§
Code Servlets
§
Code J2EE components
§
Package and deploy applications
§
The capability to develop with core J2EE enterprise
technologies
§
BEA WebLogic Workshop: Rapid Application Development
(WLW-D01-81)
§
BEA WebLogic Server 8.1: EJB Basics (WLS-D21-81)
§ http://edocs.bea.com/wls/docs81/api.html
§ http://edocs.bea.com/wls/docs81/deployment.html
BEA recommends preparing for the certification exams by attending education training courses, reviewing on-line documentation and getting hands-on, real-world experience. Appropriate courses and documentation references are listed.
Course attendance is not required for attaining certification; however, it is strongly recommended, as training is the shortest path to competency. Industry studies show that a combination of training course attendance and self-study maximizes the likelihood of passing a certification exam on the first attempt.
Summary of recommended training courses:
To register for BEA Education Training courses, please visit www.bea.com/education or contact your local Education Coordinator (for details, visit your local BEA Education website).
Question 1.
A Portlet is
defined with which type of tag and file?
A. NetUIX tags, in an
XML file
B. NetUIX tags, in a JSP
file
C. NetUI tags, in a JSP
file
D. NetUI tags, in an XML
file
Question
2.
A backingFile serves what
purpose in a portlet?
A. Performing backup
operations on an persistent store
B. Performing
preprocessing, before the header or footer JSP is rendered
C. Maintaining a log for
transaction rollback
D. Maintaining a portlet
user properties log
E. None of these
Question
3.
Consider the following code:
Transaction tx = TxHelper.getTransaction();
if (tx instanceof TransactionImpl)
{
((TransactionImpl)tx).setProperty(
weblogic.transaction.internal.Constants.TX_TIMEOUT_SECS_PROPNAME,
new Integer(nSeconds));
}
You implemented an application that must allow a shorter transaction time-out than is supplied by WebLogic Workshop. What value should nSeconds be set to, so that it is less than the default timeout value?
A. 30
B. 300
C. 3000
D. 1000
E. 500
Question 4.
The @jpf:catch
annotation CANNOT be used at which location?
A. At the class level in Global.app
B. At the class level in a page flow
C. At the method level in a page flow for a Begin action
D. At the method level in a page flow for an action other than Begin
E. At the method level in a page flow, if the method has an @jpf:exception-handler annotation
Question 5.
Your application must read cookies that are set by an external application. Which Workshop package allows you to access the cookies?
A. com.bea.wlw.netui.pageflow.scoping
B. com.bea.control
C. com.bea.wlw.util
D. com.bea.wlw.netui.pageflow
E. com.bea.wlw.netui.pageflow.util
Question 6.
To call a stored procedure, getZipPlus4, using a Workshop annotation, what is the correct form?
A.
/**
* @jc:sql statement="{getZipPlus4({custStreetAddress},
{custCity}, {custState})}"
*/
B.
/**
* @jc:sql statement="{invoke
getZipPlus4({custStreetAddress}, {custCity}, {custState})}"
*/
C.
/**
* @jc:sql statement="{call
getZipPlus4({custStreetAddress}, {custCity}, {custState})}"
*/
D.
/**
* @jc:sql statement="{execute
getZipPlus4({custStreetAddress}, {custCity}, {custState})}"
*/
E.
/**
* @jc:sql statement="{proc
getZipPlus4({custStreetAddress}, {custCity}, {custState})}"
*/
Question
7.
You must
develop an integration application that uses data stored in a binary file
described with a COBOL copybook. To define the data to your application, which
is the best approach?
A. Create an MFL file
B. Create a custom XML
Schema
C. Use a custom Java
class
D. Use a JCA adapter
class
E. None of these
Question 8.
You have been running a Web application in the WebLogic Workshop debugger, and spent more than 10 minutes away from the debugger while it was running. When you return, you find that the debugger does not respond. What is the most likely reason?
A. The Page Flow dropped out of scope
B. The Workshop
debugger's built-in timer expired and terminated the task
C. The session created
for the application expired and was invalidated
D. The "stuck thread"
timer in WebLogic expired and terminated the task
E. None of these
Question 9.
You plan to create a script that displays the overall state of a server by providing a snapshot of the server’s current attributes. Using weblogic.Admin, which command should be used?
A. GET
B. LIST
C. SERVER
D. GETSERVERSTATE
Question 10.
You've been asked to replace the generic, "last-resort" exception handler in an application. Where do you replace the handler?
A. global.app
B. error.jsp
C. controller.jpf
D. A custom control
E. index.jsp
Question 11.
Drag and drop each annotation tag, on the left, onto its description, on the right.
a) |
@jcs:code-gen |
1) |
Specifies whether a control method or callback should be hidden |
b) |
@jcs:control-tags |
2) |
Specifies the XML file that contains definitions of properties and attributes |
c) |
@jcs:ide |
3) |
Specifies the display characteristics of the control |
d) |
@jcs:jc-jar |
4) |
Specifies which annotations in a custom control implementation are not available to other controls |
e) |
@jcs:suppress-common-tags |
5) |
Specifies the code-creation behavior of a Java control |
Question 12.
Your application must validate user input. You plan to accomplish this with an interactive dialog. The application will be hosted only on an internal corporate site, where all equipment and software are uniform. Which approach would be the most appropriate?
A. Client-side validation
B. Server-side validation
C. Nested page flow
D. A Form Bean
E. An XMLBean
Question 13.
Your application must validate user input. The application will be available across the public Internet. The application should be as robust as possible; it should work with as many different browsers as possible. Which validation approach would be most appropriate?
A. Client-side validation
B. Server-side validation
C. Nested page flow
D. A Form Bean
E. An XMLBean
Question
14.
The
ejbgen mechanism
directly extends which open-source tool?
A. Xdoclet
B. Struts
C. OpenEJB
D. EJBcreate
E. None of these
Question 15.
Which statement accurately describes stateful session Bean clustering in WebLogic Server?
A. Stateful session Bean clustering requires the developer to implement replica-aware stubs
B. Stateful session
Bean clustering requires
a proxy server or hardware load balancer to be configured
C. Stateful session Bean clustering uses an underlying database or file system to preserve the state of the Bean
D. During a
communication failure, stateful session Bean remote interface methods exhibit automatic failover, if the
Bean is marked as
idempotent
E. The home interface of a stateful session Bean is clustered with the same underlying WebLogic Server mechanism as the home interface of a stateless session Bean
Question 16.
Within WebLogic Workshop, which file is used to configure run-time parameters of Web services?
A. wlw-config.xml
B. wlw-runtime.xml
C. web.xml
D. weblogic.xml
E. application.xml
Question 17.
The onMessage method of a message-driven Bean has which return type?
A. int
B. void
C. java.lang.Object
D. javax.jms.ReturnStatus
E. The type is user-defined
Question 1: Correct Answer = A
Question 2: Correct Answer = B
Question 3: Correct Answer = A
Question 4: Correct Answer = E
Question 5: Correct Answer = A
Question 6: Correct Answer = C
Question 7: Correct Answer = A
Question 8: Correct Answer = D
Question 9: Correct Answer = A
Question 10: Correct Answer = A
Question 11: Correct Answer = a-3; b-2; c-4; d-5; e-1
Question 12: Correct Answer = A
Question 13: Correct Answer = A
Question 14: Correct Answer = E
Question 15: Correct Answer = E
Question 16: Correct Answer = A
Question 17: Correct Answer = B