subir rastogi

Greenhorn
+ Follow
since Apr 11, 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 subir rastogi


Hi All,
I have created a build file using svnant 1.3.1 to export code from svn.
There is a batch file (.bat) to pass the necessary arguments to the build file to export.

This runs perfectly fine on windows xp but when I run it on windows 2003, this build file hangs after generating below logs and nothing happens after this.

svn-export:
[svn] Deprecated attribute 'svnkit'. This attribute will disappear with SVNANT 1.3.2. Use svnSetting instead.
[svn] Using svnkit
[svn] <Export> started ...
[svn] export -r HEAD svn://<url>; <export path>

I am using svnkit instead of javahl.
Please help.


Thanks in advance.
10 years ago
If I have to add provider class, in case of hibernate, how to find which is the jpa provider class?

thanks
Yes, persistence.xml is in the classpath.

Hi,
I am trying to create a simple JPA example using Java SE 5, Hibernate and MySQL.
I have created a persistence.xml and entity classes but when I run the example, I got the error-


Persistence.xml


Please let me know what is wrong with persistence.xml.

Thanks.
thanks Jaikiran and Remko for the clarification.
11 years ago
Thanks Remko, using annotations on the get methods solved the problem..

I am learing JPA so its a requirement that annotations should be used on getters only?

Thanks.
11 years ago
Hi,
I have example in JPA and getting following error during deploying the ear to JBOSS.
org.hibernate.AnnotationException: No identifier specified for entity: com.entity.Cabin
Here is the Cabin class -


Please advice on what could be the issue here?

thanks.
11 years ago
Hi,
I have created a stateless bean -ProcessPaymentBean with local and remote interfaces.
In Jboss console in JNDI view under global jndi namespace, I am seeing -

In my test client, I am doing -

but getting error -

Any idea about what is it that I am doing wrong? and how to correct it?
Thanks
Hi,
I am new to WebSphere and trying to install application(ear file) using WebSphere admin api (JMX extenstions) on a remote WebSphere Application server v6.1.
WebSphere API says - "The EAR file must be on the same machine where the MBean is running"

Does this mean application should be placed on remote WAS Server or on client where the script to install application is executing?

Please help.

Thanks.
11 years ago
Thanks to the authors of HFSJ, Javaranch Team ,Enthuware Team and Frits.

After reading HFSJ, I was not confident enough to take the exam. I think its because - 1. lack of mock exams practise 2. failed in HFSJ mock exam, I scored around 60%only.

After reading previous javaranchers comments, I bought Enthuware mock exams and passed all the standard tests. I found Enthuware exams really helpful.
The level of Enthuware mock exams is almost same as actual exam.

HFSJ covers mosts of the theory but I needed more of the practice questions.

Finally, thanks to Frits for this wonderful notes.

regards,
Subir
11 years ago
Hi,
I have to start preparing for SCBCD, I have looked from previous post and what I understand is there is not complete book for SCBCD.
I dont have any experiance in EJB and will buy a book and for exam will buy Enthuware mock tests.
My question is :
As I dont have any prior EJB experiance, which book should I buy - "EJB 3 in Action" OR "Enterprize JavaBean 3.0(5th Edition)"?
By looking at the TOC of each book, it looks like Enterprize JavaBean 3.0(5th Edition) contains more examples and how to deploy it on JBOSS
where as "EJB 3 in Action" contains most of the theory.

I am thinking of buying "Enterprize JavaBean 3.0(5th Edition)", please advice.

Thanks,
Subir

Hi,
I was reading about <jsp:include> in JSP spec but did not quite understand how the page behaves for relave or absolute url's. For eg:

1. <jsp:include page="/dirA/test.jsp" > and the webapp context path is app1 then what should be the location of test.jsp.
Should it be /app1/dirA/test.jsp?

2. What should be location when of test.jsp <jsp:include page="dirA/test.jsp" >?

Thanks,
Subir

Hi Frits,
Your notes looks really good..can you tell me when have you given the exam and your score? I am curious to know.

regards,
Subir
Hi Frits and Christophe,
thanks, I will prepare those topics also.

regards,
Subir