Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

interview question about Axis

 
david tanu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 48363
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please read the important administrative private message I just sent you.
 
david tanu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Campbell Ritchie wrote:Please read the important administrative private message I just sent you.


sorry guys. I updated my profile
 
Henry Wong
author
Marshal
Pie
Posts: 20880
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Campbell Ritchie
Sheriff
Posts: 48363
56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
david tanu wrote:sorry guys. I updated my profile
Thank you and welcome to JavaRanch
 
Deepak Bala
Bartender
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
* 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.

 
david tanu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
* 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
Posts: 6663
5
Firefox Browser Linux MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Marshal
Pie
Posts: 20880
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic