Bennet Xavier

Ranch Hand
+ Follow
since Jun 19, 2008
Merit badge: grant badges
For More
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 Bennet Xavier

Thank you so much for quick reply,

Yes, I mean servlet container.

I hope web container, is a widely used terminology for servlet container, thats why i used that word.

Thanks,
Bennet.

11 years ago
JSP
Hi All,

I was asked a question in Interview, "How JSP runs".

I answered,

1. JSP will transformed to Servlet

2. compiled to class file.

3. runs in web container.

but, i forgot to tell him, that response will be rendered in the client (which is browser).

He asked me again "JSP runs in web container??", I said "YES".
and I got rejected.

I strongly believe, I answered all the other questions properly.

Is this answer is right, I really had doubt. Is my answer is right??

Please help me to understand this.

Thanks,
Bennet.
11 years ago
JSP
Hi Surya,

Thanks you, I have 5 years and 1 month of Java/J2EE development experience.

My Skill Sets are :

J2EE (JSP & Servlets, JSTL, EJB, JMS, JDBC, JNDI, JavaMail, JPA, CORBA).
Java Script, GWT, AJAX.
Jasper Reports (using iReport).
XML, SOAP, Web Services using JAX-WS (JAXP, JAXB).
JBoss, Weblogic,,Apache Tomcat.
Spring, Struts, Hibernate, Apache CXF, Apache Axis
Oracle, MySQL
Ant, Maven.

Sorry surya, I don't have any option to singapore.

Thanks,
Bennet.
11 years ago
Hi Arul,

Thank you for your advice.

Your blog is really useful,

thank you,
Bennet.

11 years ago
Hi Arul,

Sorry for the delay in response.

Thank you for your time and advice.

I really suspect my pronunciation, will that make any problem. because I don't use Australian accent.

I can understand what they say and I am answering their questions, but I don't answer in Australian accent.

How about this, will this make any problem.

Thanks,
Bennet.
11 years ago
Hi Arul,

Thank you for your reply.

I am developing project (just keep the things in touch and learning new things), reading articles, started writing blog.

Even, If i sent my profile to any job openings, I am not getting response. I couldn't figure out the problem. Whether my resume is not good or the break or my cover letter. I don't know.

(Please, excuse me for using harsh words). Practically speaking, will you refer a guy who has 5 months break or will you choose a guy who is working at the moment. This question really really dumps me, always.

I didn't cry till now, I know it will happen soon.

Thank,
Bennet.


11 years ago
Hi Raghu,

Thank you so much. I mean it, Thank you for your help.

It brings some confidence back. I really really afraid since it is 4 months break.

I am in Melbourne. Is it really worth to pay in job consultancy and get trained. I was contacted by a consultant. I am not in a position to experiment.

Thank You Raghu...

Bennet.



11 years ago
Hi Ankur,

As i have mentioned, its 4 months now. I've got only one interview so far(Answered all the questions, but they need only commercial experienced resource , I am unlucky). I don't know the reason.

I think, my resume is not good, or my English, I don't know, I didn't get any clue.

I am thinking about going back. I don't see any companies contacting me, only agencies and they expect you to know everything they list.

You can see lot of jobs in seek. but no response for the mails I've sent.

You can apply, and don't quit and come here. Please find a job and then travel to Australia. That would be the smart thing to do.

If you have some one to help/refer its really great, you have a great chance. I don't have anyone.

I meet a guy and he is asking me to work for free without any proof.(No Letter, I have to change my area of expertise to PHP, I need to shift nearer to him and many constraints, I said thank you.), he didn't even asked my resume to help (at least for name sake), I felt really really bad.

I don't wait too log, I cant afford here without job.

If possible, please give your friend's contact detail(With his permission), for any kind of reference.

and, Sorry for late reply.

Thanks,
Bennet.
11 years ago
Hi All,

I came to Australia 3 months back, I applied in most of the job sites and I get very limited calls. In this 3 months I got only 4 calls so for and only one interview.

When I was in India, I googled. People said, "you have to come to Australia, then it will be easy." (Did I make a blunder, will this break affects my career???)

But, coming here is of no use. I don't see and response from any people.

Anyways, I will wait for few more days and leave this place.

If anyone got any kind of Java/J2EE work, please contact me(Money is not in priority).

Thanks,
Bennet.
11 years ago
Hi All,

Deployed a WS in tomcat which is developed using Apache CXF.

and got the following exception

org.apache.cxf.interceptor.Fault: Unmarshalling Error: unexpected element (uri:"http://www.sample.project.com.au/common/message/Request/v1", local:"header"). Expected elements are <{}id>,<{}message>,<{}header>
at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:866)
at org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:687)
at org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:157)
at org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:203)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:271)
at org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
at org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:238)
at org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:222)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:202)
at org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:137)
at org.apache.cxf.transport.servlet.CXFNonSpringServlet.invoke(CXFNonSpringServlet.java:158)

Please find the code attached and Please help me, The problem occur only with request. do we need to do any extra configuration to make this work.

Please check the code here : http://www.filehosting.org/file/details/393799/sampleWS.rar

Thanks,
Bennet.
11 years ago
Hi Jeanne,

Only word which comes to my mind is "Wow"..

that was the problem. the <persistence> tag with wrong dtd mapping.

Thank You so much,

Bennet Xavier X.
Hi All,

I dontknow what the error mean, please help me...

I could not run any examples of JPA.

I just downloaded the example from java2s and its not working,

I know its problem in my system, But i dont know where to fix.


[java] 0 [main] INFO org.hibernate.cfg.annotations.Version - Hibernate Annotations 3.4.0.GA
[java] 16 [main] INFO org.hibernate.cfg.Environment - Hibernate 3.3.1.GA
[java] 31 [main] INFO org.hibernate.cfg.Environment - hibernate.properties not found
[java] 31 [main] INFO org.hibernate.cfg.Environment - Bytecode provider name : javassist
[java] 47 [main] INFO org.hibernate.cfg.Environment - using JDK 1.4 java.sql.Timestamp handling
[java] 109 [main] INFO org.hibernate.annotations.common.Version - Hibernate Commons Annotations 3.1.0.GA
[java] 109 [main] INFO org.hibernate.ejb.Version - Hibernate EntityManager 3.4.0.GA
[java] 130353 [main] ERROR org.hibernate.ejb.packaging.PersistenceXmlLoader - Error parsing XML: XML InputStream(154) The element type "meta" mus
t be terminated by the matching end-tag "</meta>".
[java] java.lang.ExceptionInInitializerError
[java] Caused by: javax.persistence.PersistenceException: Unable to configure EntityManagerFactory
[java] at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:265)
[java] at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:125)
[java] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
[java] at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:60)
[java] at Main.<clinit>(Main.java:10)
[java] Caused by: org.xml.sax.SAXParseException: The element type "meta" must be terminated by the matching end-tag "</meta>".
[java] at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:249)
[java] at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
[java] at org.hibernate.ejb.packaging.PersistenceXmlLoader.loadURL(PersistenceXmlLoader.java:70)
[java] at org.hibernate.ejb.packaging.PersistenceXmlLoader.deploy(PersistenceXmlLoader.java:89)
[java] at org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:222)
[java] ... 4 more
[java] Could not find the main class: Main. Program will exit.
[java] Exception in thread "main"

Thanks,
Bennet Xavier X.
Hi All,

I need a sample code for @OneToMany relationship.

i have a entity as follows:

Employee.java




PhoneNumber.java



bean is getting deployed successfully in jboss5.1.0.GA without any problem and table is getting created.

I have EmployeeFacade Stateless Session Bean as follows:


PhoneNumberFacade Stateless Session Bean as follows:



both EmployeeFacade, PhoneNumberFacade inherits :



persistence.xml



Client :



ERROR [AbstractFlushingEventListener] Could not synchronize database state with session

and

Caused by: java.sql.BatchUpdateException: ORA-01400: cannot insert NULL into ("EXAMPLE"."PHONENUMBER"."EMPLOYEE_ID")

at oracle.jdbc.driver.DatabaseError.throwBatchUpdateException(DatabaseError.java:343)
at oracle.jdbc.driver.OraclePreparedStatement.executeBatch(OraclePreparedStatement.java:10656)
at org.jboss.resource.adapter.jdbc.WrappedStatement.executeBatch(WrappedStatement.java:774)
at org.hibernate.jdbc.BatchingBatcher.doExecuteBatch(BatchingBatcher.java:70)
at org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:268)
... 39 more


Please help me to resolve this problem.

Thanks,
Bennet Xavier X.
Hi,
Any one have solution for this problem.

Getting labelproperty of<html:option> in action class.

Thanks,
Bennet Xavier X
11 years ago
Hi All,

I need to iterate two different collection using <logic:iterate>m is it possible.

Thanks In Advance,
Bennet Xavier X.
11 years ago