quinta-feira, 26 de junho de 2008
Downloads do Firefox 3 ao Redor do Mundo
Em Firefox, Brasil bate todos do Bric
Pelo menos em baixação de Firefox o Brasil é melhor que a Índia, a Rússia e a China. Hoje no início da noite, quando o número de downloads do browser se aproximava de 2 milhões, o Brasil já marcava mais de 79 mil.
O resto do Bric estava muito atrás. A Federação Russa registrava pouco mais de 26 mil downloads. A China, pouco mais de 39 mil. A Índia ainda ficava na casa dos 7 mil.
Quem saiu na frente, foram, claro, os americanos: mais de 560 mil, seguidos dos alemães, com 147 mil. As ditaduras, no sentido oposto, ficaram na lanterninha. E ninguém podia ser mais lanterninha que a Coréia do Norte: zero download.
segunda-feira, 23 de junho de 2008
Instalação de Plugins do Eclipse
Eclipse 2.x:
1. Acesse Help?>Software Updates?>Update Manager;
2. Na View Feature Updates, clique com o direito e selecione New?>Site Bookmark;
3. Dê um nome para o site, em tempo, um nome ainda não usado para outros update sites e depois defina a url do site;
4. Expanda o bookmark que foi adicionado e então, navegue pela lista de plugins;
5. Você verá a lista de versões disponiveis para esse plugin, selecione uma versão, geralmente a mais recente e siga os passos da instalação;
6. Reinicie o Eclipse para finalizar a instalação do plugin.
Eclipse 3.x
1. Acesse Help?>Software Updates?>Find and Install;
2. Selecione Search for new features to install;
3. Clique em Add Update Site;
4. Dê um nome para o site, em tempo, um nome ainda não usado para outros update sites e depois defina a url do site;
5. Expanda o bookmark que foi adicionado e então, navegue pela lista de plugins;
6. Você verá a lista de versões disponiveis para esse plugin, selecione uma versão, geralmente a mais recente e siga os passos da instalação;
7. Reinicie o Eclipse para finalizar a instalação do plugin.
Plugins Interessantes:
JBoss IDE: Este plugin permite iniciar a finalizar servidores, debugar codigo no
lado servidor (server side), realizar deploy de aplicações dentre outras. Ainda
prove suporte para geração de codigo via XDoclet e é mantido pelo JBoss Inc.
Update Site: http://jboss.sourceforge.net/jbosside/updates
Azzurri Plugins: Plugins para desenvolvimento voltado a banco de dados. Dentre os
plugins free estão o Clay - Database Modeling.
Update Site: http://www.azzurri.jp/eclipse/plugins
Velocity UI for Eclipse: Plugin para edição de Templates do Velocity
Update Site: http://veloedit.sourceforge.net/updates/
Hibernate Synchronizer: Hibernate Synchronizer é um plugin para geração de codigo
usado em conjunto com Hibernate, um framework para persistencia de dados. O
plugin gera codigo automaticamente baseado nos arquivos de mapeamento do
Hibernate e refaz a geração quando os mapeamentos são alterados.
Update Site: http://www.binamics.com/hibernatesync
HiberEclipse: HiberClipse é um plugin que gera os arquivos de mapeamento do
Hibernate a partir de uma conexão com o banco de dados e ainda forcene
integração com ferramentas do Hibernate como class2hbm, hbm2java e ddl2hbm.
Update Site: http://hiberclipse.sourceforge.net/siteupdate
Spring IDE for Eclipse: Este projeto fornece um conjunto de plugins para facilitar o
trabalho com a configuração dos arquivos para os Bean Factory do Spring
Framework.
Update Site: http://springframework.sourceforge.net/spring-ide/eclipse/updatesite/
Plug-in: Astom Wizzards
WebSite: renaud91.free.fr/Plugins/index_en.html
Descrição: o Astom Wizzards fornece assistentes para a criação de Servlets, páginas
JSP e Pattern(s)
Update Site: http://renaud91.free.fr/Plugins
Plug-in: WebApp
WebSite: blueskytime.sourceforge.net
Descrição: O WebApp cuida de configurar um ambiente para a execução e depuração do
seu container web preferido, além de fornecer uma estrutura de projeto
adequada a uma aplicação web (um pacote WAR)
Update Site: http://blueskytime.sourceforge.net/eclipse/updates/
Plug-in: DAO
WebSite: www.strecl.com
Descrição: fornece geração automatizada de classes segundo o pattern DAO (Data
Access Object).
Plug-in: Lomboz
WebSite: www.objectlearn.com
Descrição: Execução de containers web, modelos para projetos e componentes de
aplicações web, editores especializados para JSP (incluido recurso de auto
completar), HTML e ainda mais, incluindo recursos para o desenvolvimento de EJBs
centrado no XDoclet.
Plug-in: JFaceDbc
WebSite: http://jfacedbc.sourceforge.net
Descrição: Permite que você veja a estrutura e índices de bases de dados e execute
comandos do SQL, etc..
Plug-in: SuperWaba IDE
WebSite: http://superwaba-ide.sf.net
Descrição: Estende JDT, a fim fornecer uma sustentação melhor para o desenvolvimento
da aplicação de SuperWaba VM
Udate Site: http://superwaba-ide.sourceforge.net/update
Plug-in: VEP (Visual Editor Project)
Arquivo: VE-runtime-0.5.0.zip & VE-examples-0.5.0.zip
WebSite: http://www.eclipse.org/vep/
Descrição: Estrutura para criar construtores do GUI para Eclipse. Inclui
implementações de referência de Swing/JFC e construtores do SWT GUI
Requer: EMF (http://www.eclipse.org/emf/) & GEF (http://www.eclipse.org/gef/)
Plug-in: Easy Struts
Arquivo: org.easystruts.eclipse_0.6.4.zip
WebSite: http://easystruts.sourceforge.net/
Descrição: Manipulação visual do arquivos struts-config.xml
Update Site: http://easystruts.sourceforge.net/eclipse/updates/
Arquivo: xmlbuddy_2.0.5.zip
WebSite: http://www.xmlbuddy.com
Descrição: suporta a highcolor, assistente de codigo, exibição de linha e validação
Arquivo: eclipseuml-installer_1.2.1.20031103.jar
WebSite: http://www.omondo.com
Descrição: Manipulação visual de UML incluindo engenharia reversa
Preclipse: O Preclipse é um plugin para desenvolvimento de aplicações utilizando o
Prevayler. Facilita na criação de classes Transaction e Dados.
Update Site: http://www.preclipse.de/update
AJDT: O AspectJ Development Tools é um plugin para programação orientada a aspectos
baseado no framework AspectJ
Update Site: http://download.eclipse.org/technology/ajdt/30M8/update
ByeCycle - Analisador de código: http://priki.org/svn/byecycle/trunk/updatesite
Subclipse - Para Subversion: http://subclipse.tigris.org/update
EclipseME - http://eclipseme.org/updates/
Site Oficial dos plugins do eclipse
http://eclipse-plugins.2y.net/eclipse/index.jsp
Lembrando que, para baixar os plugins pode ser necessário configurar o proxy.
Configure em: Window -> Preferences
General -> Network Connections
Manual proxy configurator
HTTP proxy host address (o endereço de seu proxy)
HTTP proxy host port (porta do seu proxy)
domingo, 22 de junho de 2008
New Mozilla Firefox 3
New Features
Firefox 3 sets the innovation bar very high with exciting new features, including one-click bookmarking, the smart location bar and lightning fast performance.
Security
Keeping you and your personal information safe is our top priority. Firefox 3 includes phishing and malware protection, plus new instant site ID info.
Productivity
With features like built-in spell checking, session restore and full zoom, Firefox 3 makes it possible to work faster and more efficiently on the Web.
Customization
Your taste and needs set you apart from the rest. With Firefox 3 you can choose from over 5,000 add-ons that help you customize your browsing experience.
Mozilla released Firefox® 3, a major update to its popular and acclaimed free, open source Web browser. Firefox 3 is the culmination of three years of efforts from thousands of developers, security experts, localization and support communities, and testers from around the globe.
Available today in approximately 50 languages, Firefox 3 is two to three times faster than its predecessor and offers more than 15,000 improvements, including the revolutionary smart location bar, malware protection, and extensive under the hood work to improve the speed and performance of the browser.
“We’re really proud of Firefox 3 and it just shows what a committed, energized global community can do when they work together,” said John Lilly, CEO of Mozilla.
What’s New in Firefox 3:
The Web is all about innovation, and Firefox 3 sets the pace with dozens of new features to deliver a faster, more secure and customizable Web browsing experience for all.
User Experience. The enhancements to Firefox 3 provide the best possible browsing experience on the Web. The new Firefox 3 smart location bar, affectionately known as the “Awesome Bar,” learns as people use it, adapting to user preferences and offering better fitting matches over time. The Firefox 3 Library archives browsing history, bookmarks, and tags, where they can be easily searched and organized. One-click bookmarking and tagging make it easy to remember, search and organize Web sites. The new full-page zoom displays any part of a Web page, up close and readable, in seconds.
Performance. Firefox 3 is built on top of the powerful new Gecko 1.9 platform, resulting in a safer, easier to use and more personal product. Firefox 3 now uses less memory while it’s running, and its redesigned page rendering and layout engine means users see Web pages two to three times faster than Firefox 2.
Security. Firefox 3 raises the bar for security. The new malware and phishing protection helps protect from viruses, worms, trojans and spyware to keep people safe on the Web. Firefox 3’s one-click site ID information allows users to verify that a site is what it claims to be. Mozilla’s open source process leverages the experience of thousands of security experts around the globe.
Customization. Everyone uses the Web differently, and Firefox 3 lets users customize their browser with more than 5,000 add-ons. Firefox Add-ons allow users to manage tasks like participating in online auctions, uploading digital photos, seeing the weather forecasts, and listening to music, all from the convenience of the browser. The new Add-ons Manager helps users to find and install add-ons directly from the browser.
For more information about Mozilla Firefox 3 and how it delivers an easier, faster, and safer online experience, visit http://www.mozilla.com/firefox/features.
Mozilla Firefox 3 is available now for Windows, Linux, and Mac OS X operating systems as a free download from http://www.getfirefox.com/.
The release of Firefox 3 kicks off Download Day, the Mozilla community’s grassroots campaign to set a brand new Guinness World Record for the greatest number of software downloads in 24 hours. The worldwide community effort begins the minute Firefox 3 is released and will continue for a full day. For more information, please visit http://www.spreadfirefox.com/worldrecord/.
Source: Mozilla.org
quinta-feira, 19 de junho de 2008
Code Generator Wizard for Eclipse Plug-in
Code Generator Wizard Guide for Eclipse Plug-in
This document explains the usage of this code generator plug-in for
Eclipse. In other words, this document will guide you through the operations
of generating a WSDL file from a Java class and/or generating a Java class
file from a WSDL file.
Introduction
The Axis2 code generator comes built-in with an Eclipse plug-in. This plug-in can be used
to generate a WSDL file from a java class (Java2WSDL) and/or a java class
file from a WSDL (WSDL2Java). First you need to install the plug-in. The
instructions for the installation process are given below.
Installation
One can easily download the plugin
If one needs to build the plug-in from source, Maven2 and Ant builds arevailabe.
Please refer the readme.txt located at module/tools on Axis2 source.
Once you've obtained the plug-in just unzip the content of the plug-in
archive to the Eclipse plug-in directory (if it is the zipped-binary version)
or copy the necessary folders to the Eclipse plug-in directory and restart
Eclipse.
NOTE : This plug-in works on Eclipse version 3.1 and
upwards, also the java version should be 1.4 or higher. The provided screen shots
may slightly differ with what the user would actually see but the functionality
has not been changed.
Operation - WSDL2Java
If the plug-in is properly installed you should see a new wizard under the
"New" section.(use the File -> New -> Other or Ctrl + N )
Selecting the wizard and pressing the "Next" button will start the code
generator wizard. Following is the first wizard page.
Page 1:
Selecting the "Generate Java source code from WSDL file" option and
clicking "Next" leads to the following page.
WSDL2Java Page 2 :
To move on to the next page the WSDL file location must be given. The
"Browse" button can be used to easily browse for a file rather than typing the
whole path.
WSDL2Java Page 3 :
Once the WSDL file is selected, the next page will take you to the page
from where codegen options are to be selected. By far this
is the most important page in this wizard. This page determines the
characteristics of the code being generated.
Novices need not worry about these options since the most common options
are defaulted, but advanced users will find it very easy to turn the knobs
using these options.
What advanced users can do is select custom from the select codegen options
drop down list and then change/edit the fields that you need.
Once the options are selected, only the final step of the code generation
is left which is the selection of the output file location.
WSDL2Java Page 4 :
Here you can select the output file path by typing or browsing using the
"Browse" button. You have the option of browsing only eclipse workspace projects by
selecting the "Add the source to a project on current eclipse workspace" radio button.
Or else you have the option to save the codegen resutls to file system
Here also you have the option to add some value to the codegen results.
If you have enabled the check box "Add Axis2 libraries to the codegen result project"
then all other controls below will get enabled. What you can do is point the downloaded
Axis2_HOME location via the "Browse" button. Then you can verify the availability of the Axis2
libs by clicking on the "Check Libs" button. If all goes well then you can add the axis 2 libs
to the codegen results location. Another option is available to generate a jar file if the user
needs to add the codegen results to a project as a compiled jar file to the selected locations
lib directory.
When the output file location is selected, the "Finish" button will be
enabled. Clicking the "Finish" button will generate the code and a message box
will pop up acknowledging the success. Well Done! You've successfully
completed Axis2 code generation.
Operation - Java2WSDL
Page 1:
For this operation you need to select the option which says "Generate a
WSDL from a Java source file"
Then click the "Next" button which will lead to the next page below.
Java2WSDL Page 2:
In this page one needs to select the class to be exposed and the relevant
jar files /classes to be loaded as the classpath. After the libraries have
been set, the "Test Class Loading" button must be clicked in order to test
whether the class is loadable. Unless the class loading is successful
proceeding to the "Next" button will not be enabled.
Once the classloading is successful and "Next" button is clicked the page
below will appear.
Java2WSDL Page 3:
This page allows the parameters to be modified by setting the options for
the generator.
Java2WSDL Page 4:
Here you can select the output file path by typing or browsing using the
"Browse" button. You have the option of browsing only Eclipse workspace projects by
selecting the "Add the source to a project on current eclipse workspace" radio button
. Or else you have the option to save the codegen resutls to file system. Once the
output file location and the output WSDL file name is added you can click the "Finish"
button to complete generation.
If a message box pops up acknowledging the success, then you've
successfully completed the Java2WSDL code generation.
Source: Apache
quinta-feira, 12 de junho de 2008
Web Service Security implemented with some clicks
- Sun Java System Access Manager 7.1
- Policy Agent 2.2
The use of NetBeans + GlassFish can be a good option for fast and secure development.
This link http://frsun.downloads.edgesuite.net/sun/07B00859/web_service_security.htm opens a movie showing how can be easy implement security resources such as Username Token using NetBeans.
sábado, 7 de junho de 2008
What's New in Internet Explorer 8
What's New in Internet Explorer 8
Note: This documentation is about the platform features of Internet Explorer 8 Beta 1.
Accessibility
In response to the increase in user interface (UI) complexity on the Web, the Web Accessibility Initiative group has defined a roadmap for Accessible Rich Internet Applications (ARIA), which introduces ways for Web site authors to define how custom UI elements are accessed. ARIA accomplishes this by defining a set of HTML attributes that map back to common UI controls. As a result, users with disabilities can access Web sites with a rich interaction model. By exposing ARIA through the Microsoft Active Accessibility API in Internet Explorer 8, assistive technologies that already use Active Accessibility can also support ARIA easily.
The alt attribute is no longer displayed as the image tooltip when the browser is running in IE8 mode. Instead, the target of the longDesc attribute is used as the tooltip if present; otherwise, the title is displayed. The alt attribute is still used as the Active Accessibility name, and the title attribute is used as the fallback name only if alt is not present.
For more information, see What's New for Accessibility in Internet Explorer 8.
ActiveX Improvements
Internet Explorer 8 offers greater control over who can install Microsoft ActiveX controls and on which sites they are allowed to run.
Per-site ActiveX
Nearly half of all ActiveX controls meant to run on only one site do not use any form of site-locking technology. This means that many controls are not secure by default and could be misused by malicious Web sites. To prevent this in Internet Explorer 8, users can decide whether to allow ActiveX controls to run on a site-by-site basis.
Non-administrator installation
Standard users (those without administrator privileges) can install ActiveX controls to their user profiles without a UAC prompt or administrator involvment of any kind. In the event that a user does install a malicious ActiveX control, only the user profile is affected; however, the system itself is not compromised.
Activities and WebSlices
Because the Internet has become increasingly interactive, Internet Explorer 8 makes it easier to interact with and subscribe to content on a Web page.
Activities are a form of browser extension that acts on user-selected content by sending the information to a service of the user's choosing. Services can perform actions on the content (such as "email" or "bookmark") or provide more information ("translate" or "map"). Users can install and access their own activities from the browser context menu, making their browsing experience more efficient.
For more information, see Activities in Internet Explorer 8.
WebSlice enables users to subscribe to specially marked content on a Web page. When the content changes, the user receives a notification on the Favorites Bar. A WebSlice can be previewed without an additional navigation.
See also, Subscribing to Content with WebSlice.
AJAX Enhancements
Asynchronous JavaScript and XML (AJAX) is changing the way Web applications are built. Internet Explorer 8 brings new functionality to the XMLHttpRequest object that enables AJAX applications.
AJAX Navigation — Client requests that do not trigger traditional page navigation can now update the hash property, which allows the Back button to function appropriately.
Connection Events — Where reliability is of top concern, AJAX applications can exit gracefully if the call is canceled or times out.
Cross-domain Request (XDR) — To address the limitations of existing mashup development, Internet Explorer 8 introduces the XDomainRequest object to allow restricted and secure communication between untrusted modules in the page. The browser shields the user from potential threats while allowing powerful cross-site interaction.
Cross-document messaging — Documents in different domains can securely exchange data using postMessage.
More Connections — Internet Explorer 8 raises the number of connections per host by default, for a potential drop in page load times and increased parallelism in AJAX scenarios.
For more information, see:
XMLHttpRequest Enhancements in Internet Explorer 8
Connectivity Enhancements in Internet Explorer 8
CSS Compliance
Internet Explorer 8 is the most CSS-compliant release yet. Here are some highlights.
Data URI — This mechanism allows a Web page author to embed small entities directly within a Uniform Resource Identifier (URI), rather than using the URI to identify a location from which to retrieve the entity. This is primarily of interest for small images (such as a bullet) used within CSS or layout.
New Pseudo-classes — The following are new to Internet Explorer 8:
:before and :after— In conjunction with the new content rule, authors can describe dynamic content to appear before and after elements in the document tree.
:focus— This pseudo-class applies while an element has input focus.
outline — Enables elements to be highlighted without affecting their size. The outline is a shorthand property for outline-color, outline-style, and outline-width.
Printing — The following properties have been added:
page-break-inside
widows
orphans
Table Layouts — For many years, tables were the preferred layout mechanism on the Internet. With Internet Explorer 8, it is now possible to apply table-style formatting to non-table elements using the display attribute. In practice, CSS tables are more permissive than HTML markup; tables created with CSS rules will nest elements to become valid, whereas tables created with HTML will close containers to avoid unexpected nesting.
For the complete list, see CSS Improvements in Internet Explorer 8.
Internet Explorer 8 enhanced Developer Tools expose the internal representation of Web pages to help research and resolve problems involving HTML, Cascading Style Sheets (CSS), and script.
CSS Tool — Display various rules defined by style sheets loaded by your Web page.
Script Debugging — The built-in lightweight debugger lets you set breakpoints and step through client-side script without leaving Internet Explorer.
Version Mode Switching — Switch into different browser modes to test content for standards compliance.
For more information, see:
Discovering the Internet Explorer 8 Developer Tools
Developer Tools: Script Debugging Overview
Document Compatibility Mode
Internet Explorer 8 has made deliberate investments in a new layout engine with full CSS 2.1, strong HTML 5 support, and interoperability fixes for the Document Object Model (DOM). The highest level of standards support is on by default for sites that specify a strict !DOCTYPE. Website authors can select IE7 mode rendering in Internet Explorer 8 with the following meta tag: meta equiv="X-UA-Compatible" content="IE=7"
Copy Code < meta content="IE=" equiv="X-UA-Compatible" >
For more information, see Defining Document Compatibility.
DOM Storage
Storing web application data within a local cache opens up new possibilities for a future class of Web applications by storing and loading user data directly on a user's hard drive. The future of AJAX will extend its reach beyond client/server interactions and into local data storage addressed from any Web page and interpreted by the client Web browser. A Web application can write to local storage when disconnected from the Internet and synchronize local changes when an active Internet connection returns. A scriptable online/offline connectivity event fires on connection status change and will be available to all pages.
See also, Introduction to DOM Storage.
HTML Improvements
The new HTML 4.01 implementation is now much more interoperable. These improvements include:
The object tag image fallback is interoperable with other browsers. For example, an object tag without dimensions is now the same size as the image instead of 0 x 0 pixels.
The button element submits its value attribute instead of its innerHTML, which means you can use the button element for cross-browser FORM scenarios.
The getElementById method is now case-sensitive, and it no longer incorrectly searches using the NAME attribute.
The setAttribute method is now case-insensitive; you do not need to use "camel case" (for example, "camelCaseWord") to specify attributes. It also correctly identifies HTML attributes such as CLASS and FOR.
For a complete list, see HTML Enhancements in Internet Explorer 8.
Protected Mode Cookies
Protected Mode restricts file writes to low integrity locations, including cookies. In Internet Explorer 8, medium-integrity applications can access low integrity cookies without user interaction by using IEGetProtectedModeCookie and IESetProtectedModeCookie. As always, applications that use cookies downloaded from the Internet should assume these cookies contain malicious data.
Selectors API
Use the power of CSS selectors to rapidly locate DOM elements. The API introduces two methods, selectElement and selectAllElements, that take a selector (or group of selectors) and return the matching DOM elements. With these methods, it is easier to match a set of element nodes based on specific criteria. The Selectors API provides significantly faster performance over non-native implementations.
For more information, see Selecting Objects with JavaScript.
Tab Isolation and Concurrency
In Internet Explorer 8, the browser frame is "loosely coupled" with the tabs inside it. This means that pages that use Protected Mode and those that don't may be hosted within the same instance of the browser. Additionally, glitches and hangs don't bring down the entire browser, thereby ensuring that poorly written extensions do not significantly impact the performance or reliability of Internet Explorer 8.
Source: Microsoft