Kiran Kumar

Ranch Hand
+ Follow
since May 18, 2001
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 Kiran Kumar

in portlets u need to use the style class from ur CSS sheets explicitly in your html tags. since the portal itself will be having CSS, if u dont use the class explicitly then the CSS will be applied to the whole page which might include the Portal framework content also.

hope this helps.
15 years ago
HI Nanda,
you can write a Decorator class which extends the TableDecorator/Column Decorator to change the display format as you desire. do go through the documentation for the same.
16 years ago
hi,
you can also download WSAD 5.0 for creating the portlets using the IDE.
then you can start working on the same. all the fixes are not required to start with the portal. since you will only be using the basics of the portal.
hope this helps
16 years ago
Hi,
Abt the Action Class, the RequestProcessor uses Lazy initialization technique wherein it creates an instance of the Action Class when it gets the request for that particular action and uses the same instance for all the subsequent requests. This is the reason why its recommended not to use any Class/Instance level variables in your Action Class. Makes use of only Local variable in your execute method of your action class to make sure that you dont have any Thread Synchronization issues.
Abt the Form, if the scope of the form bean is session, the action servlet(Might be the RequestProcessor here also, not sure, do check it out) creates the instance of the bean and puts the instance into the session for each user and then reuses the same instance for the whole of the session. but if the scope is request then a new instance is created each time a request is given for that particular form and for each user seperately.

hope this helps
[ March 22, 2004: Message edited by: Kiran Kumar ]
16 years ago
Hi,
You can bind a instance of a class(POJO-Plain Old Java Object) to the JNDI context and the client will be able to lookup the same instance from JNDI.

hope this helps.
Hi,
It does not impact performance much.
But in cases where there is functionalities implemented in different session beans and u need to call more than 1 session bean for ur functionality you can have a Session Facade which will wrap the calls for those two or more session beans and make this a coarse grained access. instead of fine grain access by calling each session bean independently. since the EJB's usually is in a Distributed environment and ur client maybe on the presentation tier.
hope this helps.
Hi,
Do check out this URL for sample Code of inserting files into Oracle DB.
http://otn.oracle.com/sample_code/tech/java/sqlj_jdbc/index.html
Hi
When you use response.sendRedirect(req,res), it will send a response to the client with a new request for the JSP. so its like the client gets the bean set in the servlet but when the client requests for the jsp, it does not send the java bean back with the request.
try using the RequestDispatcher instead of the sendRedirect, it will work.
Also check out the threads on response.sendRedirect pro's and con's on this forum.
16 years ago
Hi
Check out this link
http://forum.exadel.com/viewtopic.php?t=120
there are example applications which u can check out for ur specific requirement.
there is one struts-exercise-taglib.war which i think will answer ur queries.
16 years ago
Hi,
Have you checked out Java Sound API.
Check out http://java.sun.com/products/java-media/sound/index.jsp
Hope this helps.
Thanks
Kiran
16 years ago
Hi
Instead of using String use a boolean Datatype.
Then the checkbox will automatically checked/unchecked by the Form bean.
16 years ago
congrats Tom. Great effort.
Hi,
since MDB's resides in the EJB container, WAS 4.0 EJB container doesnt support MDB's.
hope this helps.
kiran
17 years ago
hi Rajat,
the main difference with MQ and Weblogic Built-in messaging Server is that
MQ supports other clinets like VB, C, C++ etc and you can have listeners or message producers in any of the supported programming languages.
where as with weblogic its compliant with the J2EE spec and supports only the Java platform.
hope this helps.
17 years ago