SCDJWS - Meu Guia!  XML
Índice dos Fóruns » Certificação Java
Autor Mensagem
gutomaia
HelloWorld

Membro desde: 29/12/2008 10:24:50
Mensagens: 12
Offline

Galera, passei na SCDJWS ontem. Estou postando o meu "Guia" de referencia pessoal, tem links e as principais recomendações da W3C que são cobradas na prova.

Está meio bagunçado, mas serve um tanto de ajuda para quem já está estudando. Quando tiver tempo e medida que for lembrando vou fazer mais comentários sobre a prova.

A quem for fazer: BOA SORTE!

--------------------------

http://json.org

WS-Policy allows discoverable service properties as a WSDL allows discoverable services.
See DSW4120_SG and
http://www.ibm.com/developerworks/library/specification/ws-polfram/
http://www.w3.org/TR/soap12-part1/#soapfault 5.4.6 SOAP Fault Codes

XMLSchema:
http://www.w3.org/TR/
http://www.w3.org/TR/xmlschema-1/
XSD namespace is "http://www.w3.org/2000/10/XMLSchema"
XML schemas can describe XML documents and the meaning and relationships of their constituent parts.
The XSD type system can be used to define type even if the actual format is NOT XML.
WSDL PREFERS (not require) XSD as the type system.
Use xsd:anyType for generic type descriptions

Basic Profile:
http://www.ws-i.org/Profiles/BasicProfile-1.1.html
R2010 An XML Schema directly or indirectly imported by a DESCRIPTION MUST use either UTF-8 or UTF-16 encoding.
R2011 An XML Schema directly or indirectly imported by a DESCRIPTION MUST use version 1.0 of the eXtensible Markup Language W3C Recommendation.
R2110 In a DESCRIPTION, declarations MUST NOT extend or restrict the soapenc:Array type.
R2111 In a DESCRIPTION, declarations MUST NOT use wsdl:arrayType attribute in the type declaration.
R2112 In a DESCRIPTION, elements SHOULD NOT be named using the convention ArrayOfXXX.
R2113 An ENVELOPE MUST NOT include the soapenc:arrayType attribute.
R2800 A DESCRIPTION MAY use any construct from XML Schema 1.0.
R2801 A DESCRIPTION MUST use XML Schema 1.0 Recommendation as the basis of user defined datatypes and structures.
R2112 In a DESCRIPTION, elements SHOULD NOT be named using the convention ArrayOfXXX.
Basic Profile mandates the use of XML Schema for user defined datatypes.

WSDL:
http://www.w3.org/TR/wsdl
The Profile requires that all WSDL SOAP 1.1 extensions be understood and processed by the consumer, irrespective of the presence or the value of the wsdl:required attribute on an extension element.
R2747 A CONSUMER MUST understand and process all WSDL 1.1 SOAP Binding extension elements, irrespective of the presence or absence of the wsdl:required attribute on an extension element; and irrespective of the value of the wsdl:required attribute, when present.
R2748 A CONSUMER MUST NOT interpret the presence of the wsdl:required attribute on a soapbind extension element with a value of "false" to mean the extension element is optional in the envelopes generated from the WSDL description.
R2702 A wsdl:binding element in a DESCRIPTION MUST specify the HTTP transport protocol with SOAP binding. Specifically, the transport attribute of its soapbind:binding child MUST have the value "http://schemas.xmlsoap.org/soap/http".
Port Type is an abstract set of operations supported by one or more endpoints.
Port is a single endpoint defined as a combination of a binding and a network address.
Operation is an abstract description of an action supported by the service.
Service defines a collection of related endpoints
Message is an abstract, typed definition of the data being communicated
Binding is for a concrete protocol for a particular port type.
q2-13

SOAP:
soap 1.2 envelope namespace is "http://www.w3.org/2003/05/soap-envelope"
wsdl soap bindding namespace is "http://schemas.xmlsoap.org/wsdl/soap/"
soapfault namespate MUST be "http://www.w3.org/2003/05/soap-envelope"
soapfault contain a mandatory Reason element and an optional Role
soapfault detail element is open content and application specific
Body element is required with 0 to N entries
Body entry is identified by its fully qualified element name

WebService:
Processing Layer has Marshalling outbound XML based on a database query and Java calculation and Exceptions for failures executing businesses logic.


JAVAEE:
Java EE 5 authorization system can operate across either one of two security realms: certificate-based or default role based.
Java EE 5 vendors MUST support the WS-I Basic Profile.
SSL MUST be supported (Ejb spec).
SAML define an XML structure for authentication and authorization information between services.

JAXP:
It provides the capability of validating and parsing XML documents.
JAXP is a standard component in the Java platform.
They provide an implementation independent API that enables applications to parse, transform, validate and query XML.

JAXB:
It maps a given schema definition into corresponding Java classes.
They provide a way to process XML content using Java objects by binding its XML schema to Java representation.
JAXB XJC is a schema compiler.
q2-28

JAXR:
It describes content and metadata within XML registries.
life cycle managers may delete ServiceBindings.
a service may have multiple ServiceBindings.
ServiceBinding is an Interface.
The ServiceBinding.setValidateURI can allow an invalid URI to be published if desired.
StAX is a pull API suitable for many tasks including marshalling XML.


JAX-WS:
https://jax-ws.dev.java.net/jax-ws-ea3/docs/dispatch.html
jaxws-2_0-fr-spec.pdf
The style, "document" or "rpc", of an interaction is specified at the wsdl:operation level, permitting wsdl:bindings whose wsdl:operations have different styles. This has led to interoperability problems.
It is a technology for building web services and clients that communicate using XML.
Dynamic Proxy and Dispath are the supported communication modes in JAX-WS
Dynamic Proxy hides XML messages exchanged, raw messages
the Dispatch interface is well-suited to working directly with XML messages.
JAX-WS core APIs: javax.xml.spi.Provider, javax.xml.ws.Binding
JAX-WS service APIs: javax.xml.ws.WebServiceContext, javax.xml.ws.Endpoint
JAX-WS client APIs: javax.xml.ws.Dispatch
Logging attribute: com.sun.xml.ws.transport.http.client.HttpTransportPipe.dump = true;
Simple stateless services with SOAP are often more complex than the same using REST.
Annotations to support stateful services are available in JAX-WS.
q2-25

WSIT:
key standarts combined by WS-Security: SOAP + XMLEncryption
I-Stack includes JAX-WS, JAXB, StAX, SAAJ, and Fast Infoset.
Security Token Service (STS) must sign the token to indicate it recognizes the presenter.
Java EE 5 code must limit itself to the range supported by System.decimal because the .Net range is smaller than the Java range.
SOA emphasizes the concept of service encapsulation and Web Services fulfill a service contract.
WS-I Services Security Profile: Basic Security Profile (BSP), Rights Expression Language (REL), SAML Token Profile
profiles defined related to web services security: Basic Security Profile (BSP), Rights Expression Language (REL), SAML Token Profile

Patterns:
Visitor pattern represents an operation to be performed on the elements of an object structure.
Decorator pattern attaches additional responsibilities to an object dynamically.
Web Service Cache pattern optimizes network traffic.

UDDI:
http://www.uddi.org/taxonomies/UDDI_Registry_tModels.htm#IncV2
find_service parameters are tModelBag,categoryBag
for adding and updating: delete_binding, find_relatedBusinesses

===========================
Certified ScrumMaster (CSM)
Sun Certified Java Programer (SCJP)
Sun Certified Web Component Developer (SCWCD)
Sun Certified Business Component Developer (SCBCD)
Sun Certified Developer for Java Web Services (SCDJWS)
Sun Certified Mobile Application Developer (SCMAD)
Zend Certified Engenieer for PHP 5 (ZCE-PHP5)
===========================
Javabuntu
GUJ Master
[Avatar]

Membro desde: 08/02/2007 17:15:32
Mensagens: 1315
Localização: Brasília
Offline

Parabéns!!!

Usou algum livro ou somente pelos links? A prova é tranquila ou é meio pesada...

SCJP 6
SCJD
SCWCD 5
Itil V2
[MSN]
William Alves
JavaEvangelist
[Avatar]

Membro desde: 02/10/2008 07:36:41
Mensagens: 301
Localização: São Paulo-SP
Offline

Parabéns

William F. R. Alves
SCJA | SCJP 6 | SCWCD 5 | Próxima : SCBCD 5
[Email] [Yahoo!]
orogerio
JavaBaby
[Avatar]

Membro desde: 08/03/2008 14:38:14
Mensagens: 94
Offline

Parabéns !! Existe algum livro, apostila que sirva como guia ?

Certificado Java - OCJP 6.
ODAtech - Orientação no Desenvolvimento de Software
[WWW]
andrepestana
JavaEvangelist
[Avatar]

Membro desde: 23/03/2004 09:57:28
Mensagens: 380
Offline

Parabéns e obrigado, gutomaia!

Eu procurei um guia para essa certificação, mas existe pouca coisa.

Valeu!

Pestana
http://andrepestana.wordpress.com/
[Email] [MSN]
gutomaia
HelloWorld

Membro desde: 29/12/2008 10:24:50
Mensagens: 12
Offline

Olha, foram basicamente os links, experiência e o simulado da Sun no final para ter certeza;

Dicas que eu aconselho:

Pegue os links e imprima para um PDF, eu pelo menos me organizo melhor com PDFs.
Não apenas leia as especificações, mas as interprete:

EX:
WSDL PREFERS (not require) XSD as the type system.
Basic Profile: R2801 A DESCRIPTION MUST use XML Schema 1.0 Recommendation as the basis of user defined datatypes and structures.

Na parte WSIT procure um pdf chamado: WSITTutorial.pdf . dá uma boa visão dessa parte;

Fora isso:
Faça exemplos básicos de JAXB, JAXP e StAx; Principalmente de Stax pq eu achei que foi bem cobrado na prova. Tipo, faça a leitura de um stream de um XML de uma URL e de um arquivo local.
Com Stax e JAX sempre se usa STREAM.
Com DOM pode ser usar STREAM mas o arquivo tem q ser inteiramente lido para a criação dos nós.

A parte de JAXB xsd é cobrada apenas da existência da funcionalidade. Não cobraram nenhum exemplo e não acredito que o fariam.

Leia sobre o apt (3 questoes sobre isso, achei muito).

Saiba fazer um WSDL de ponta a ponta na mão, com os types e tudo mais. Importantissimo, saber estender tanto o WSDL, quanto importar os types de outro XSD; Saber criar um WSDL abstrato, só com as assinaturas dos Port Types mas sem os binddings;

Saber fazer uma mensagem SOAP. De todos os tipos possível. Saber diferenciar uma mensagem RPC;

Estou tentando lembrar de mais alguma coisa;

Bem a questão sobre a prova estar difícil, bem isso é relativo. Algumas partes eu estava mais do que preparado. Já outras, estavam BEM chatinhas, dando diversas opção de WSDL, Import Types e Soap messages para serem inseridas em um contexto. As diferenças entre uma resposta e outra eram muito minuciosas o que me demandou tempo e paciência.

A prova não é fácil, mas ela é mais chata do que difícil.

A quem for fazer boa sorte!

===========================
Certified ScrumMaster (CSM)
Sun Certified Java Programer (SCJP)
Sun Certified Web Component Developer (SCWCD)
Sun Certified Business Component Developer (SCBCD)
Sun Certified Developer for Java Web Services (SCDJWS)
Sun Certified Mobile Application Developer (SCMAD)
Zend Certified Engenieer for PHP 5 (ZCE-PHP5)
===========================
William Alves
JavaEvangelist
[Avatar]

Membro desde: 02/10/2008 07:36:41
Mensagens: 301
Localização: São Paulo-SP
Offline

Ola guto.

Qual foi o seu score?

Quais tópicos você achou mais chatos na prova?

Abraços.

William F. R. Alves
SCJA | SCJP 6 | SCWCD 5 | Próxima : SCBCD 5
[Email] [Yahoo!]
WRYEL
JavaEvangelist
[Avatar]

Membro desde: 03/03/2008 21:27:20
Mensagens: 447
Localização: São Paulo
Online

parabéns!

/**
* http://www.wryel.com.br
* SCJA / SCJP / OCWCD
*/
[WWW] [MSN]
victorwss
JWizard
[Avatar]

Membro desde: 18/12/2007 14:46:00
Mensagens: 2409
Localização: São Paulo - SP
Offline

Parabéns cara. Parabéns de verdade, pois essa prova é provavelmente a mais difícil das certificações java.

Acertou quantas questões?

Vai partir para a SCEA e a SCJD agora?

Victor Williams Stafusa da Silva

Bacharel em Ciência da Computação - UFMT // Especialista em Desenvolvimento Java - CEFET/MT // Doutorando em Ciência da Computação - IME-USP
SCJP 6.0 - 19/12/2007 - PASS - 88% // SCWCD 5 - 17/05/2008 - PASS - 79% // SCJA - 09/09/2008 - PASS - 96% // SCSNI - 30/06/2009 - PASS - 68% // SCBCD 5 - 31/05/2010 - PASS - 95%
Próximos: SCJD (encalhado com o projeto), SCEA parte I (estudando). Algum dia desses: SCMAD, OCA, SCEA e SCDJWS.

Computação: uma ciência holística e esotérica!
E então veio Deus a terra e disse aos homens: Não dividireis por zero.
XML is a giant step in no direction at all. (Erik Naggum)
Arquitetura de sistemas: Eu prefiro ser essa metamorfose ambulante do que ter aquela velha opinião formada sobre tudo.
Diga não as drogas: Não use java.util.Vector.
Cuidado: Este usuário pode ter temperamento agressivo.

Always code as if the person who will maintain your code is a maniac serial killer that knows where you live.
I am the maniac serial killer that knows where you live who will maintain your code.


É impossível falar de CMMI (Capability Maturity Model Integration) sem saber o que é CIMM (Capability Im-Maturity Model).


Se você escreve "concerteza", "concerteza" você andou matando aulas de português.
[MSN]
g4j
GUJ Ranger
[Avatar]

Membro desde: 02/05/2007 14:32:03
Mensagens: 817
Localização: Curitiba
Offline

Maravilha hein! Parabéns.

Tu tens uma penca de certificações hein cara!

Obrigado pela atenção em postar teu guia.

Gerson Luiz Chagas

SCJP 5.0
SCWCD 5.0

Luca
Moderador
[Avatar]

Membro desde: 06/09/2002 14:30:10
Mensagens: 5810
Localização: São Paulo/SP ou Paraty/RJ
Offline

Olá

Guto, parabéns por ter passado no exame. Sei que deve estar contentíssimo e tem todos os motivos. O que vou escrever abaixo não é para você. É uma crítica a Sun.

Certificação sobre Web services e não cai nada sobre REST?

Como vocês sabem, já ministrei tutoriais sobre web services, já opinei muito aqui no GUJ sobre isto, tenho um monte de livros sobre Web services e já trabalhei com integração de sistemas.

Se eu fosse examinar um currículo, esta certificação não me ajudaria em nada a decidir pelo candidato. Certificação Web services em 2009 sem abordar REST só pode ser parte do esforço da Sun de matar o Java.

[]s
Luca

Dare Obasanjo (Program Manager at Microsoft)
"The folks I know from across the industry who have to build large scale Web services on the Web today at Google, Yahoo!, Facebook, Windows Live, Amazon, etc are using RESTful Web services. The only times I encounter someone with good things to say about WS-* is if it is their job to pimp these technologies or they have already "invested" in WS-* and want to defend that investment."


CEP, JMS, JMX e coisas afins (ou não)
http://lucabastos.blogspot.com/
[Email] [WWW]
victorwss
JWizard
[Avatar]

Membro desde: 18/12/2007 14:46:00
Mensagens: 2409
Localização: São Paulo - SP
Offline

Luca wrote:Olá

Guto, parabéns por ter passado no exame. Sei que deve estar contentíssimo e tem todos os motivos. O que vou escrever abaixo não é para você. É uma crítica a Sun.

Certificação sobre Web services e não cai nada sobre REST?

Como vocês sabem, já ministrei tutoriais sobre web services, já opinei muito aqui no GUJ sobre isto, tenho um monte de livros sobre Web services e já trabalhei com integração de sistemas.

Se eu fosse examinar um currículo, esta certificação não me ajudaria em nada a decidir pelo candidato. Certificação Web services em 2009 sem abordar REST só pode ser parte do esforço da Sun de matar o Java.

[]s
Luca


Na verdade cai algumas questões sobre REST na prova sim. No entanto são poucas e bem superficiais.

Victor Williams Stafusa da Silva

Bacharel em Ciência da Computação - UFMT // Especialista em Desenvolvimento Java - CEFET/MT // Doutorando em Ciência da Computação - IME-USP
SCJP 6.0 - 19/12/2007 - PASS - 88% // SCWCD 5 - 17/05/2008 - PASS - 79% // SCJA - 09/09/2008 - PASS - 96% // SCSNI - 30/06/2009 - PASS - 68% // SCBCD 5 - 31/05/2010 - PASS - 95%
Próximos: SCJD (encalhado com o projeto), SCEA parte I (estudando). Algum dia desses: SCMAD, OCA, SCEA e SCDJWS.

Computação: uma ciência holística e esotérica!
E então veio Deus a terra e disse aos homens: Não dividireis por zero.
XML is a giant step in no direction at all. (Erik Naggum)
Arquitetura de sistemas: Eu prefiro ser essa metamorfose ambulante do que ter aquela velha opinião formada sobre tudo.
Diga não as drogas: Não use java.util.Vector.
Cuidado: Este usuário pode ter temperamento agressivo.

Always code as if the person who will maintain your code is a maniac serial killer that knows where you live.
I am the maniac serial killer that knows where you live who will maintain your code.


É impossível falar de CMMI (Capability Maturity Model Integration) sem saber o que é CIMM (Capability Im-Maturity Model).


Se você escreve "concerteza", "concerteza" você andou matando aulas de português.
[MSN]
faelcavalcanti
GUJ Ranger
[Avatar]

Membro desde: 03/05/2006 13:16:25
Mensagens: 960
Localização: Recife-PE
Offline

parabéns guto. congratulations!!!
há um bom tempo fiz a beta desta prova e não consegui passar.

victorwss wrote:Na verdade cai algumas questões sobre REST na prova sim. No entanto são poucas e bem superficiais.

bota superficial nisto, retirado:
Section 5: REST, JSON, SOAP and XML Processing APIs (JAXP, JAXB and SAAJ)
* Describe the characteristics of REST Web Services.
* Describe the characteristics of JSON Web Services.
* Compare SOAP web services to REST Web Services.
* Compare SOAP web services to JSON Web Services.
* Describe the functions and capabilities of the APIs included within JAXP.
* Describe the functions and capabilities of JAXB, including the JAXB process flow, such as XML-to-Java and Java-to-XML, and the binding and validation mechanisms provided by JAXB.
* Create and use a SOAP message with attachments using the SAAJ APIs.

e como o lucas falou, concordo com a crítica à sun, entre outras terminologias, acho que os tópicos 8 em diante que a coisa começa a ficar interessante, mas talvez eles tenham feito isto pelo grande conjunto de tecnologias que é preciso conhecer para o exame.


--
http://faelcavalcanti.wordpress.com/ :: http://pe.debianbrasil.org/
--
Acredite um pouco mais na força de sua própria intuição. Muitas vezes deixamos de realizar algo de bom ou que nos favoreça simplesmente porque achamos tudo muito difícil e por isso nem começamos. Moral da história: A vida é o caminho e não o destino, você é o arquiteto do seu caminho!
--
Obrigado, Rafa Rocha!
[WWW]
breno500as
Virtual Machine Man
[Avatar]
Membro desde: 11/10/2007 17:53:07
Mensagens: 614
Localização: Belo Horizonte - MG
Offline

Parabéns!!!Não conhecia muito sobre esta certificação,mas parece ser interessante sim..

Sun Certified Java Programmer 5.0
Sun Certified Web Component Developer 5.0
Sun Certified Business Component Developer 5.0
asobrab
JavaChild
[Avatar]

Membro desde: 28/08/2006 20:38:14
Mensagens: 104
Localização: São Paulo - SP
Offline

Para esta certificação, o cara deve ter XML correndo nas veias.
Parabéns!

Johnny
SCJA, SCJP, SCWCD, SCJD(Relato)
 
Índice dos Fóruns » Certificação Java
Ir para:   
Powered by JForum 2.1.8 © JForum Team