Rajesh So

Ranch Hand
+ Follow
since Oct 08, 2002
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
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Rajesh So

Hi,

The cells in HBase have a concept of Version. By default, we can have upto 3 versions for a cell. There are methods to get, put and scan the coloumn.

My questions are

HOW does my application benefit by the versions?

In RDBMS, there was only one version/cell. Now HBase has offered multiple versions. WHY does HBase have multiple versions per cell?

Thanks,
Rajesh
3 years ago
Hi Chris,
I understand now. You are right that I was confused that Document based data bases meant any document. Thanks for correcting.
Thanks,
Rajesh
4 years ago
For a JSON document, I can notice that its possible to write a query such as this


The reason is that the developer of the query understands that there is a key called 'by' and there are chances of some documents having value as 'coderanch'.

If I upload a non-JSON document, say a MS Word document, and it has a key called 'by' and a value as 'coderanch', the query would miss the key/value pair.

Am I right with the understanding that although MongoDB permits non-JSON document, the MongoDB is best useful for JSON documents ?

4 years ago
Hello,

Does MongoDB store only JSON document type? Is it not possible to store Document types such as MS Word, Image, video or XML files in MongoDB?

Regards,
Rajesh
4 years ago
Hello,

I would like to use an IDE to create, edit and view XML and XSD, generate a simple XML file from a XSD and intuitive XSD editor. All of this available in XML Spy. But that costs an astronomical sum. Is there a simpler open source tool?

Thanks,
Rajesh
Hello,

I am trying some examples from Martin Kalin's Java Web services - Up and Running book.

I have managed to publish the webservice. The wsimport in the client has generated the artefacts of the primary interface. The primary interface has a method :


The Team has an instance called Player.

The wsimport has generated the Team object, but not the Player object. The wsgen executed in the web service side did not result in error messages or success messages. I am using Java 8 with netbeans.

Can you please help me understand why the inner objects are not generated.

Regards,
Rajesh
4 years ago
Hello,

I did my SCJP in 2000 and would like to upgrade to 1Z0-805.
The exam objectives are limited.Oracle Exam website

The simulation exams that I see are also limited to few of the objectives.

Can I know if these objectives are sufficient to pass the exam? If not, do I have to buy a complete java 7 certification simulation tests (1Z0-804) in order to appear for 1Z0-805 ?

Regards,
Rajesh
Hi,

I have made some inroads, but yet to reach the destination.

If I had copied the C:\WebSphere\MQ\java\lib\jca\wmq.jmsra.rar files from Websphere MQ to Websphere's C:\WebSphere\AppServer85\profiles\AppSrv01\installedConnectors\wmq.jmsra.rar, then there is no problem. The JMS Messages come with message ID.

I believe there are two resource connectors in websphere. A default messaging provider and Websphere MQ provider. There should be some means to get the Application server to choose the Websphere MQ provider as the resource adaptor.

Have you noticed this problem? or does my problem ring a bell?


Regards,
Raj
5 years ago
The method we adopted to get WAS 7 work with Websphere MQ 7 is listed in the IBM website.
5 years ago
Hi,

The Beans that I use for Messaging use Non-XA transactions and Websphere MQ native libraries. I am migrating the legacy beans from Websphere 7 to 8.5.

In order get the non-XA trasactions and Websphere MQ 7.0.1.9 in Websphere 7, I had to run a special script that made some property changes in wmq.jmsra.rar.

In order get the non-XA trasactions and Websphere MQ 7.0.1.9 in Websphere 8.5.5.2, I am not sure what has to be done. The special script to change the properties does not work any more. The JMS Message ID and the JMSDestination of the received message continues to be null, but the JMSCorrelationID is present. In the earlier Websphere version, the JMS Message ID and the JMSDestination were present, but the JMSCorrelationID was null. Hence, the application that relied on the JMSMessageID fails.


Have you faced this problem? I could not see any other IBM's websphere forum. Can you help me with a solution?

Regards,
Rajesh
5 years ago
Hi,

I have solved the problem. There were two EJB modules. One referred other. There was no problem till WAS 7. In WAS 8, the way to connect is different. I don't know what is different.

The way I got it working is to merge both the ejb modules together. This is a tedious task because the IBM binding file has to be modified too. There is a tool that comes as a plugin in Eclipse. I would not say it was too helpful. I found patterns of the binding file and merged 50+ beans manually. Thankfully, all is well now.

Regards,
Raj
5 years ago
Hi,

I have to edit the binding files of pre-EJB 3.0 beans. In pre-historic times, the binding files were generated by a xdoclet or Websphere Application Developer or RAD. I am trying to merge to ejb-jar files. I am making a mess because I am doing it by hand. There are some references and naming convention that I cannot understand. I feel its best edited using the IBM tool. I have downloaded a Websphere plugin for the same. But I can't find it appear in the Eclipse.

Do you have any idea how to use the Websphere plug-in in Eclipse?

regards,
Raj
5 years ago
Hi,

The EAR file contains two Ejb-jars. The first EJB-Jar has no problem. The problem happens with the second EJB-Jar. The beans of the second EjB-jar is not accessible. The EJB-jar used EJB 1.1 schema. I moved it to EJB 2.1.
Does this ring a bell? Can this be a problem?

I tried to merge, but that resulted in a deployment exception. The reason is there are around 50 beans in each EJB-Jar and there is a binding file ibm-ejb-jar-bnd.xmi I can't make any sense.

Regards,
Raj
5 years ago
Hi,

The code uses java.rmi.RemoteException in the business methods. I understand RemoteException is deprecated. Could this be the reason ?

During the build, there is an access to ejbdeploy tool. I think that generates some stubs. Can this be the reason for the bean to be missing?

regards,
Raj
5 years ago