<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-5039778</id><updated>2011-06-08T03:18:55.174-03:00</updated><title type='text'>Java Certification</title><subtitle type='html'>Blogger sobre certificação Java.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mocks.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>18</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-5039778.post-94384633</id><published>2003-05-15T09:04:00.000-03:00</published><updated>2003-05-15T09:04:17.223-03:00</updated><title type='text'></title><content type='html'>E aê javaneses! Voltamos! Recebi essa dúvida via email:&lt;br /&gt;&lt;br /&gt;olá,&lt;br /&gt;&lt;br /&gt;vi no seu blogue que alguem estava com dificuldade para permissao de leitura.&lt;br /&gt;&lt;br /&gt;o meu problema eh o contrario:&lt;br /&gt;eu nao tenho permissao de escrita:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import java.net.*;&lt;br /&gt;import java.awt.print.*;&lt;br /&gt;import java.util.*;&lt;br /&gt;import java.io.*;&lt;br /&gt;&lt;br /&gt;class ImprimirURL {&lt;br /&gt;  public static void main(String[] args) {&lt;br /&gt;    try {&lt;br /&gt;      URL urlRef = new URL("http://localhost/adm/teste.php");&lt;br /&gt;      BufferedReader is = new BufferedReader(new&lt;br /&gt;InputStreamReader(urlRef.openStream()));&lt;br /&gt;      String inputLine;&lt;br /&gt;      FileOutputStream os = new FileOutputStream("LPT1:");&lt;br /&gt;      PrintStream ps = new PrintStream(os);&lt;br /&gt;      while ((inputLine = is.readLine()) != null)&lt;br /&gt;        { //System.out.println(inputLine);&lt;br /&gt;            ps.println(inputLine);&lt;br /&gt;      }&lt;br /&gt;      ps.close();&lt;br /&gt;      is.close();&lt;br /&gt;    }  catch (MalformedURLException me) {&lt;br /&gt;      System.out.println("MalformedURLException: " + me);&lt;br /&gt;    }  catch (IOException ioe) {&lt;br /&gt;      System.out.println("IOException: " + ioe);&lt;br /&gt;    }&lt;br /&gt;  }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;O que eu quero é umapplet que pegue o resultado da consulta atravéz da url&lt;br /&gt;direcione tudo para LPT1:&lt;br /&gt;&lt;br /&gt;Vou explicar o porque.&lt;br /&gt;Meu sistema é feito em php e o ruindows só imprime em modo gráfico.&lt;br /&gt;Para imprimir Notas Ficais é um método inviável, pela demora.&lt;br /&gt;Para relatório de contabilidade com 80 a 200 páginas é pior ainda.&lt;br /&gt;É por iso que eu quero imprimir diretamente na LPT1:&lt;br /&gt;&lt;br /&gt;Quem tiver alguma dica, por favor  nos envie porque eu tb tenho esse maldito problema de impressão em java...&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-94384633?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/94384633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/94384633'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_05_11_archive.html#94384633' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-89710907</id><published>2003-02-25T11:07:00.000-03:00</published><updated>2003-02-25T11:13:26.000-03:00</updated><title type='text'></title><content type='html'>&lt;img src="http://www.javaman.com.br/images/bruno_duke.jpg" border="0"&gt;&lt;br /&gt;&lt;b&gt;Bate papo no Restaurante no Fim do Universo&lt;/b&gt;&lt;br /&gt;Esse JavaMan... inventa cada nome, mas devemos admitir que é muito criativo! Hoje, às 18:30h neste link: &lt;a href="http://www.javaman.com.br/restaurante/entrar.jsp" target="_new"&gt;Restaurante no Fim do Universo&lt;/a&gt; irá ocorrer um bate papo com o Daniel, do DFJUG. O assunto será &lt;br /&gt;&lt;i&gt;O Mercado Java no Brasil&lt;/i&gt;, eles terão muita coisa para discutir sem dúvida... &lt;br /&gt;Mudando de assunto, estão me perguntando porque eu não tenho atualizado mais este blogger, a verdade é que estou atolado de coisas aqui na CTIS, tenho que estudar para a Web Components, amadurecer meus conhecimentos em EJB e ainda tem o J2ME! É por isso que estou procurando membros para este blogger, quem quiser participar e postar mensagens aqui é só me mandar um email!&lt;br /&gt;OBS: É possível entrar no Restaurante através do Appletviewer através do comando: &lt;i&gt;appletviewer http://www.javaman.com.br/restaurante/appv.jsp?login=guest&lt;/i&gt;, em que guest é o seu nome de usuário. Muito fácil, é só abrir uma tela do DOS, colar o comando e dar enter! Esse JavaMan... realmente tem as manhas...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-89710907?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89710907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89710907'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_23_archive.html#89710907' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-89364876</id><published>2003-02-19T08:19:00.000-03:00</published><updated>2003-02-19T08:32:29.000-03:00</updated><title type='text'></title><content type='html'>&lt;img src="http://www.theserverside.com/images/icon_discussion.gif" border="0"&gt;&lt;br /&gt;&lt;b&gt;Questões do dia&lt;/b&gt;&lt;br /&gt;Bom dia irmãos da grande linguagem Java! Hoje postei mais essas questões da prova de web components retiradas do primeiro capítulo do CD da Sybex:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. Which HTTP method is used to store a resource on the server?&lt;/b&gt;&lt;br /&gt;A. GET&lt;br /&gt;B. POST&lt;br /&gt;C. PUT&lt;br /&gt;D. STORE&lt;br /&gt;E. HEAD&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. Given the following code, which request method will get invoked?&lt;/b&gt;&lt;br /&gt;&amp;#8249;HTML&amp;#8250;&lt;br /&gt;&amp;#8249;BODY&amp;#8250;&lt;br /&gt;&amp;#8249;FORM ACTION=‘/servlet/test’&amp;#8250;&lt;br /&gt;&amp;#8249;p&amp;#8250;Enter the file you would like to Post:&amp;#8249;/P&amp;#8250;&lt;br /&gt;&amp;#8249;INPUT TYPE=‘text’ size=‘40’ name=‘fileName’&amp;#8250;&lt;br /&gt;&amp;#8249;INPUT TYPE=‘submit’ value=‘Done’&amp;#8250; &amp;#8249;/p&amp;#8250;&lt;br /&gt;&amp;#8249;/FORM&amp;#8250;&lt;br /&gt;&amp;#8249;/BODY&amp;#8250;&lt;br /&gt;&amp;#8249;/HTML&amp;#8250;&lt;br /&gt;&lt;br /&gt;A. PUT&lt;br /&gt;B. POST&lt;br /&gt;C. GET&lt;br /&gt;D. HEAD&lt;br /&gt;&lt;br /&gt;&lt;b&gt;3. Which of the following query strings is invalid? (Choose all that&lt;br /&gt;apply.)&lt;/b&gt;&lt;br /&gt;A. name=Michael&amp;address=1234 Sunset Blvd. #301&amp;state=CA&lt;br /&gt;B. name=Michael&amp;address=1234+Sunset Blvd.+#301&amp;state=CA&lt;br /&gt;C. name=Michael&amp;address=1234+Sunset+Blvd%45+&lt;br /&gt;%23301&amp;state=CA&lt;br /&gt;D. name= Michael&amp;address=1234+Sunset+Blvd.+&lt;br /&gt;%23301&amp;state=CA&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Comentário&lt;/b&gt;&lt;br /&gt;São três questões básicas sobre o protocolo Http, o primeiro capítulo do CD da Sybex. &lt;br /&gt;Questão 1: Essa é bem fácil, como bem sabemos o método Http para armazenar algum recurso no servidor é o &lt;i&gt;PUT&lt;/i&gt;, letra &lt;i&gt;c&lt;/i&gt; é a correta.&lt;br /&gt;Questão 2: Como é o padrão, todos os formulários HTML utilizam &lt;i&gt;get&lt;/i&gt; para envio dos dados caso não seja especificado um método, letra &lt;i&gt;c&lt;/i&gt; é a correta.&lt;br /&gt;Questão 3: Essa questão é sobre query string, os parametros enviados por get. Na opção &lt;i&gt;a&lt;/i&gt; existem espaços no valor address, portanto é inválido. &lt;i&gt;b&lt;/i&gt; ìden e em &lt;i&gt;d&lt;/i&gt; o espaço está depois da igualdade do valor name. R:&lt;i&gt;a, b, d&lt;/i&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-89364876?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89364876'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89364876'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_16_archive.html#89364876' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-89236052</id><published>2003-02-17T09:41:00.000-03:00</published><updated>2003-02-18T08:58:20.000-03:00</updated><title type='text'></title><content type='html'>&lt;b&gt;Questões do dia&lt;/b&gt;&lt;br /&gt;Separei mais duas questões da prova de Web Components hoje.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. Which of the following is an example of a correctly formed condtional statement &lt;br /&gt;in jsp?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;a) &amp;#8249;%&lt;br /&gt;Enumeration names = request.getParameterNames();&lt;br /&gt; while(names.hasMoreElements())&lt;br /&gt;   { &lt;br /&gt;      &amp;#8249;tr&amp;#8250;&lt;br /&gt;       &amp;#8249;td&amp;#8250;&lt;br /&gt;         out.print(request.getParameter((String)names.nextElement());&lt;br /&gt;       &amp;#8249;/td&amp;#8250;&lt;br /&gt;      &amp;#8249;/tr&amp;#8250;&lt;br /&gt;   } %&amp;#8250;&lt;br /&gt;&lt;br /&gt;b) &amp;#8249;%@ jsp:if condtion="&amp;#8249;%= session.isNew() %&amp;#8250;"&amp;#8250;&lt;br /&gt;&amp;#8249;h2&amp;#8250;Hello&amp;#8249;/h2&amp;#8250;&lt;br /&gt;&amp;#8249;/jso:if&amp;#8250;&lt;br /&gt;&lt;br /&gt;c) &amp;#8249;%&lt;br /&gt;Enumeration names = request.getParameterNames();%&amp;#8250;&lt;br /&gt;&amp;#8249;% jsp:while(names.hasMoreElements())&lt;br /&gt;   { %&amp;#8250;&lt;br /&gt;&lt;br /&gt;      &amp;#8249;tr&amp;#8250;&lt;br /&gt;       &amp;#8249;td&amp;#8250;&lt;br /&gt;         &amp;#8249;%= request.getParameter((String)names.nextElement()) %&amp;#8250;&lt;br /&gt;       &amp;#8249;/td&amp;#8250;&lt;br /&gt;      &amp;#8249;/tr&amp;#8250;&lt;br /&gt;&amp;#8249;% } %&amp;#8250;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;d) &amp;#8249;% if(session.isNew())&lt;br /&gt;      out.print("Hello");&lt;br /&gt;%&amp;#8250;&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. A client types the URI :&lt;br /&gt;http://www.someserver.com/servlet/SomeServlet?name=fred&lt;br /&gt;The value of name can be obtained by:&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;a) doGet(HttpServletRequest request, HttpServletResponse response)&lt;br /&gt;{&lt;br /&gt;    String name = request.getParameter("name");&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;b) doGet(HttpServletRequest request, HttpServletResponse response)&lt;br /&gt;{&lt;br /&gt;    String name = request.getInitParameter("name");&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;c) doGet(HttpServletRequest request, HttpServletResponse response)&lt;br /&gt;{&lt;br /&gt;    String name = response.getParameter("name");&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;d) service(HttpServletRequest request, HttpServletResponse response)&lt;br /&gt;{&lt;br /&gt;    String name = request.getParameter("name");&lt;br /&gt;...&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Comentário: &lt;/b&gt;&lt;br /&gt;A questão 1 é bem interessante e pode enganar os distraídos... A opção &lt;i&gt;a&lt;/i&gt; é aparentemente correta, até que você vê código Html dentro do scriptlet! Certamente isso daria um erro de compilação na página. A opção &lt;i&gt;b&lt;/i&gt; é absurda pois não existe uma declaração &amp;#8249;%@ jsp:if condtion="&amp;#8249;%= session.isNew() %&amp;#8250;"&amp;#8250;. A opção &lt;i&gt;c&lt;/i&gt; não procede pois assim como a &lt;i&gt;b&lt;/i&gt; não existe algo como &amp;#8249;% jsp:while(names.hasMoreElements())&lt;br /&gt;   { %&amp;#8250;. Por exclusão, a questão &lt;i&gt;d&lt;/i&gt; é correta, afinal existe mesmo na interface HttpSession o método isNew() o qual retorna um valor boolean, logo pode ser utilizado na expressão da opção d.&lt;br /&gt;&lt;br /&gt;A questão 2 é sobre assinatura dos métodos em um servlet. Como o servlet será acessado diretamente via URL, a forma recomendada e correta para se recuperar um valor é através do método doGet, o qual tem a seguinte assinatura: &lt;i&gt;doGet(HttpServletRequest request, HttpServletResponse response)&lt;br /&gt;&lt;/i&gt;, como sabemos para recuperar valores do request, utilizamos o método &lt;i&gt;getParameter(String name)&lt;/i&gt;, portanto a opção &lt;i&gt;a&lt;/i&gt; é correta, e embora o método service não seja adequado para recuperar valores, pode-se considerar a opção &lt;i&gt;d&lt;/i&gt; como correta.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-89236052?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89236052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89236052'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_16_archive.html#89236052' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-89102056</id><published>2003-02-14T14:53:00.000-03:00</published><updated>2003-02-14T14:53:59.180-03:00</updated><title type='text'></title><content type='html'>&lt;b&gt;Dúvida de internauta&lt;/b&gt;&lt;br /&gt;Recebi esta mensagem hoje:&lt;br /&gt;&lt;i&gt;&lt;br /&gt;Olá Jose Carlos,&lt;br /&gt; &lt;br /&gt;Parabéns pela conquista da sua certificação!&lt;br /&gt; &lt;br /&gt;Estou estudando para fazer a prova. Não conhecia os pdf's da Sybex. &lt;br /&gt;Como não estou com tempo AGORA para vê-los pq ainda não terminei &lt;br /&gt;de estudar pelo livro, gostaria de saber como eles foram úteis para vc &lt;br /&gt;e se em outro site eu encontro pdf's, e-books, etc.&lt;br /&gt; &lt;br /&gt;Minha principal preocupação é que estou estudando pelo livro JAVA 2 &lt;br /&gt;certification study guide do java 1.3 e ele não tem assertion, fala pouco &lt;br /&gt;sobre collections, etc. Por isso, estou buscando material complementar. &lt;br /&gt;Se vc o tiver, me diga onde posso conseguir e outras dicas mais que vc &lt;br /&gt;deve ter sobre a prova e seu programa.&lt;br /&gt; &lt;br /&gt;Agradeço desde já,&lt;br /&gt; &lt;br /&gt;Cordialmente,&lt;br /&gt;Givanildo Santana do Nascimento&lt;br /&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Caro Givanildo, obrigado por nos escrever! Não se preocupe com a falta dos &lt;br /&gt;asserts, estudei pelo mesmo material, afinal os pdf´s são a mesma coisa&lt;br /&gt;do livro! Faça os simulados, e quanto ao collections framework... é só&lt;br /&gt;isso que cai mesmo! &lt;br /&gt;Boa Sorte!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-89102056?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89102056'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89102056'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#89102056' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-89101696</id><published>2003-02-14T14:45:00.000-03:00</published><updated>2003-02-14T14:48:59.000-03:00</updated><title type='text'></title><content type='html'>&lt;b&gt;Dúvidas de Internautas respondidas&lt;/b&gt;&lt;br /&gt;Recebi esta dúvida de um amigo nosso por email:&lt;br /&gt;&lt;br /&gt;Oi José Carlos meu nome é Robson e sou iniciante em java.&lt;br /&gt;Estou tentando criar um applet que leia um arquivo texto contendo 13 linhas&lt;br /&gt;e retorna uma delas para o browser , ele roda correto no JBuilder e no&lt;br /&gt;appletviewer mas não consigo rodar no Internet Explorer que dá um erro de&lt;br /&gt;(java.io.FilePermission teste.txt read).&lt;br /&gt;Obrigado pela ajuda&lt;br /&gt;&lt;br /&gt; A saída no Console é:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;java.security.AccessControlException: access denied (java.io.FilePermission&lt;br /&gt;teste.txt read) 	&lt;br /&gt;at&lt;br /&gt;java.security.AccessControlContext.checkPermission(AccessControlContext.java&lt;br /&gt;:270) 	&lt;br /&gt;at&lt;br /&gt;java.security.AccessController.checkPermission(AccessController.java:401)&lt;br /&gt;at &lt;br /&gt;java.lang.SecurityManager.checkPermission(SecurityManager.java:542) 	&lt;br /&gt;at &lt;br /&gt;java.lang.SecurityManager.checkRead(SecurityManager.java:887) 	&lt;br /&gt;at &lt;br /&gt;java.io.RandomAccessFile.&lt;init&gt;(RandomAccessFile.java:194) 	&lt;br /&gt;at &lt;br /&gt;MinutodeSabedoria.init(MinutodeSabedoria.java:18) 	&lt;br /&gt;at &lt;br /&gt;sun.applet.AppletPanel.run(AppletPanel.java:347) 	&lt;br /&gt;at &lt;br /&gt;java.lang.Thread.run(Thread.java:536) &lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;O código é esse:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;import java.awt.*;&lt;br /&gt;import javax.swing.*;&lt;br /&gt;import java.util.*;&lt;br /&gt;import java.io.*;&lt;br /&gt;&lt;br /&gt;public class MinutodeSabedoria extends JApplet {&lt;br /&gt;   public void init(){&lt;br /&gt;      JTextArea outputArea = new JTextArea();&lt;br /&gt;      Container c = getContentPane();&lt;br /&gt;      c.add( outputArea );&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;      File name = new File("teste.txt");&lt;br /&gt;      Vector v = new Vector ();&lt;br /&gt;      try {&lt;br /&gt;           RandomAccessFile r = new RandomAccessFile( name, "r" );&lt;br /&gt;           StringBuffer buf = new StringBuffer();&lt;br /&gt;           String text;&lt;br /&gt;&lt;br /&gt;            while( ( text = r.readLine()) != null )&lt;br /&gt;                  v.addElement(text + "\n" );&lt;br /&gt;      }&lt;br /&gt;      catch( IOException e2 ){&lt;br /&gt;              JOptionPane.showMessageDialog( this,&lt;br /&gt;              "FILE ERROR",&lt;br /&gt;              "FILE ERROR", JOptionPane.ERROR_MESSAGE );&lt;br /&gt;      }&lt;br /&gt;      Random rd = new Random();&lt;br /&gt;      outputArea.setText(v.elementAt(Math.abs(rd.nextInt())%13).toString());&lt;br /&gt;   }&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Meu caro Robson, a verdade é que o Applet está tentando ler um arquivo diretamente da máquina cliente!&lt;br /&gt;E isso não é permitido por razões de segurança. &lt;br /&gt;Neste &lt;a href="http://www.javaranch.com/CodeBarn/BarnServerFileApplet.jsp" target="_blank"&gt;link&lt;/a&gt; você&lt;br /&gt;tem um exemplo correto que abre uma URL para realizar essa leitura, o que é o correto.&lt;br /&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-89101696?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89101696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89101696'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#89101696' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-89084779</id><published>2003-02-14T07:50:00.000-03:00</published><updated>2003-02-14T08:29:09.000-03:00</updated><title type='text'></title><content type='html'>&lt;b&gt;Questões comentadas da prova de WebComponents&lt;/b&gt;&lt;br /&gt;Como o prometido, separei duas questões sobre a certificação de WebComponents. &lt;br /&gt;Foram retiradas do JavaRanch e me pareceram fáceis de acertar, porém, pertinentes &lt;br /&gt;e com grandes chances de ocorrerem similares na prova real:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. A binary output stream is created in a servlet with which method call?&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;          a) request.getOutputStream();&lt;br /&gt;          b) request.getWriter();&lt;br /&gt;          c) response.getWriter();&lt;br /&gt;          d) response.getOutputStream();&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. Question Bank ID : 42     Choose the 1 correct answer  &lt;br /&gt;What is the output of the following code?&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;&amp;#8249;%&lt;br /&gt;   for(int i=0; i&amp;#8249;3; ++i){&lt;br /&gt;%&amp;#8250;&lt;br /&gt;     out.print(i);&lt;br /&gt;&amp;#8249;%&lt;br /&gt;   }&lt;br /&gt;%&amp;#8250;&lt;br /&gt; &lt;br /&gt;          a) 1 2 3&lt;br /&gt;          b) Does not compile&lt;br /&gt;          c) 2 3 4&lt;br /&gt;          d) out.print(i);out.print(i);out.print(i);&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Comentários:&lt;/b&gt;&lt;br /&gt;A primeira questão trata apenas do conhecimento das interfaces &lt;i&gt;HttpServletRequest&lt;/i&gt; &lt;br /&gt;e &lt;i&gt;HttpServletResponse&lt;/i&gt;, desta forma, ao ter estudado estas interfaces você saberia &lt;br /&gt;que na interface &lt;i&gt;HttpServletResponse&lt;/i&gt; existe um método &lt;i&gt;getOutputStream()&lt;/i&gt;.&lt;br /&gt;Já a segunda questão... bem essa se você estiver cansado e ela cair no final, &lt;br /&gt;então você poderá errar. Como se pode ver, a expressão que deveria &lt;br /&gt;imprimir na tela o valor de i está fora do scriptlet, desta forma, é lido como HTML normal.&lt;br /&gt;R: 1. d, 2. d.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-89084779?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89084779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89084779'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#89084779' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-89025758</id><published>2003-02-13T07:52:00.000-03:00</published><updated>2003-02-13T09:03:17.000-03:00</updated><title type='text'></title><content type='html'>&lt;b&gt;Simulado do JavaRanch para a prova de WebComponents&lt;/b&gt;&lt;br /&gt;Para quem vai fazer a prova de WebComponents aí vai um link para o simulado&lt;br /&gt;do JavaRanch. O simulado é bem básico, mas acho que está bom para quem&lt;br /&gt;está começando a estudar para a prova. Inclusive, o endereço da JC é em homenagem&lt;br /&gt;ao JavaRanch (http://mocks.blogspot.com).&lt;br /&gt;&lt;br /&gt;&lt;a href="http://www.javaranch.com/carl/scwcd/scwcd_mock_logo.jsp" target="_blank"&gt;&lt;img src="http://www.javaranch.com/images/cow.gif" border="0"&gt;&lt;br /&gt;&lt;b&gt;Simulado da WebComponents by JavaRanch&lt;/b&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-89025758?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89025758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89025758'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#89025758' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-89025387</id><published>2003-02-13T07:36:00.000-03:00</published><updated>2003-02-14T08:20:55.000-03:00</updated><title type='text'></title><content type='html'>&lt;b&gt;Questões do dia:&lt;/b&gt;&lt;br /&gt;Em breve estarei colocando algumas questões da prova de WebComponents, &lt;br /&gt;afinal, eu também almejo esta certificação! &lt;br /&gt;Mas por enquanto, estou colocando estas da prova de Java Programmer:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;1. Consider the following line of code:&lt;/b&gt;&lt;br /&gt;&lt;pre&gt;	int[] x = new int[25];&lt;/pre&gt;&lt;br /&gt;After execution, which statement or statements are true?&lt;br /&gt;&lt;br /&gt;A) x[24] is 0.&lt;br /&gt;B) x[24] is undefined.&lt;br /&gt;C) x[25] is 0.&lt;br /&gt;D) x[0] is null.&lt;br /&gt;E) x.length is 25.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font size=1&gt;&lt;br /&gt;1. Resposta: A, E&lt;br /&gt;É importante saber que ao construir este array automáticamente ele &lt;br /&gt;é preenchido com 0 em todas as suas posições.&lt;br /&gt;&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;2. Consider the following application: &lt;/b&gt;&lt;br /&gt;&lt;pre&gt;&lt;br /&gt; 1. class Q6 {&lt;br /&gt; 2.   public static void main(String args[]) {&lt;br /&gt; 3.     Holder h = new Holder();&lt;br /&gt; 4.     h.held = 100;&lt;br /&gt; 5.     h.bump(h);&lt;br /&gt; 6.     System.out.println(h.held);&lt;br /&gt; 7.   }&lt;br /&gt; 8. }&lt;br /&gt; 9.&lt;br /&gt;10. class Holder {&lt;br /&gt;11.   public int held;&lt;br /&gt;12.   public void bump(Holder theHolder) {&lt;br /&gt;13.     theHolder.held++;&lt;br /&gt;14.   }&lt;br /&gt;15. }&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;What value is printed out at line 6?&lt;br /&gt;&lt;br /&gt;A) 0&lt;br /&gt;B) 1&lt;br /&gt;C) 100&lt;br /&gt;D) 101&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;font size=1&gt;&lt;br /&gt;2. Resposta: D&lt;br /&gt;Vejamos linha a linha: &lt;br /&gt;	Na linha 3 constrói-se uma instância h da classe Holder. &lt;br /&gt;	Na linha 4 a variável held tem o valor setado para 100.&lt;br /&gt;	Na linha 5 ocorre o mais importante:&lt;br /&gt;	 O método bump é invocado em h passando uma cópia dela&lt;br /&gt;	 mesma para o método. O método bump incrementa a variável&lt;br /&gt;	 held em 1, como foi passada uma referência de h, essa alteração&lt;br /&gt;	 ocorre no objeto h declarado na linha 3.&lt;br /&gt;&lt;/font&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-89025387?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89025387'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/89025387'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#89025387' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-88977203</id><published>2003-02-12T12:53:00.000-03:00</published><updated>2003-02-12T13:44:19.000-03:00</updated><title type='text'></title><content type='html'>&lt;b&gt;Questão do dia&lt;/b&gt;&lt;br /&gt;A seguinte questão foi tirada do site &lt;a href="http://www.acmerocket.com/skinny/" target="_blank"&gt;The Java Skinny&lt;/a&gt; e merece ser analisada:&lt;br /&gt;&lt;br /&gt;         &lt;P&gt;Given the following code:&lt;br /&gt;&lt;br /&gt;&lt;PRE&gt;&lt;FONT SIZE="-1"&gt;import java.util.Date;&lt;br /&gt;      &lt;br /&gt;public class Example {&lt;br /&gt;	public static void main(String args&amp;#91;&amp;#93;) {&lt;br /&gt;		Date d1 = new Date (99, 11, 31);&lt;br /&gt;		Date d2 = new Date (99, 11, 31);&lt;br /&gt;		method(d1, d2);&lt;br /&gt;		System.out.println("d1 is " + d1 &lt;br /&gt;				+ "\nd2 is " + d2);&lt;br /&gt;	}&lt;br /&gt;      &lt;br /&gt;	public static void method(Date d1, Date d2) {&lt;br /&gt;		d2.setYear (100);&lt;br /&gt;		d1 = d2;&lt;br /&gt;	}&lt;br /&gt;}&lt;/FONT&gt;&lt;/PRE&gt;         &lt;br /&gt;         &lt;P&gt;Which one or more of the following correctly describe the&lt;br /&gt;         behavior when this program is compiled and run?&lt;br /&gt;         &lt;br /&gt;         &lt;P&gt;&lt;B&gt;a)&lt;/B&gt; compilation is successful and the output is:&lt;br /&gt;         &lt;br /&gt;         &lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT SIZE="-1"&gt;d1 is Fri December 31 00:00:00 GMT 1999&lt;br /&gt;d2 is Fri December 31 00:00:00 GMT 1999&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;         &lt;br /&gt;         &lt;P&gt;&lt;B&gt;b)&lt;/B&gt; compilation is successful and the output is:&lt;br /&gt;         &lt;br /&gt;         &lt;BLOCKQUOTE&gt;&lt;PRE&gt;&lt;FONT SIZE="-1"&gt;d1 is Fri December 31 00:00:00 GMT 1999&lt;br /&gt;d2 is Sun December 31 00:00:00 GMT 2000&lt;/FONT&gt;&lt;/PRE&gt;&lt;/BLOCKQUOTE&gt;&lt;br /&gt;         &lt;br /&gt;         &lt;P&gt;&lt;B&gt;c)&lt;/B&gt; compilation is successful and the output is:&lt;br /&gt;         &lt;br /&gt;         &lt;PRE&gt;&lt;FONT SIZE="-1"&gt;	d1 is Sun December 31 00:00:00 GMT 2000&lt;br /&gt;	d2 is Sun December 31 00:00:00 GMT 2000&lt;/FONT&gt;&lt;/PRE&gt;&lt;br /&gt;         &lt;br /&gt;         &lt;P&gt;&lt;B&gt;d) &lt;/B&gt;the assignment 'd1 = d2' is rejected by the&lt;br /&gt;         compiler because the Date class cannot overload the operator&lt;br /&gt;         '='.&lt;br /&gt;         &lt;br /&gt;         &lt;P&gt;&lt;B&gt;e)&lt;/B&gt; the expression (d1 is " + d1 + "\nd2 is " + d2)&lt;br /&gt;         is rejected by the compiler because the Date class cannot&lt;br /&gt;         overload the operator '+'.&lt;br /&gt;         &lt;br /&gt;         O mais importante na classe Example ocorre no método. O método main apenas inicializa &lt;br /&gt;         e cria instâncias de java.util.Date() e imprime os resultados.&lt;br /&gt;&lt;br /&gt;         &lt;OL&gt;&lt;br /&gt;            &lt;LI&gt;d2 tem o ano setado para 100 (na verdade 2000). Em seguida a data é armazenada em d2.&lt;/LI&gt;&lt;br /&gt;&lt;br /&gt;            &lt;LI&gt;Objeto d1 aponta para o mesmo valor de d2. Esta é uma mudança somente na referência, não no que está armazenado em d1.&lt;/LI&gt;&lt;br /&gt;         &lt;/OL&gt;&lt;br /&gt; &lt;br /&gt;        &lt;P&gt;A classe compila e executa com sucesso, sem erros de &lt;br /&gt;compilação ou execução assim &lt;B&gt;d)&lt;/B&gt; é falso. &lt;B&gt;e)&lt;/B&gt; é falso porque Java executa &lt;br /&gt;        toString() para qualquer objeto utilizado em um contexto de &lt;br /&gt;        String. toString() é definido em java.lang.Object logo é herdado &lt;br /&gt;        em todas as classes Java. Algumas classes sobrescrevem toString() &lt;br /&gt;        para retornar mais informações sobre si mesmas.&lt;br /&gt;         &lt;br /&gt;        &lt;p&gt;A questão se torna, em saber como uma alteração em objeto através de &lt;br /&gt;        chamada de método afeta o objeto no método chamador. Isso parece óbvio, &lt;br /&gt;        em Java isto pode ser feito, a chamada d2.setYear(100); deve alterar o &lt;br /&gt;        conteúdo em d2 e a alteração deve ser visível para o método chamador. &lt;br /&gt;        Assim o valor de d2 é alterado. Mas o que acontece quando a referência &lt;br /&gt;        ao objeto é alterada em &lt;tt&gt;d1 = d2&lt;/tt&gt;? No método, d1 passa a apontar &lt;br /&gt;        para d2. Assim, o valor do ano para d1 é 2000. A atribuição de d1 é local &lt;br /&gt;        ao &lt;tt&gt;method&lt;/tt&gt;, quando o método retorna, o valor de d1 é perdido e o &lt;br /&gt;        objeto d1 anterior permanece o mesmo.        &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;          A resposta é &lt;B&gt;b)&lt;/B&gt;. &lt;B&gt;a)&lt;/B&gt; é falsa porque sabemos &lt;br /&gt;         que o conteúdo em d2 foi alterado. &lt;B&gt;c)&lt;/B&gt; é falso porque sabemos &lt;br /&gt;         que d1 não foi alterado. Os nomes d1 e d2 foram utilizados em  &lt;TT&gt;main&lt;/TT&gt; &lt;br /&gt;         e &lt;TT&gt;method&lt;/TT&gt; para que fosse mais confuso. Eles são diferentes e são armazenados da pilha em &lt;br /&gt;         lugares diferentes. Os objetos declarados são locais a seus métodos.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-88977203?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88977203'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88977203'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#88977203' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-88967201</id><published>2003-02-12T08:35:00.000-03:00</published><updated>2003-02-14T08:23:48.000-03:00</updated><title type='text'></title><content type='html'>&lt;b&gt;Enterprise JavaBeans ao alcance de todos!&lt;/b&gt;&lt;br /&gt;&lt;img src="http://www.theserverside.com/home/images/RightbarIcons/iconSmall_reviews.gif" border="0"&gt;&lt;br /&gt;&lt;p align="justify"&gt;Se existe algo tão bonito e maravilhoso como os EJB´s porque ainda existem tantos desenvolvedores bons &lt;br /&gt;que tem medo ou não querem aprender? Realmente essa é uma boa questão que merece ser esclarecida. &lt;br /&gt;Recentemente, o DFJUG abriu o curso de introdução ao EJB, sem dúvida uma iniciativa muito importante. &lt;br /&gt;Recomendo o curso e pretendo fazer para que eu possa melhorar meus conhecimentos em EJB. &lt;br /&gt;Para quem quiser saber mais e aprender este interessante componente do J2EE recomendo o livro &lt;i&gt;Tutorial do J2EE&lt;/i&gt;,&lt;br /&gt; o qual li e pude em 3 ou 4 dias aprender o básico sobre Entity e Session Beans. Fiquei impressionado com a qualidade, &lt;br /&gt;didática e com os exemplos do livro. &lt;br /&gt;Recomendo também o site &lt;i&gt;&lt;a href="http://www.theserverside.com" target="_blank"&gt;The ServerSide.com&lt;/a&gt;&lt;/i&gt;, &lt;br /&gt;o qual é meu favorito. Embora pareça muito complexo à primeira vista, é um dos principais sites sobre J2EE do mundo, &lt;br /&gt;com muitos fóruns de discussão, livros para download dentre outras coisas. &lt;br /&gt;Basta se cadastrar e você poderá baixar o maravilhoso &lt;i&gt;Mastering EJB&lt;/i&gt; totalmente de graça! &lt;br /&gt;Se você está cansado daquelas JSP´s e Servlets e quer algo mais no currículo, não deixe de acessar pois vale a pena.&lt;br /&gt;&lt;b&gt;Link recomendado no TheServerSide.com:&lt;/b&gt; procure a discussão sobre &lt;i&gt;Java Data Objects vs. Entity Beans &lt;/i&gt;,&lt;br /&gt; isso ainda vai dar o que falar!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-88967201?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88967201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88967201'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#88967201' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-88966863</id><published>2003-02-12T08:22:00.000-03:00</published><updated>2003-02-12T08:22:16.000-03:00</updated><title type='text'></title><content type='html'>&lt;b&gt;Dica do dia&lt;/b&gt;&lt;br /&gt;Galera encontrei neste &lt;a href="http://www.certy.com/" target="_blank"&gt;site&lt;/a&gt; alguns simulados sobre desenvolvimento Java, EJB´s e JSP em forma de certificação. Me pareceram muito bons porque não consegui completar nenhum com sucesso, o que é algo bom, pois a prova de certificação não é fácil não... De qualquer forma acho que vale a pena entrar e fazer uns testes!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-88966863?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88966863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88966863'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#88966863' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-88905689</id><published>2003-02-11T08:16:00.000-03:00</published><updated>2003-02-11T08:19:19.000-03:00</updated><title type='text'></title><content type='html'>&lt;b&gt;Conteúdo da Prova&lt;/b&gt;&lt;br /&gt;Galera, como o site do DFJUG está desatualizado coloquei o conteúdo da prova o qual copiei do site da Sun, primeiro coloquei o conteúdo de quem vai fazer a &lt;b&gt;prova pela primeira vez&lt;/b&gt;, e a seguir do &lt;b&gt;upgrade&lt;/b&gt;, aí vai:&lt;br /&gt;&lt;br /&gt;&lt;h5&gt;&lt;A NAME="programmer1.4"&gt;&lt;B&gt;SUN CERTIFIED PROGRAMMER FOR JAVA[tm] 2 PLATFORM 1.4 &lt;/B&gt;&lt;/A&gt;&lt;/h5&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;SECTION 1: DECLARATIONS AND ACCESS CONTROL&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Write code that declares, constructs and initializes arrays of any base type using any of the permitted forms both for declaration and for initialization.&lt;br /&gt;&lt;LI&gt;Declare classes, nested classes, methods, instance variables, static variables and automatic (method local) variables making appropriate use of all permitted modifiers (such as public, final, static, abstract, etc.). State the significance of each of these modifiers both singly and in combination and state the effect of package relationships on declared items qualified by these modifiers.&lt;br /&gt;&lt;LI&gt;For a given class, determine if a default constructor will be created and if so state the prototype of that constructor.&lt;br /&gt;&lt;LI&gt;Identify legal return types for any method given the declarations of all related methods in this or parent classes.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;SECTION 2: FLOW CONTROL, ASSERTIONS, AND EXCEPTION HANDLING&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Write code using if and switch statements and identify legal argument types for these statements.&lt;br /&gt;&lt;LI&gt;Write code using all forms of loops including labeled and unlabeled, use of break and continue, and state the values taken by loop counter variables during and after loop execution.&lt;br /&gt;&lt;LI&gt;Write code that makes proper use of exceptions and exception handling clauses (try, catch, finally) and declares methods and overriding methods that throw exceptions.&lt;br /&gt;&lt;LI&gt;Recognize the effect of an exception arising at a specified point in a code fragment. Note: The exception may be a runtime exception, a checked exception, or an error (the code may include try, catch, or finally clauses in any legitimate combination).&lt;br /&gt;&lt;LI&gt;Write code that makes proper use of assertions, and distinguish appropriate from inappropriate uses of assertions.&lt;br /&gt;&lt;LI&gt;Identify correct statements about the assertion mechanism.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;SECTION 3: GARBAGE COLLECTION&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;State the behavior that is guaranteed by the garbage collection system.&lt;br /&gt;&lt;LI&gt;Write code that explicitly makes objects eligible for garbage collection.&lt;br /&gt;&lt;LI&gt;Recognize the point in a piece of source code at which an object becomes eligible for garbage collection.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;SECTION 4: LANGUAGE FUNDAMENTALS&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Identify correctly constructed package declarations, import statements, class declarations (of all forms including inner classes) interface declarations, method declarations (including the main method that is used to start execution of a class), variable declarations, and identifiers.&lt;br /&gt;&lt;LI&gt;Identify classes that correctly implement an interface where that interface is either java.lang.Runnable or a fully specified interface in the question.&lt;br /&gt;&lt;LI&gt;State the correspondence between index values in the argument array passed to a main method and command line arguments.&lt;br /&gt;&lt;LI&gt;Identify all Java programming language keywords. Note: There will not be any questions regarding esoteric distinctions between keywords and manifest constants.&lt;br /&gt;&lt;LI&gt;State the effect of using a variable or array element of any kind when no explicit assignment has been made to it.&lt;br /&gt;&lt;LI&gt;State the range of all primitive formats, data types and declare literal values for String and all primitive types using all permitted formats bases and representations.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;SECTION 5: OPERATORS AND ASSIGNMENTS&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Determine the result of applying any operator (including assignment operators and instance of) to operands of any type class scope or accessibility or any combination of these.&lt;br /&gt;&lt;LI&gt;Determine the result of applying the boolean equals (Object) method to objects of any combination of the classes java.lang.String, java.lang.Boolean and java.lang.Object.&lt;br /&gt;&lt;LI&gt;In an expression involving the operators &amp;amp;, |, &amp;amp;&amp;amp;, || and variables of known values state which operands are evaluated and the value of the expression.&lt;br /&gt;&lt;LI&gt;Determine the effect upon objects and primitive values of passing variables into methods and performing assignments or other modifying operations in that method.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;SECTION 6: OVERLOADING, OVERRIDING, RUNTIME TYPE AND OBJECT ORIENTATION&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;State the benefits of encapsulation in object oriented design and write code that implements tightly encapsulated classes and the relationships &amp;quot;is a&amp;quot; and &amp;quot;has a&amp;quot;.&lt;br /&gt;&lt;LI&gt;Write code to invoke overridden or overloaded methods and parental or overloaded constructors; and describe the effect of invoking these methods.&lt;br /&gt;&lt;LI&gt;Write code to construct instances of any concrete class including normal top level classes and nested classes.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;SECTION 7: THREADS&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Write code to define, instantiate and start new threads using both java.lang.Thread and java.lang.Runnable.&lt;br /&gt;&lt;LI&gt;Recognize conditions that might prevent a thread from executing.&lt;br /&gt;&lt;LI&gt;Write code using synchronized wait, notify and notifyAll to protect against concurrent access problems and to communicate between threads.&lt;br /&gt;&lt;LI&gt;Define the interaction among threads and object locks when executing synchronized wait, notify or notifyAll.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;SECTION 8: FUNDAMENTAL CLASSES IN THE JAVA.LANG PACKAGE&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Write code using the following methods of the java.lang.Math class: abs, ceil, floor, max, min, random, round, sin, cos, tan, sqrt.&lt;br /&gt;&lt;LI&gt;Describe the significance of the immutability of String objects.&lt;br /&gt;&lt;LI&gt;Describe the significance of wrapper classes, including making appropriate selections in the wrapper classes to suit specified behavior requirements, stating the result of executing a fragment of code that includes an instance of one of the wrapper classes, and writing code using the following methods of the wrapper classes (e.g., Integer, Double, etc.):&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt; doubleValue&lt;br /&gt;&lt;LI&gt; floatValue&lt;br /&gt;&lt;LI&gt; intValue&lt;br /&gt;&lt;LI&gt; longValue&lt;br /&gt;&lt;LI&gt; parseXxx&lt;br /&gt;&lt;LI&gt; getXxx&lt;br /&gt;&lt;LI&gt; toString&lt;br /&gt;&lt;LI&gt; toHexString&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;SECTION 9: THE COLLECTIONS FRAMEWORK&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Make appropriate selection of collection classes/interfaces to suit specified behavior requirements.&lt;br /&gt;&lt;LI&gt;Distinguish between correct and incorrect implementations of hashcode methods.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;HR&gt;&lt;br /&gt;&lt;h5&gt;&lt;A NAME="upgrade1.4"&gt;&lt;B&gt;SUN CERTIFIED PROGRAMMER FOR JAVA[tm] 2 PLATFORM 1.4 UPGRADE EXAM&lt;/B&gt;&lt;/A&gt;&lt;/h5&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;Declarations and Access Control&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt; Declare classes, nested classes, methods, instance variables, static variables and automatic (method local) variables making appropriate use of all permitted modifiers (such as public, final, static, abstract, etc.). State the significance of each of these modifiers both singly and in combination and state the effect of package relationships on declared items qualified by these modifiers.&lt;br /&gt;&lt;LI&gt; Identify legal return types for any method given the declarations of all related methods in this or parent classes.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;Flow Control, Assertions, and Exception Handling&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt; Write code using if and switch statements and identify legal argument types for these statements.&lt;br /&gt;&lt;LI&gt;Recognize the effect of an exception arising at a specified point in a code fragment. Note: The exception may be a runtime exception, a checked exception, or an error (the code may include try, catch, or finally clauses in any legitimate combination).&lt;br /&gt;&lt;LI&gt;Write code that makes proper use of assertions, and distinguish appropriate from inappropriate uses of assertions.&lt;br /&gt;&lt;LI&gt;Identify correct statements about the assertion mechanism.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;Garbage Collection&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Recognize the point in a piece of source code at which an object becomes eligible for garbage collection.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;Language Fundamentals&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Identify classes that correctly implement an interface where that interface is either java.lang.Runnable or a fully specified interface in the question.&lt;br /&gt;&lt;LI&gt;State the effect of using a variable or array element of any kind when no explicit assignment has been made to it.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;Operators and Assignments&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Determine the result of applying any operator (including assignment operators and instance of) to operands of any type class scope or accessibility or any combination of these.&lt;br /&gt;&lt;LI&gt;In an expression involving the operators &amp;amp;, |, &amp;amp;&amp;amp;, || and variables of known values state which operands are evaluated and the value of the expression.&lt;br /&gt;&lt;LI&gt;Determine the effect upon objects and primitive values of passing variables into methods and performing assignments or other modifying operations in that method.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;Overloading, Overriding, Runtime Type and Object Orientation&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Write code to invoke overridden or overloaded methods and parental or overloaded constructors; and describe the effect of invoking these methods.&lt;br /&gt;&lt;LI&gt;Write code to construct instances of any concrete class including normal top level classes and nested classes.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;Threads&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Recognize conditions that might prevent a thread from executing.&lt;br /&gt;&lt;LI&gt;Write code using synchronized wait, notify and notifyAll to protect against concurrent access problems and to communicate between threads.&lt;br /&gt;&lt;LI&gt;Define the interaction among threads and object locks when executing synchronized wait, notify or notifyAll.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;P&gt;&lt;B&gt;The Collections Framework&lt;/B&gt;&lt;/P&gt;&lt;br /&gt;&lt;UL&gt;&lt;br /&gt;&lt;LI&gt;Make appropriate selection of collection classes/interfaces to suit specified behavior requirements.&lt;br /&gt;&lt;LI&gt;Distinguish between correct and incorrect implementations of hashcode methods.&lt;br /&gt;&lt;/UL&gt;&lt;br /&gt;&lt;HR&gt;&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-88905689?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88905689'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88905689'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#88905689' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-88905499</id><published>2003-02-11T08:09:00.000-03:00</published><updated>2003-02-11T08:11:14.000-03:00</updated><title type='text'></title><content type='html'>&lt;p&gt;&lt;b&gt;Sobre o curso de certificação do DFJUG&lt;/b&gt;&lt;/p&gt;&lt;br /&gt;Conhecendo a procura existente pelo curso de certificação do DFJUG, sei que todas as vagas já foram preenchidas e aproveito para desejar boa sorte a todos os que estão iniciando o curso. Fiz o curso no Pátio Brasil e gostei muito, acho que o Felipe é muito bem preparado e tem um ótimo humor para ministrar aulas sábado de manhã... não é fácil não. Mas como nem tudo é perfeito, aproveito para fazer uma crítica construtiva e que possa ajudar a melhorar a qualidade do curso:&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Muitos colegas meus que fizeram o curso comigo sentiram falta de mais simulados, principalmente em inglês. Portanto, eu faço essa sugestão ao Felipe, que aumente o número de simulados a serem realizados nesta turma, acho que dessa forma o aproveitamento será melhor, afinal, acredito que todos os alunos já conhecem a linguagem, não quer dizer que não aprenderão nada estudando para a certificação, eu mesmo aprendi muito. Mas o que acontece é que às vezes durante um curso, assuntos não tão importantes ficam em detrimento dos mais relevantes, ocasionando perda de tempo e queda do rendimento. Aproveito para agradecer ao DFJUG, pela iniciativa de seus cursos, sem dúvida, excepcionais e bem organizados.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-88905499?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88905499'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88905499'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#88905499' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-88904915</id><published>2003-02-11T07:45:00.000-03:00</published><updated>2003-02-11T07:52:32.000-03:00</updated><title type='text'></title><content type='html'>Como me pediram para que eu falasse um pouco sobre as questões que caíram no meu teste, selecionei hoje duas questões do site JavaPrepare (link ao lado) muito interessantes e que exigem um pouco de calma na hora da prova:&lt;br /&gt;&lt;p&gt;&lt;b&gt;1. Which declaration of the main method below would allow a class to be started as a standalone program. Select the one correct answer. &lt;/b&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;a. public static int main(char args[]) &lt;br /&gt;b. public static void main(String args[]) &lt;br /&gt;c. public static void MAIN(String args[]) &lt;br /&gt;d. public static void main(String args) &lt;br /&gt;e. public static void main(char args[]) &lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;b&gt;2. What all gets printed when the following code is compiled and run? Select the three correct answers. &lt;/b&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;i&gt;public class xyz {&lt;br /&gt;&amp;nbsp;   public static void main(String args[]) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;      for(int i = 0; i &lt; 2; i++) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;         for(int j = 2; j&gt;= 0; j--) {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            if(i == j) break;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;            System.out.println("i=" + i + " j="+j);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;         }&lt;br /&gt;&amp;nbsp;&amp;nbsp;      }&lt;br /&gt;&amp;nbsp;   }&lt;br /&gt;}&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;a. i=0 j=0 &lt;br /&gt;b. i=0 j=1 &lt;br /&gt;c. i=0 j=2 &lt;br /&gt;d. i=1 j=0 &lt;br /&gt;e. i=1 j=1 &lt;br /&gt;f. i=1 j=2 &lt;br /&gt;g. i=2 j=0 &lt;br /&gt;h. i=2 j=1 &lt;br /&gt;i. i=2 j=2 &lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;font size=1&gt;R: 1.b, 2. b, c, f&lt;/font&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Acho que são duas questões simples de acertar, mas você deve ter muita atenção aos comandos, pode acontecer de cair uma questão em que você deve marcar as incorretas e você passar direto pelo comando e marcar as corretas! Cuidado...&lt;br /&gt;Obs: Nos simulados do JavaPrepare não faça as questões sobre java.awt, java.io, estes assuntos não caem na Java Programmer 1.4!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-88904915?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88904915'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88904915'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#88904915' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-88904776</id><published>2003-02-11T07:39:00.000-03:00</published><updated>2003-02-11T07:39:21.140-03:00</updated><title type='text'></title><content type='html'>Pessoal, no site &lt;b&gt;JavaPrepare&lt;/b&gt;, o qual coloquei um link ao lado, tem algumas questões de simulados muito interessantes sobre a prova de certificação. Além de links, informações e mais uma pancada de coisas. Se você quiser a página oficial da Sun sobre a certificação Java clique no link &lt;b&gt;Sun Certification Page&lt;/b&gt;. Té mais!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-88904776?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88904776'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88904776'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#88904776' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-88904436</id><published>2003-02-11T07:23:00.000-03:00</published><updated>2003-02-11T07:24:39.000-03:00</updated><title type='text'></title><content type='html'>Galera estarei publicando os emails que eu receber apartir de hoje. Desta forma hoje recebi este:&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;i&gt;&lt;br /&gt;Olá Jose Carlos tudo bem?&lt;br&gt;&lt;br /&gt;Recebi a noticia sobre sua aprovação no exame de certificação Sun(Java), gostaria de saber como faço para ter certeza que estou preparado para a prova? qual foi o simulado que vc achou mais parecido com o exame? estas dicas são bem vindas pois pretendo fazer o exame no proximo mês.&lt;br /&gt;&lt;br&gt;&lt;br&gt;&lt;br /&gt;Obrigado!&lt;br&gt;&lt;br /&gt;Oelison sousa&lt;br&gt;&lt;br /&gt;&lt;br /&gt;&lt;/i&gt;&lt;/p&gt;&lt;br /&gt;&lt;br /&gt;Pois é meu caro Oelison... é difícil dizer quando você estará preparado ou não, mas no meu caso eu me considerei preparado quando fiz os simulados do CD da Sybex, você pode conseguir outros simulados igualmente bons na Internet, uns de graça outros nem tanto. O importante é ter confiança, faça muitos simulados, preferencialmente em inglês, estude termos da lingua inglesa que podem enganar como often, frequently etc. Cuidado com as estruturas que você nunca usa na prática mas que caem na prova, como aquelas armações teóricas que vc não usa mas existem. De resto, te desejo boa sorte e seja mais um certificado java na comunidade!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-88904436?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88904436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88904436'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#88904436' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-5039778.post-88903890</id><published>2003-02-11T07:03:00.000-03:00</published><updated>2003-02-11T07:04:45.000-03:00</updated><title type='text'></title><content type='html'>E aí javaneses! Estou montando este blog somente sobre dicas de certificação Java, links e materiais a respeito. Quem tiver interesse em participar também ou então tiver alguma dúvida ou esclarecimento envie um email para &lt;a href="mailto:nightsc@hotmail.com"&gt;nightsc@hotmail.com&lt;/a&gt; e participe!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5039778-88903890?l=mocks.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88903890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/5039778/posts/default/88903890'/><link rel='alternate' type='text/html' href='http://mocks.blogspot.com/2003_02_09_archive.html#88903890' title=''/><author><name>jose</name><uri>http://www.blogger.com/profile/06311507700698785555</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author></entry></feed>
