Mensagens enviadas por: David
Índice dos Fóruns » Perfil de David » Mensagens enviadas por David
Autor Mensagem

- FileMagnet (Envio/recebimento e visualização de arquivos)
- Texas Hold'em (Jogo de Pôquer)
- Enigmo (Jogo)
- Spore Origins (Jogo)
- Real Football 2009 (Jogo)
- Star Wars - The Force Unleashed (Jogo)
- Air Sharing (Compartilhamento de Arquivos)
- Asphalt 4 (Jogo de Corrida)
- Brasil Flex (Cálcula se vale mais a pena colocar álcool ou gasolina em carros flex)
- IM+ (Instant Messenger)
- EarthScape (Google Earth)
O correto é com.mysql.jdbc.Driver, e não com.myQSL.jdbc.Driver.
Bani, aqui funcionou normalmente...

Edit: Não tinha visto o update.

A SpringSource revisou a sua política de manutenção. Ela irá continuar distribuindo os binários de suas versões mesmo após três meses do lançamento de uma "major version".

Alguns pontos importantes:

Rod Johnson wrote:
However, some in the community expressed concern about the fact that after 3 months tags would not be available in the repository. They worried about the risk of an extended window between binary releases available to the community, when the absence of tags might make it hard to access bug fixes.
[...]
We are amending our maintenance policy in the light of community feedback. We will make regular binary releases from the Spring trunk available to the community, with no 3 month window. For each version of Spring, community releases will be available while it remains the trunk or until the next version is stable.
[...]
As an example, Spring 2.5.x remains the trunk, so under this policy amendment we will be releasing Spring 2.5.6 to the community very shortly. Spring 3.0M1 will be released shortly afterward and the trunk will be for 3.0 development. Once we release Spring 3.0 RC1 we will no longer provide tags or releases for the 2.5.x branch. We will focus on 3.0 development so that we can release 3.0 as soon as possible after the first milestone.


Maiores detalhes em: http://blog.springsource.com/2008/10/07/a-question-of-balance-tuning-the-maintenance-policy/
Jair Rillo Junior wrote:Mas então, pelo que eu vi no seu exemplo, você ainda precisa usar duas annotations para isso funcionar, correto? (Não conheço Spring MVC)

É, elas são necessárias. A convenção ai seria usar o nome da classe e do método como padrões para a url, já que é possível fazer coisas como @Controller("outroNome") e @RequestMapping("outroNome"). O Spring utiliza um classpath scanner para buscar beans, e os que possuem a anotação @Controller são expostos via HTTP. O @RequestMapping seria para você poder ter métodos que são expostos e outros que não são. Mas o Spring é bem personalizável (customizável?), de forma que é possível você alterar o comportamento padrão e utilizar esse tipo de convenção sem precisar das anotações.
Jair Rillo Junior wrote:Faz tempo que não vejo o VRaptor, mas no Rails é assim: Se você chama a seguinte URL: http://suaaplicacao/clientes/cadastro, o Rails irá chamar a Action ClientesAction e o método cadastro, sem XML ou Annotation para mapear essa Action/método. Bem mais simples né?

Na verdade seria ClientesController, e não ClientesAction. O Spring MVC também tem algo parecido:

A URL /clientes/cadastro chama o método cadastro() de ClientesController. Mais informações: http://blog.springsource.com/2007/11/14/annotated-web-mvc-controllers-in-spring-25/
ricardo.ekm wrote:Se encontrar um bug fora dos 3 meses, a correção sairá na próxima versão grande que sempre é disponibilizada para a comunidade.
Ex. Bug na 2.5.1, corrigido 2.5.2 (só enterprise) e também liberada na 3.0 (comunidade).

Mas, como disse o Craig Walls no post que eu citei acima, nada te impede de baixar os fontes e compilar a versão 2.5.2. Para saber como fazer o build do Spring, ver aqui: http://www.jroller.com/habuma/entry/building_spring_from_the_source


First, I've seen several people refer to this as a change in Spring's licensing. That's simply not true. Spring will continue to be available under the same licenses as before (Apache License 2.0 for most of the Spring portfolio and GPL for SpringSource dm Server). This change only refers to the maintenance policy, and specifically to binary builds.

My understanding of the new policy (confirmed with SpringSource) is that it means no more binary downloads of maintenance releases of Spring projects after 3 months following a major release, unless you're a SpringSource Enterprise customer. That's it.

Spring has been, still is, and shall continue to be open-source--with emphasis on "source". The license did not change. SpringSource will continue to resolve bugs and place those fixes in the public source code repositories. And, as a member of open-source society, you'll still be able to check that code out and build it yourself.

SpringSource, however, will no longer be obligated to provide binary builds or any other form of support after 3 months following the major release that those changes were applied to. Come to think of it, I'm not sure that they ever really were obligated to do so--but they did so anyway because they're nice folks and that's what seems to be expected of them.


Leia completo em: http://www.jroller.com/habuma/entry/what_the_new_springsource_maintenance
Faltou também colocar as chaves no if e no else...
Mesmo quando eu usava PC eu não usava teclado com Ç. Nunca gostei.

Tenho um Macbook Pro há dois anos e estou imensamente satisfeito com ele. Aliás, não conheço nenhuma pessoa que comprou um Mac e não ficou satisfeito. Aqui no trabalho, depois que eu comprei, 5 pessoas já mudaram pra Mac e estão adorando.
Luiz Aguiar wrote:option+c = ç

' + c também.

Tiago, use o javac e o java que vêm no arquivo disponibilizado pelo Neal Gafter.

Do blog de Neal Gafter:

I'm pleased to announce that the Java Closures prototype now supports all of the features of its specification!

The complete source code, released under GPLv2, is in the project's openjdk repository. A binary build, suitable for use with an existing JDK6, is at http://www.javac.info/closures.tar.gz. Other related documents are on the website http://www.javac.info/.

------

Mais informações em: http://gafter.blogspot.com/2008/08/java-closures-prototype-feature.html
E para quem quiser conhecer um pouco mais da proposta de closures: http://www.parleys.com/display/PARLEYS/Home#talk=2097237;;slide=1

Baixei o protótipo e brinquei um pouquinho...
Saída: 3

Saída: [0, 2, 4, 6, 8, 10]
Bani wrote:- Leopard: vem com Java 5 por default, não sei se alguém aqui tem experiência de tentar colocar Java 6 nele

http://developer.apple.com/java/
"Java for Mac OS X 10.5, Update 1 is now available via Software Update. This update adds Java SE 6 version 1.6.0_05 to 64-bit Intel Macs."

davidpadilha wrote:tenho duvidas se vou ter que fazer malabarismos pra instalar o jboss, eclipse e tal

Tem nem o que fazer... Baixa, descompacta e executa.
 
Índice dos Fóruns » Perfil de David » Mensagens enviadas por David
Ir para:   
Powered by JForum 2.1.8 © JForum Team