Samir Bhagwat

Greenhorn
+ Follow
since Nov 08, 2001
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Samir Bhagwat

Hello,
WAS is coming up with the 5.0 release. We wanted to migrate from WAS 3.5 to WAS 5.0. Actually i wanted the feature list of 5.0 I am mainly interested in Servlet\JSP spec version and changes if any to JDBC mechanism.
It would great if you can point me to some WAS5.0 features.
Thanks,
Samir
22 years ago
Hello All,
I need to get the focus Event of the Panel when the focus is lost of whole Panel. My Scenario is there are say two components in the JPanel when the focus is lost from both the component I need a notification. Is there some way of doing this?
Any suggestion on doing this would be very helpful
Thanks a lot,
Samir
23 years ago
Hi all,
I have a requirement which is as follows:
I want to display some data in the row of JTable. Now when the focus goes to any column of the JTable it should show a arrow button and pop-up should come on clicking on it(ComboBox functionality).
Can this be easily achievable using swing?
Any suggestion on this would be very helpful.
Thanks,
Samir
23 years ago
Hi Kyle,
This dicussion is geting a long one :-). But last question about EJBReferences. Well first I have brush up my knowledge on EJBReferences.
But according to the approach you have suggested we have to also change a jndi name at the deployment time. We are having 1000+ so changing jndi base name through UI would be highly impossible. So what I was thinking is ,can we do with only changing the jndi name in some xml when we are going to generate the code instead of using EJBreference?
The drawback of this is that we have to find a release name at the time of code generation and have to set the jndi name accordingly. Ideally I would like the release name(i.e. jndi base name) to be set at publishing time but definately at one place not in all beans.
Thanks a lot,
Samir
Hi Kyle,
EJBReference idea is great. We are having around 1000 entity beans we would have to develop a tool to generate the code and will manage to put EJBReference in deployment descriptor.
About your question on how PowerTier manages LDAP is:
In PowerTier5.12 there is a deployment file(.ptc) in which one has a support to configure different naming service, so here we give all the naming service properties(like factory,provider url etc). I have to say that this deployment file is not according to EJB specs.
Now when you publish the beans you can give a name of the server running. While publishing PowerTier takes help of ptc also.
Now in LDAP PowerTier has a Finder Object for each running application server. This Finder Object is PowerTier specific and not according to EJB specs.
The name of the finder Object is as follows:
Suppose we give a name to server as Release1 then PowerTier will have a finder object with the name Finder,PowerTierRelease1. So client first looks up on Finder in LDAP and than on Finder object we call a method getHome which will return the actual EJBHome.
So total archictecture is not 100% EJB compliant but thats the this works.
Hi Kyle,
One last question about finder methods to you. We were using powertier application server and we are planning to shift to websphere 4.0.
In powertier one writes custom finder method in home interface and one implements that in Bean class. I don't see this in websphere 4.0 here one has to use finder helper classes for it. But we have currently implemented custom finder method which takes custom object as inputs and it returns Enumeration of Custom objects which are not EJBObject.
For e.g. Consider custom finder method declared in home interface as follows:
Enumeration findByFilter(FilterObject f).
Now this enumeration contains Objects of class Table which is not EJBObject.
First I don't see this type of implementation in websphere. Am I right? So to accomplish this feature I have to create another layer before calling Entity bean which will do this functionality. Am I right or webshepere will provide this funciotnality?
Thanks a lot,
Samir
Well we have a concept of releases in the system. We customize the code for a specific special requirement and label this change in separate release. There are instances we work on more than one release. So in each release there can be some change in internal functionality of the beans. But the bean name and the architecture of whole system is the same. And hence we keep the jndi name the same.
So there is need to launch more than one release. And in a ideal way we don't want separate machines for each release. In PowerTier EJB server(from Persistance) there is a facility to do exactly this as it allows naming service to be configured to LDAP. So I was checking whether the same facility is available in websphere 4.0.
Hello all,
I need to have a finder method which will bring the result by joining of two tables.
Eg select T1.*, T2.* from Order T1 Customer T2 where T1.id = T2.id
Is there a facility to write such a finder in websphere 4.0?
Thanks & Have a nice day,
Samir
Ok! thanks. Then I have a problem at hands. Basically my requirement was that we are going to have separate version of set of beans which will have the same jndi names in both the version . How can this be achieved using only one node of websphere? Is there a facility of running two naming service running at different port?
Hello all,
I need to publish the EJB Home interface to the LDAP instead of Websphere application server's default naming service. Is this possible in websphere? If yes where to do this settings ?
Thanks a lot,
Samir