Win a copy of Spring Boot in Practice this week in the Spring forum!

Shailesh Joshi

Ranch Hand
+ Follow
since Sep 19, 2006
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Shailesh Joshi

Hi all,
just cleared IBM Websphere Portal V5.1 Application Development test with 66% score.

I must thank all people who shared their experiences on JavaRanch site and Cameron for his enormous effort to put together visual tutorials on his site and publishing mock exams, those were really helpful to me for taking this exam in just 3 weeks time.

I got low score because I never got WPS from IBM site so couldnt test most of the exam topics like local/remote debugging, backend services, SDO, C2A, Portlet wiring tool, installation and trouble shooting etc.

If anybody wants to take IBM 399 test...

1. Please visit Camron's website, go thru his tutorials, mock tests etc.
2. Study well JSR 168 specifications.
3. IBM Red Book for IRAD 6.0 Portlet Development.
4. Infocenter.


cheers
Shailesh
SCJP, SCWCD, IBM 287, IBM 399.
Thanks Cameron,
But when I tried to put a debug break point on normal HTML tag with some custom tag inside I could set it. But not on <TD>, <BR> tags. Since I dont ve portal server I could execute and test it.

But I ll still check it again.

cheers
Joe
15 years ago
Hi guys..

I ve some IBM 399 Qs but unsure of the answers..anybody would like to comment..

1. For which portlet feature is local debugging with Rational Application Developer V6.0 NOT supported?

A.Vault service
B.Cooperative portlets
C.Struts
D.Personalization

Ans - B

2. The WebSphere Portal log file contains messages and trace information, if tracing is enabled. Which of the following is the default run-time log file?

A. <was_root>/logs/tracefile.log, where <was_root> is the WebSphere Application Server installation directory
B. <wp_root>/log/SystemOut.log, where <wp_root> is the WebSphere Portal installation directory
C. <wp_root>/log/wps_<date_time>.log, where <wp_root> is the WebSphere Portal installation directory and <date_time> is the date and time that the file was created
D. <wp_root>/log/wps_runtime_<date_time>.log, where <wp_root> is the WebSphere Portal installation directory and <date_time> is the date and time that the file was created

Ans - D

3. Which of the following will happen when a developer right clicks on the "WebSphere Portal V5.1 Server Attach" server and selects the "Reset Portlets" option?

A. The portlet's destroy() and init() methods are called.
B. The portlet's destroy(), init(), processAction() and render() methods are called.
C. The portlet applications, preview page and preview label being used by the developer will be removed.
D. The portlet applications and preview page being used by the developer will be removed.

Ans - A

4. In a JSP, the debuggable lines where breakpoints can be set are which of the following?

A. Scriptlets and JSP expressions.
B. HTML code and scriptlets.
C. JSP expressions and HTML code.
D. Scriptlets, JSP expressions and HTML code.

Ans - D

5. All of the following are properties of the default vault that can be customized EXCEPT:

A. Allowing the adapter to create and delete resources.
B. Setting the adapter to be readonly or read-write.
C. The encryption algorithm used.
D. User distinguished name to store administrative credentials under.

Ans - C

6. A customer has an old web application that uses a proprietary user database. The customer wants to integrate the web application into a portlet so that users have a Single Sign-On (SSO) experience. It would be possible to leverage the CredentialVaultService and provide the desired true Single Sign-On experience ONLY if:

A. The backend Web Application supports BASIC Authentication.
B. An existing Credential Object type such as HttpBasicAuth can be used or specially coded.
C. The backend Web Application supports Trust Association Interceptor (TAI).
D. The LDAP database was extended with fields that contain a copy of the username and password of the Web Application.

Ans - C


7. Which of the following characteristics does NOT apply to the two JDBC data controls supplied in Rational Application Developer, Relational Record and Relational Record List?

A. The relational record list corresponds to a JDBC rowset.
B. Both objects can be used to connect to any JDBC compliant datasource.
C. The relational record allows the developer to display, update and/or create a record.
D. Production level use of these data controls is encouraged.

Ans - B


8. Which of the following can be used to collect a variety of data related to visitors' actions and behavior for analysis and reporting?

A. Rules engine
B. Resource engine
C. LikeMinds Listener
D. Feedback Listener

Ans - C


cheers
Joe
15 years ago
Ok thanks..will start another Topic

cheers
Joe
15 years ago
Hi guys

I need some answers for following certification Qs.

1. For which portlet feature is local debugging with Rational Application Developer V6.0 NOT supported?

A.Vault service
B.Cooperative portlets
C.Struts
D.Personalization

2. The WebSphere Portal log file contains messages and trace information, if tracing is enabled. Which of the following is the default run-time log file?

A. <was_root>/logs/tracefile.log, where <was_root> is the WebSphere Application Server installation directory
B. <wp_root>/log/SystemOut.log, where <wp_root> is the WebSphere Portal installation directory
C. <wp_root>/log/wps_<date_time>.log, where <wp_root> is the WebSphere Portal installation directory and <date_time> is the date and time that the file was created
D. <wp_root>/log/wps_runtime_<date_time>.log, where <wp_root> is the WebSphere Portal installation directory and <date_time> is the date and time that the file was created

3. Which of the following will happen when a developer right clicks on the "WebSphere Portal V5.1 Server Attach" server and selects the "Reset Portlets" option?

A. The portlet's destroy() and init() methods are called.
B. The portlet's destroy(), init(), processAction() and render() methods are called.
C. The portlet applications, preview page and preview label being used by the developer will be removed.
D. The portlet applications and preview page being used by the developer will be removed.

4. In a JSP, the debuggable lines where breakpoints can be set are which of the following?

A. Scriptlets and JSP expressions.
B. HTML code and scriptlets.
C. JSP expressions and HTML code.
D. Scriptlets, JSP expressions and HTML code.

5. All of the following are properties of the default vault that can be customized EXCEPT:

A. Allowing the adapter to create and delete resources.
B. Setting the adapter to be readonly or read-write.
C. The encryption algorithm used.
D. User distinguished name to store administrative credentials under.

6. A customer has an old web application that uses a proprietary user database. The customer wants to integrate the web application into a portlet so that users have a Single Sign-On (SSO) experience. It would be possible to leverage the CredentialVaultService and provide the desired true Single Sign-On experience ONLY if:

A. The backend Web Application supports BASIC Authentication.
B. An existing Credential Object type such as HttpBasicAuth can be used or specially coded.
C. The backend Web Application supports Trust Association Interceptor (TAI).
D. The LDAP database was extended with fields that contain a copy of the username and password of the Web Application.


7. Which of the following characteristics does NOT apply to the two JDBC data controls supplied in Rational Application Developer, Relational Record and Relational Record List?

A. The relational record list corresponds to a JDBC rowset.
B. Both objects can be used to connect to any JDBC compliant datasource.
C. The relational record allows the developer to display, update and/or create a record.
D. Production level use of these data controls is encouraged.


8. Which of the following can be used to collect a variety of data related to visitors' actions and behavior for analysis and reporting?

A. Rules engine
B. Resource engine
C. LikeMinds Listener
D. Feedback Listener


cheers
Joe
15 years ago
Hi Rahul,
just a wild guess...
are you by any chance forwarding your response to other JSP or servlet etc? I am sure you must have checked this but still just in case.......


cheers
Shailesh
15 years ago
Hey thats very informative, I thought if you want any custom mode just add them in portlet.xml and over write doDispatch(). I ll test for 'print' in JetSpeed-2.

Thanks
Shailesh
15 years ago
Hi all,

I am trying to create Struts Portlet application using IRAD6.0, however the application wizard does not show up the "Struts Portlet (JSR 168)" option in New Portlet Project (JSR 168) window.

Please send in your suggestions. Am I missing anything?

cheers
Shailesh
15 years ago
Hi all,
I am trying to deploy a portlet on JetSpeed-2 portal server, I ve added one custom portlet mode called "config" however its not displayed when I log-in as administrator.

I ve following entries in portlet.xml

<supports>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
<portlet-mode>edit</portlet-mode>
<portlet-mode>help</portlet-mode>
<portlet-mode>config</portlet-mode>
</supports>

also

<custom-portlet-mode>
<portlet-mode>config</portlet-mode>
</custom-portlet-mode>

also I ve a overridden doDispatch() method, which calls the doConfig() method if mode is set in request.

There is not exception in console..has anybody come across such situation? what I am missing here?

cheers
Shailesh
15 years ago
Hi Lalit,
why don't you try following thing, download JetSpeed-2 server from Apache site and deplot all your portlets to this server instead of WPS.

I would you to visit Cameron's website and see the JetSpeed-2 tutorials. those are pretty cool and very informative, surely give you a headstart.

cheers
Shailesh
15 years ago
Indeed Lalit,
the site seems to be confusing..but I believe you can download WPS5.1/6.0 only when you have IBM Passport Advantage / Express. For IBM ID only IRAD is available without WPS. One more thing if you can get hold of Rational Software Architect 6, it has standalone WPS5.1 installable bin there but I could not find that either.

Let me know if you find out that..I am also in same boat.

Good Luck
Shailesh
15 years ago
Thanks Cameron,
I ll try to post such new things as new Topic.

Thanks for your comments, I ll follow the same thing IRAD6.0 for development and JetSpeed-2 for deployment. It should work.

Thanks again
Shailesh
15 years ago
Hey Arun, Cameron
Do I really need Ant and Maven if I use IRAD6.0 as a dev. tool and JetSpeed2.0 and Tomcat or WAS5.1 as my portlet/servlet engines? according to Apache JetSpeed site.

Please let me know.

cheers
Shailesh
15 years ago
Hi All,
I downloaded IRAD7.0 also...Trial download (10 cmp. zip parts) however I am not able to install Websphere Portal Server 5.1 or 6.0 as its not part of the downloadables. I think you can download only when you have IBM Passport Advantage Online or Express.

For IRAD7.0 see here
http://www-1.ibm.com/support/docview.wss?rs=2042&uid=swg24013687

For IRAD 6.0

http://www-1.ibm.com/support/docview.wss?uid=swg21219986&aid=1

Please let me know if there are alternatives to install WPS5.1 or 6.0 independently.

cheers
Shailesh
15 years ago