| Author |
interview question about Axis
|
david tanu
Greenhorn
Joined: Jul 25, 2009
Posts: 8
|
|
Hi all
recently I got a phonne interview, and the guy asked me "could you explain how do you use axis"
I told him about my project
* expose methods in EJB
* deploy to JBoss (generate stubs)
* consume the services in the client
of course, I don't remember all details.
he is not satifisied, anyone can share your experience
thanks in advance
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32708
|
|
|
Please read the important administrative private message I just sent you.
|
 |
david tanu
Greenhorn
Joined: Jul 25, 2009
Posts: 8
|
|
Campbell Ritchie wrote:Please read the important administrative private message I just sent you.
sorry guys. I updated my profile
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16695
|
|
Unless there is another Axis (besides Axis2), this technology doesn't really have anything to do with EJBs.
http://ws.apache.org/
Axis is a package (higher level library) for Web Services. With Axis, you can quickly generate Java stubs from WSDLs, or quickly convert a Java class into a Web Service.
Henry
|
Books: Java Threads, 3rd Edition, Jini in a Nutshell, and Java Gems (contributor)
|
 |
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32708
|
|
david tanu wrote:sorry guys. I updated my profile
Thank you and welcome to JavaRanch
|
 |
Deepak Bala
Bartender
Joined: Feb 24, 2006
Posts: 6590
|
|
* expose methods in EJB
I am not sure about the EJB + Axis connection. Connection via JBI somehow ?
You can talk about web services, top down approach, bottom up approach, WSDL, UDDI, security in web services, consumption using local binding; remote binding etc etc.
|
SCJP 6 articles - SCJP 5/6 mock exams - SCJP Mocks - SCJP 5 Mock exam (Word document ) - SCJP 5 Mock exam in Java.Inquisition format
|
 |
david tanu
Greenhorn
Joined: Jul 25, 2009
Posts: 8
|
|
* expose methods in EJB
what I meant is exposing SLSB as a web service methods, and deploy that to the old JBoss AS that has Axis implementation, that's my experience. not too convincing, right?
Deepak Bala wrote:
I am not sure about the EJB + Axis connection. Connection via JBI somehow ?
You can talk about web services, top down approach, bottom up approach, WSDL, UDDI, security in web services, consumption using local binding; remote binding etc etc.
should I tell him how to create WSDL? in my case, it's created automatically.
|
 |
Deepak Bala
Bartender
Joined: Feb 24, 2006
Posts: 6590
|
|
should I tell him how to create WSDL? in my case, it's created automatically.
I dont think there are many developers out there that create the WSDL by hand. I work with tools to create the WSDL as well.
what I meant is exposing SLSB as a web service methods, and deploy that to the old JBoss AS that has Axis implementation, that's my experience. not too convincing, right?
I do not have experience exposing EJB methods as web service methods. However since you have done the same there is no question about whether it was convincing to the person who heard it or not. You have experience doing it so that proves that it can be done.
Usually interviews do not provide us with enough time to answer a question with enough clarity. I try not to confuse the interviewer with something that he/she might not know. Work your way by answering the question to the point and then wait for follow ups that might dig into EJB + web service integration. If EJB + web service is the only way you know of deploying the service then you can say that. No problemo
For face to face interviews watch the interviewer's expressions carefully. If you seem them purse their lips or raise their eyebrows when you answer that is usually a sign that they do not agree or they do not understand. You can pause and then ask them 'Am I making sense ?' or 'Is that the answer you are looking for ?'. Getting more clarity from them usually helps. Since this was a telephonic one you should pay attention to their voice and listen for the Umms and Hmms.
From what I have read so far I guess you explained your experience with webservices with EJB and the interviewer did not understand / know about the existence of such an interaction. Certainly not your fault But do read up on the creation of web service without EJB since most of us develop them as a standalone.
|
 |
Henry Wong
author
Sheriff
Joined: Sep 28, 2004
Posts: 16695
|
|
I do not have experience exposing EJB methods as web service methods. However since you have done the same there is no question about whether it was convincing to the person who heard it or not. You have experience doing it so that proves that it can be done.
I guess this proves how big (and how peripheral) axis is -- have more than a year experience with it, and didn't even know that it can do EJBs.
From what I have read so far I guess you explained your experience with webservices with EJB and the interviewer did not understand / know about the existence of such an interaction. Certainly not your fault But do read up on the creation of web service without EJB since most of us develop them as a standalone.
Agreed. This one is not fair, but understandable. It is hard to convince someone that you know something if you only know it via an less common usage.
Henry
|
 |
 |
|
|
subject: interview question about Axis
|
|
|