Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

bk thakur

Greenhorn
+ Follow
since Sep 23, 2014
Cows and Likes
Cows
Total received
1
In last 30 days
0
Total given
0
Likes
Total received
1
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 bk thakur

Hi,

Today, I cleared 1Z0-897 exam with 94%. I prepared using the following study material:

- Mikalai study guide and quiz
- Enthuware question bank
- java webservices up and running first and second edition
- Ivan's notes
- Jersey documentation 1.18
- WS-I BP

I got the questions related to following topics in my exam:

1. EJB related questions like exposing ejb as webservice, security in ejb
2. security related questions like digital signatures, token profile in metro, STS
3. webservicecontext injection
4. Handlers questions like how to enable at webservice endpoint, client side, order of execution
5. WSDL 1.1
6. WS-I basic profile : like encodingstyle related question, best practices for ws-i basic profile complaint web services
7. characterisitics of services
8 WSIT config files
9 asynchronous communication
10 doc and rpc style
11 encoding of compound values
12 creating services with jax-ws
13. enabling Addressing
14 characteristics of restful web services
15 MTOM
16 STAX
17 one way operation
18 JAXB
19 Binding provider's properties
20 swaref


Regards,
bkthakur
5 years ago
Yes that makes sense. Thanks for the clarification.

Regards,
bkthakur
Hi Frits,

I am already sun certified java programmer (SCJP). Now i will be giving web services exam in few days. I have purchased the voucher for the same from PearsonVue center and you are right it does not check at the time of purchase of the voucher.

You are also saying : "you won't be certified if you haven't got your prior certification requirement."

But my question is how oracle is going to validate this if i am already java certified(as java programmer certification is required for web services certification) or not???

Regards,
bkthakur
Hi,

Do we need to declare a jax-rs resource class as EJB to have the role based security???

I was going through the question from enthuware and encountered the following question:

There is a RESTful Web Service that adds two numbers. We want to secure this Web Service in order to only allow users in the role "student". What is the correct JAX-RS root resource class to implement this requirement? Assume that there is a security constraint in the web deployment descriptor that allows "student" and "teacher" to access the URL.

and the correct answer for this was:

@ApplicationPath("jax")
@Path("rs")
@Stateless
@RolesAllowed("student")
public class AdditionService extends Application {   
 @GET  
  @Path("/add/{num1}/{num2}")    
public String addp(@PathParam("num1") int num, @PathParam("num2") int num2){       
return "" + (num+num2);    }
}

the option that i selected was wrong and it showed explanation: "Note that the root resource class is not an EJB, therefore role-based security does not work".

i tried to search through internet to find if it is necessary to have declared it as ejb but couldn't find anything concrete. Please anyone verify this or provide some link for this.


Regards,
bkthakur
Hi

I am preparing for the web services exam. I am going through the jersey guide for RestFul webservices(https://jersey.java.net/documentation/latest/user-guide.html).

I need to know what topics i should be covering from this jersey guide for this exam?


Regards,
bkthakur