San Francisco (InfoWorld) - SAN FRANCISCO -- Demonstrating a perhaps
more aggressive path than anticipated, Sun Microsystems is set to
announce the open-sourcing of the core Java platform within 30 to 60
days, Sun President and CEO Jonathan Schwartz said at the Oracle
OpenWorld conference on Wednesday morning....
http://news.yahoo.com/s/infoworld/20061025/tc_infoworld/83138
Parece que a Sun continua forte com sua iniciativa de tornar open source vários de seus produtos, recentemente foi criado o projeto Open Portal (https://portal.dev.java.net/), podemos esperar muito por vir.
Espaço
- Space
Observatório da Imprensa 20 Abril 2006
|
Observatório
da Imprensa
|
ASTRONAUTA
BRASILEIRO
O jornalismo e o pé de feijão
Júlio
Ottoboni (*)
A
ida do astronauta Marcos Pontes até a Estação
Espacial Internacional trouxe mais uma vez à baila
a imaturidade com que tratamos os assuntos científicos
no país. A maioria das coberturas, alimentadas
por fontes oficiais, abusaram do ufanismo. Um nacionalismo
exacerbado, que mais lembrava o integralismo de Plínio
Salgado e seu "anauê" do que um trabalho
jornalístico crítico e com algum esboço
de isenção. O fato de um brasileiro ir ao
espaço, além de alimentar o marketing político
esgarçado do governo federal, trouxe o que há
de pior em nossa formação: o eterno complexo
de inferioridade e a necessidade ilimitada de auto-afirmação
como povo.
O
primeiro tranco para atravancar as empresas de comunicação
interessadas na cobertura veio dos russos. Para participar
da entrevista coletiva, cobrariam 2,5 mil dólares
de cada órgão de imprensa e raríssimos
foram os que desembolsaram essa soma, inspirada na nova
visão capitalista da antiga União Soviética.
Então a saída seria apelar para a crítica
barata, o lugar-comum, ou buscar reverter a sina de eternos
Macunaímas. A saída mais fácil foi
resgatar a fórmula de criar celebridades e vestir
o piloto tenente-coronel Marcos Pontes como um herói
nacional.
Compromisso
desdenhado
Enquanto
grande parte da imprensa se fartava em buscar detalhes
da vida pobre do menino de Bauru que chegou literalmente
ao estrelado, a paralisia cerebral deixou de afetar alguns
lúcidos e conscientes de uma bela cobertura jornalística.
Um dos exemplos deste diferencial foi a BBC Brasil. Enquanto
pouquíssimos repórteres e editores percebiam
que o próprio Pontes passou a se autodenominar
"cosmonauta" – exclusividade de quem é
treinados pela Agência Espacial Federal Russa –
foi a agência inglesa que buscou a palavra da Nasa
a respeito do embarque do brasileiro.
Sem
precisar falar textualmente que o governo Lula se aproveitava
deste momento para tomar fôlego das denúncias
que assolam sua administração, a BBC mostrou
que Pontes era tido como um passageiro comercial rumo
a Estação Espacial, algo comum nas atividades
espaciais da Rússia. Numa brilhante apuração,
foi ouvir diretores da Nasa, onde o brasileiro foi treinado,
e mostrou que o motivo da súbita troca de denominação
de astronauta para cosmonauta não era um acaso
ou fruto do momento. Era, na verdade, a abertura de uma
profunda crise entre as agências espaciais do Brasil
e dos Estados Unidos.
A
partir daquele instante, o militar Marcos Pontes era praticamente
banido do quadro de astronautas da Nasa e dava-se como
encerrado um ciclo que mal começara para o Brasil
no circuito das viagens espaciais. Um preço muito
alto, que terá juros altíssimos com o passar
dos anos. Algo incomparável aos 10 milhões
de dólares gastos, principalmente se somados os
descréditos arrebanhados ao longo da década
de 1990 e neste início de século quanto
à falta de compromisso brasileiro em honrar os
acordos internacionais no setor, como o da participação
na construção da Estação Espacial
Internacional.
Olhar
curto
Como
não bastasse perder toda a credibilidade com a
Nasa – onde o astronauta-cosmonauta passou todo seu
período de treinamento e ainda teve que ouvir reclamações
sobre a falta de seriedade do Brasil em cumprir seus acordos
–, a imprensa foi brindada com uma pérola
do presidente da Agência Espacial Brasileira, Sergio
Gaudenzi. Ele veio até os jornalistas e reconheceu
o óbvio ao dizer que realmente inexistia qualquer
ganho científico na ida do brasileiro ao espaço,
mas isto era compensado pela imensa visibilidade dada
ao Programa Nacional de Atividades Espacias (PNAE).
Faltou
ao presidente Gaudenzi complementar seu raciocínio
e dizer, por exemplo, que essa façanha nacional
já tinha sido cumprida satisfatoriamente com a
explosão do Veículo Lançador de Satélites
(VLS), em 2003, e a morte de 21 pessoas. Ali sim se mostrou
ao mundo o nível de excelência de nosso programa
espacial e o tratamento diferenciado que o governo federal
e sua agência espacial davam a esse projeto.
Infelizmente,
ele se esqueceu do ditado popular "não se
esconde o diabo deixando de fora o rabo". Como na
fábula do Joãozinho e o Pé de Feijão,
o garoto sofredor de Bauru, da maneira mais piegas possível,
chegou ao espaço com alguns grãos no bolso.
A historieta do marketing político associado agora
ao tão maltratado setor científico do país
foi à única pedra que os jornalistas encontraram
para atirar contra a vidraça governista. Até
os 10 milhões de dólares gastos, algo insignificante
perto dos mensalões e acordões entre Executivo
e Legislativo, serviram para esse propósito.
Pedras
tinham à vontade, mas só seriam identificadas
num jornalismo de apuração séria,
contextualizada e cuja consciência crítica
estivesse sendo seu norteador. Mas estávamos e
estamos longe disto também. Interessante mesmo
é como nós, os profissionais de imprensa,
nos acostumados a olhar apenas para o que está
a um palmo na frente do nariz. Esquecemos que existe um
horizonte imenso a ser explorado, mas a miopia da mediocridade
nos impossibilita ver mais longe.
Lógica
politiqueira
Para
quem acompanhou a trajetória de Marcos Pontes da
seleção até a finalização
de seu treinamento na Nasa, pode realmente chamá-lo
de herói. Mas somente por razões extremamente
particulares, por inúmeras dificuldades que ele
viveu em sua bem-sucedida passagem pela Agência
Espacial dos Estados Unidos. Suas notas médias
sempre foram bem acima de seus colegas de turma, ele enfrentou
ainda um grave problema familiar no período de
testes e perdeu sua mãe.
Na
tentativa de complicar ainda mais o quadro, um dos dirigentes
da Agência Espacial Brasileira, enciumado com o
destaque de Marcos Pontes, tentou proibir suas vindas
ao Brasil sem comunicação e autorização
prévia dos burocratas de Brasília. Buscaram
cercear o militar brasileiro de todas as maneiras, inclusive
com o corte de verbas de passagens aéreas. Algo
que a imprensa se esqueceu de investigar ou de anexar
ao currículo do novo herói tupiniquim.
Foram
surpreendentes os efeitos positivos desse processo, muito
mais pela interferência e ordenamento caótico
do que pela lógica politiqueira. De repente, milhares
de jovens estudantes começaram a se despertar para
o mundo científico, a ler sobre diversos assuntos
e questionar seus professores sobre o que é espaço,
microgravidade, viagens interplanetárias –
enfim, descobriram o universo a partir dos "feijões
mágicos" germinados no espaço por Marcos
Pontes.
Pelo
menos existe, neste momento, uma geração
que poderá no futuro questionar com mais sabedoria
os rumos dos programas científicos do Brasil.
(*)
Jornalista pós-graduado em jornalismo científico
Estou seriamente pensando em voltar a postar aqui... veremos os resultados.
Implementing Validation Rules using Aspects
by Srini Penchikala 11/08/2005
Two years ago, I worked on a web portal project where we implemented a custom validation framework to validate the data entered by the user. I defined validation rules in XML files and wrote Java code to parse and apply the rules to different data fields on the web pages. One of the limitations of this solution was that we had to add or modify code--on both client and server tiers--whenever we added new fields on the screens that needed data validation or when validation rules changed, per business requirements. If I had to write the validation module again, I would use aspects to dynamically weave validation logic into the application code. With aspects, it would be more flexible to inject validation into any existing code, whether it's on the client, to verify if user entered data is valid, or on the server, where we want to make sure the data is accurate before populating it into database tables.
This article provides an overview of AOP-based data validation implementation in a sample loan processing application. We will look at validation rules for data fields with different validation requirements, which is common in most real-world applications. We will use annotations-based aspects (using AspectJ) to dynamically weave validation rules into existing application code where the data validation is required...
http://today.java.net/pub/a/today/2005/11/08/implementing-validation-rules-with-aspects.html?page=1
With the recent release of Google Talk, the fine chaps at Google entered the Instant Messenging market. The most clever step in that direction was their choice of protocol for their IM solution: XMPP. XMPP was popularized and standardized through the IETF by the Jabber software foundation with its famous open, secure, ad-free alternative to consumer IM services like AIM, ICQ, MSN, and Yahoo (quoted from their site).
A particular benefit of choosing an open platform is that it takes advantage of available client GUIs for instance, and moreover, it can leverage specific and standardized extensions of the XMPP protocol -- called JEPs. The Jabber foundation developed an interesting set of complementary protocol extensions by allowing custom XML payloads to be developed. And there's one JEP of interest for us today: JEP-0009. This JEP defines a method for transporting XML-RPC encoded requests and responses over Jabber/XMPP.
JiveSoftware developed a Jabber library called Smack that you can use to "speak XMPP"! They recently improved this library to support Google Talk pecularities (TLS/SSL connection). With this library, we can also build our own payloads to support JEP-0009 and to programmatically make RPC calls.
Final point to glue everything together: my brilliant friend John Wilson, who wrote the Groovy XML-RPC module, built upon the Smack library and its XML-RPC code to add XML-RPC support through Google talk! Groovy's XML-RPC is particularly easy to use to expose XML-RPC services through some clever use of closures in Groovy. That means it's now possible to do remote procedure calls through Jabber.
After all these presentations, it's high time to hack some code, isn't it? Let's create a simple echo service, which will simply echoes whatever we send to it.
CONTINUA...
Bumper stickers and the future of Java
I often wonder what specific combination of mood and opportunity is required for the average person to choose to place a bumper sticker on his car. In general, I think most people won’t put a bumper sticker on their car unless it says something that really resonates with them – something they really care about. Most of the time we simply overlook them, but once in a while you see one that reaches out, grabs your attention, and makes you think. That’s exactly what happened to me this past weekend when got caught by an intriguing bumper sticker I saw on a car downtown. Then this morning I noticed a blog posting about the Java Community Process (JCP) and remembered that JCP Executive Committee elections are coming up at the end of October. The two are connected. The bumper sticker said, "Ignore your rights, and they'll go away."
I'm sure the sticker was a leftover from the hotly contested election last fall, but I believe the statement would be appropriate almost any time in modern history. Rights are hard to get and easy to lose. As a Java developer you have substantial rights in an important process that guides the evolution of the platform. These rights, like so many others, become most significant when you actually use them, but nearly none of us do. Last year a negligible number of voters (considering the size of the worldwide Java developer population) elected two companies to seats on the JCP Executive Committee. If and when the JCP should ever steer Java in directions that are genuinely unpopular with most developers, then I bet a lot of us will suddenly regret having ignored those rights we have enjoyed for all these years.
Make no mistake, I am not denigrating the hard work of the JCP Executive Committee or any of the numerous JCP expert groups. These dedicated people work hard to formulate quality standards specs, and for the most part this standards work is a thankless job that few of us would personally want to do. The vast majority of Java developers aren’t even willing to go through the minimal steps to register as JCP members for free so they can participate even at the periphery of Java's form of democracy! It’s a rare group indeed that will endure the long, slow job of creating a draft standard and revising it over and over until the majority of interested parties are happy with it. It’s even rarer for someone to do this without the motivation of a corporate agenda and paycheck to keep them going, yet there are developers who do this.
I’m not saying you should strive to be one of those people, but it would be great if more Java developers participated in the Java Community Process. Sun has delivered on its promises to make the JCP open to all of us, so the ball is in our court to show that the community can and will work together to drive the platform’s evolution. You may never wish to sit on a JCP expert committee, but perhaps you could audit the mailing lists of one or two JSRs and comment occasionally if the spirit moves you. The amazing thing about having a community of over 3 million developers is that if a reasonable percentage of us would do a tiny bit to help, then the results could blow away everything that has come before.
Let’s start with humble beginnings, folks. Consider your right to participate in the JCP as both a privilege and an opportunity. Your individual participation and contribution could make all the difference in whether or not a new Java standard is useful. Your vote could be the one that tips the balance and elects the best-suited candidate to the JCP Executive Committee. Last year a company was elected to the EC with only 40 votes, and fewer than 250 votes were cast in the whole election! When I say your vote could make all the difference, I really mean it. But you can’t vote if you don’t register as an individual JCP member, so do it now. It’s free, and even though there is a bit of paperwork to go through I can tell you from personal experience that it’s not very hard to complete. The EC elections are right around the corner, so don’t wait.
Until next time, Rick Ross rick@javalobby.org AIM or Yahoo Messenger: RickRossJL
Veja o que pesa contra cada um dos 18 deputados citados pelas CPIs
da Folha Online
Confira abaixo as acusações que pesam sobre os 18 deputados citados pelas CPIs dos Bingos e do "Mensão", que devem enfrentar processo de cassação por quebra de decoro parlamentar.
| Folha Imagem |
 |
| Deputado Carlos Rodrigues |
Carlos Rodrigues (PL-RJ): Lista repassada à Polícia Federal pelo empresário Marcos Valério Fernandes de Souza mostra que o deputado teria recebido R$ 400 mil. O deputado nega e afirma que não há nenhuma prova documental ou testemunhal que o vincule aos saques.
| Folha Imagem |
 |
| João Magno |
João Magno (PT-MG): Nos documentos do Banco do Brasil recebidos pela CPI, consta pagamento da SMPB no valor de R$ 50 mil para um de seus assessores. Nos documentos do Banco Rural, há quatro pagamentos da SMPB para pessoas próximas ao deputado, ele inclusive. Um assessor recebeu R$ 10 mil, um irmão do deputado obteve outros R$ 25,915 mil, e o próprio deputado recebeu outros dois pagamentos que totalizam R$ 41 mil. Magno admitiu que o dinheiro não contabilizado foi usado para pagar dívidas de sua campanha à Prefeitura de Ipatinga.
| Folha Imagem |
|

|
|
João Paulo Cunha
|
João Paulo Cunha (PT-SP): Marcia Regina Cunha, mulher do ex-presidente da Câmara, sacou da agência do banco Rural em Brasília R$ 50 mil. Inicialmente, ele disse que a mulher havia ido à agência pagar uma conta de TV a cabo. Depois, ele mudou a versão e disse que o dinheiro foi usado para ajudar na campanha do PT em Osasco, no ano passado.
| Folha Imagem |
 |
| José Borba |
José Borba (PMDB-PR): O ex-líder do PMDB na Câmara teria sido beneficiado com R$ 2,1 milhões. Borba nega ter recebido o dinheiro. Ele chegou a confirmar que tratava de nomeações em estatais com Marcos Valério.
|
Folha Imagem |
|

|
| O deputado federal José Dirceu |
José Dirceu (PT-SP): Citado em diversos depoimentos como um dos cabeças do "mensalão". Segundo Roberto Jefferson, Dirceu chefiava as indicações para cargos em estatais com o objetivo de captar recursos para o PT. O deputado nega as acusações e diz que não pode ser cassado porque as acusações são da época em que ele era ministro.
| Folha Imagem |
 |
| José Janene |
José Janene (PP-PR): Aparece como beneficiário de R$ 4,1 milhões que teriam sido sacados pelo assessor João Claudio Genu. Disse que o partido passava por problemas financeiros e que, com parte do dinheiro, o PP pagou um advogado que defenderia um integrante da bancada.
| Folha Imagem |
 |
| José Mentor |
José Mentor (PT-SP): Recebeu, por intermédio de seu escritório de advocacia, R$ 120 mil da 2S Participações, de Marcos Valério. Também em posse da CPI, há uma cópia de um cheque da 2S no valor de R$ 60 mil, também depositado na conta do escritório. É citado na agenda de Fernanda Karina Somaggio, ex-secretária de Valério. Segundo Fernanda, quando o deputado relatava a CPI do Banestado, Marcos Valério destruiu 25 pastas com documentos da SMPB depois de Mentor. O deputado, por sua vez, afirmou que seu escritório prestava serviços para um sócio da 2S.
| Folha Imagem |
 |
| Josias Gomes |
Josias Gomes (PT-BA): Foi pessoalmente ao Banco Rural de Brasília fazer dois saques de R$ 50 mil. Em sua defesa, alegou que usou o recurso para pagar dívidas de sua campanha de 2002.
| Folha Imagem |
 |
| Pedro Corrêa |
Pedro Corrêa (PP-PE): Embora não seja apontado como sacador, Corrêa foi responsabilizado por ser presidente da legenda. Ele admitiu que parte do dinheiro recebido por Janene pagaria advogados em 36 ações penais.
| Folha Imagem |
 |
| Pedro Henry |
Pedro Henry (PP-MT): Apontado pelo deputado Roberto Jefferson como um dos distribuidores do "mensalão". Também teria sido responsável por pressionar o PTB para participar do esquema. O deputado nega as acusações.
| Folha Imagem |
 |
| Professor Luizinho |
Professor Luizinho (PT-SP): Aparece como beneficiário de R$ 20 mil sacados da agência do Banco Rural em São Paulo por um assessor. Em sua defesa, ele alegou que o dinheiro foi usado para o caixa dois de campanhas de vereadores de São Paulo.
| Folha Imagem |
 |
| Roberto Brant |
Roberto Brant (PFL-MG): Na lista de saques da SMPB enviada à CPI, existe um de R$ 102 mil feito por Nestor Francisco de Oliveira, coordenador político da campanha de Brant à Prefeitura de Belo Horizonte em 2004. O assessor confirmou o saque como doação de campanha não contabilizada como uma doação da Usiminas.
| Folha Imagem |
 |
| Roberto Jefferson |
Roberto Jefferson (PTB-RJ): Pivô da crise que o governo Luiz Inácio Lula da Silva atravessa, o deputado Roberto Jefferson (RJ), 51, denunciou, em entrevista publicada pela Folha de S.Paulo, que congressistas aliados recebiam o que chamou de um "mensalão" de R$ 30 mil. Admitiu ter recebido R$ 4 milhões do PT para caixa dois de campanha das mãos de Marcos Valério. Foi citado como o líder do esquema de corrupção nos Correios.
| Folha Imagem |
 |
| Romeu Queiroz |
Romeu Queiroz (PTB-MG): Na lista apresentada por Simone Vasconcelos, diretora financeira da SMPB, o deputado aparece como tendo sacado R$ 350 mil. Queiroz admitiu ter recebido outros R$ 102 mil da Usiminas, que foram intermediados por Marcos Valério. Disse que pegou o dinheiro a pedido do deputado Roberto Jefferson (PTB-RJ).
| Folha Imagem |
 |
| Sandro Mabel |
Sandro Mabel (PL-GO): Acusado pelo deputado Roberto Jefferson de ser um dos operadores do "mensalão" e de ter oferecido R$ 1 milhão de "luvas" mais R$ 30 mil mensais para que a deputada Raquel Teixeira (PSDB-GO) fosse para o PL. Mabel nega as acusações.
| Folha Imagem |
 |
| O deputado Paulo Rocha |
Paulo Rocha (PT-PA): Segundo Marcos Valério, o deputado sacou R$ 920 mil das contas da SMPB. No entanto, documentos em posse da CPI comprovam saques de R$ 420 mil, realizados por Anita Leocádia, sua assessora. Rocha, um dos primeiros do PT a se defender, disse que usou o recurso em caixa dois para pagar dívidas de campanhas realizadas no Pará em 2002.
| Folha Imagem |
 |
| Vadão Gomes |
Vadão Gomes (PP-SP): Foi citado na lista de sacadores apresentada pela gerente administrativa da SMPB, Simone Vasconcelos, à Polícia Federal. Segundo a lista, o deputado teria sacado R$ 3,7 milhões das contas de Marcos Valério. Em sua defesa, o deputado afirmou que autorizou a quebra de seu sigilo bancário e apresentou extratos da conta de um frigorífico de sua propriedade. Também negou que tenha feito negócios com Marcos Valério. Disse ainda que seus assessores não sacaram dinheiro no Banco Rural.
| Folha Imagem |
 |
| Wanderval Santos | Wanderval Santos (PL-SP): Dados do Banco Rural apontam um assessor do deputado como beneficiário de um saque de R$ 150 mil. O deputado argumenta que mandou o motorista no Banco Rural a pedido de deputado Carlos Rodrigues (PL-RJ).
ServiceMix 1.0 Release
We are pleased to announce the 1.0 release of ServiceMix!
ServiceMix is an open source ESB designed from the ground up on JBI (JSR 208) principles, semantics and APIs. ServiceMix includes a complete JBI container including the Normalised Message Service and Router, the JBI Management MBeans support for JBI deployment units and Ant tasks to install components and manage the container.
In addition ServiceMix contains a suite of JBI Components such as
Services:
Orchestration via BPEL, Smart Routing, Transformation, Scripting, Rules, Scheduling and Caching SOAP Bindings:
SAAJ & Apache Axis, WSIF, ActiveSOAP and XFire Transport components:
email, Files, HTTP, JMS, Jabber, RSS and WebDAV ServiceMix includes a fully integrated JCA container for high performance messaging and is fully integrated into Geronimo, Spring and JBoss.
ServiceMix Project
Finalmente depois de 3 chatas semanas de estudo resolvi esta segunda
feira realizar a prova de Certificação do JBuilder, foi emocionante, e
PASSEI!!!!!!!!!!!!!! Foi ótimo, realmente não imaginei que passaria de
prima nesta prova. Sou muito grato a confiança do pessoal da BlueStar
!!!
The AJAX Tag Library is a set of JSP tags that simplify the use of Asynchronous JavaScript
and XML (AJAX) technology in JavaServer Pages.
AJAX is primarily rooted in JavaScript. However, many server-side developers do not have an
extensive knowledge of client-side programming in the browser. It's much easier in some
cases for J2EE developers, especially, to simply add a JSP tag to the page to gain the
function desired.
This tag library fills that need by not forcing J2EE developers to write the necessary
JavaScript to implement an AJAX-capable web form. The tag library provides support for live
form updates for the following use cases: autocomplete based on character input to an input
field, select box population based on selections made from another field, callout or balloon
popups for highlighting content, refreshing form fields, and toggling images and form field
states on/off.
The implementation is a combination of Java classes and JavaScript source files. The Java
code should be OS independent as there are no client side components. However, the Java is
dependent on JDK 1.4+ and requires a Servlet container to run. The JavaScript should run in
at least Firefox 1.0+ and Internet Explorer 5.0+.
To get started, check out the
installation
and
usage
guides.
Last time I talked briefly about lazy associations in Hibernate, and how they
could be applied to minimize unnecessary database requests. We learned how Hibernate
introduces and manages lazy associations, and how you can develop to ensure that
the details of these lazy connections don't trip you up. Today I want to expand on those
ideas, and learn how we can optimize the lazy fetching model. You should read this
previous article:
Hibernate: Understanding Lazy Fetching
, otherwise today's tip won't make a
dollar's worth of sense.
As I mentioned last time, the best bet whenever possible if data is known ahead-of-time
to be necessary is to use joins. Joining across tables (or really in Hibernate's case,
joining across objects) can dramatically improve performance in database selects.
By joining, you can perform one select, as opposed to n+1 to get data from two tables.
For those that aren't familiar, the n+1 selects come from the one select on the
base table, and then one for each joining record in the next table. If you have
ever put any timing on JDBC code, you have probably learned that the bulk of the
time in database access is not, in fact, related to the amount of the data, but
rather the entire processing sequence of preparing and sending the select statement
itself, as well as the database processing each select individually 'in a vacuum'.
Even though using a 'join' will result in the same amount of data being brought back
(assuming all columns are selected), the database only has to parse a single select
statement, and in addition can (potentially) optimize based on the awareness of wanting to select
from multiple tables...
Continua...
 orporations
encounter various scenarios in which they need parallel processing to
achieve high throughput and better response times. For example, various
financial institutions perform reconciliation as batch jobs at the end
of each day. In these cases, a company may need to process millions of
units of work to reconcile its portfolio. These units of work typically
are processed in parallel. This article demonstrates how to accomplish
parallel processing within a J2EE container.
The J2EE design revolves around the request/response paradigm. For
a login request, a user typically provides a user name and password to
the server and waits for a response to get access to the site. A J2EE
container can serve multiple users at the same time (in parallel) by
managing a pool of threads, but for various reasons opening independent
threads within a single J2EE container is not recommended. Some
containers' security managers will not allow user programs to open
threads. Moreover, if some containers allowed opening threads, then
they would not manage those threads and therefore no container-managed
services would be available for the threads. That would leave you to
implement these services manually, which is tedious and liable to add
complexity to your code.
Until recently, performing parallel processing directly within a
managed environment (J2EE container) was not advisable. Thankfully, IBM
and BEA came up with a joint specification that resolves this problem.
This JSR is named "JSR-237: Work Manager for Application Servers".
JSR-237 specifies the Work Manager API, which provides abstraction from
the lower-level APIs that enable an application to access a
container-managed thread. Work Manager API also provides a mechanism to
join various concurrent work items, so an application can
programmatically add the dependency of work completion as a condition
for starting other tasks. This can be useful for implementing workflow
types of application. These features were difficult to implement prior
to Work Manager.
This article discusses this specification and its design, and presents
some code snippets for implementing a concurrent application for a
managed environment. First, it discusses the design of the Work Manager
API and it's key interfaces.
Work Manager Design
The Work Manager API defines Work as a unit of work, which you want to
execute asynchronously. Work is an abstraction of the lower-level
java.lang.Runnable interface. Implementation of the Work interface
requires you to define a run()
method and implement business logic for performing tasks/work in this
method. The Work Manager API has six key interfaces for implementation:
- WorkManager
- Work
- WorkListener
- WorkItem
- RemoteWorkItem
- WorkEvent
Figure 1 shows a class diagram for these interfaces.
J2EE container providers such as BEA and IBM must implement the
WorkManager interface, and server administrators can create WorkManager
by defining it in their J2EE container configurations. Most leading
J2EE containers provide user interface (UI) tools for defining
WorkManager. WorkManager encapsulates a pool of threads. By invoking
the schedule(Work work)
method of the WorkManager interface, a client can schedule work for
asynchronous execution. Behind the scenes, the Work Manager
implementation gets a container-managed thread for executing the Work
object. So work is executed in parallel with the current thread. A
previously mentioned, the Work interface implements a run method of the
java.lang.Runnable interface, so a thread can execute an object of type
Work.
continua...
Standard JTable does not come with an interactive mode such as those
found in simple spreadsheets. Adding a simple record oftentimes
requires an 'Add' button, a dialog box asking for values then updating
the JTable itself.
This example will show you an audio listing application containing
Title, Artist and Album, without the need for an 'Add' button. All we
need is our own-defined TableModel, a TableModelListener, a customized
TableCellRenderer and a few auxillary methods.
Continua...
IBM has committed a full time employee
to work on the Apache Harmony open source JVM and class library. IBM is
being careful to let the Harmony community set it's own direction and
is limiting it's contributions to thoughts on design, at this point,
although IBM VP Rod Smith he "is sure" that code contributions will
come later.
Post reply
|
Finalmente depois de 3 semanas de estudo passei nesta Certificação.
Devo dizer que foi de certa forma divertido ter estudado unicamente
pelas especificações, o fato de não ter realizado nenhum simulado
tornou o processo de realização da prova mais emocionante. Proximo
passo será Certificação JBuilder, preciso fazer o T3 ainda este ano,
mas agora é hora de descansar por uma semana.
The Evolution of JAXP
by Rahul Srivastava
July 06, 2005
Introduction
After the first release of the W3C XML 1.0 recommendation in early 1998,
XML started gaining huge popularity. Sun Microsystems Inc., at that time had just formalized the Java Community Process (JCP), and the first version of JAXP (JSR-05)
was made public in early 2000, supported by industry majors like (in chronological order) BEA Systems,
Fujitsu Limited, Hewlett-Packard, IBM, Netscape Communications, Oracle, and
Sun Microsystems, Inc.
JAXP 1.0, then called Java API for XML Parsing, was a box office hit
in the developer community, because of the pluggability layer provided
by JAXP; that's what the essence of JAXP is. Developers can write
program independent of the underlying XML processor by using the JAXP
APIs, and can replace the underlying XML processor by choice without
even changing a single line of application code.
So what exactly is JAXP? First of all, there has been some confusion
in the past about the P in JAXP: Parsing or Processing?
Because JAXP 1.0 supported only parsing, therefore, it was called Java API
for XML Parsing. But in JAXP 1.1 (JSR-63),
XML transformation was introduced using XSL-T. Unfortunately, the W3C XSL-T specification
does not provide any APIs for transformation. Therefore, the JAXP 1.1 Expert
Group (EG) introduced a set of APIs called Transformation API
for XML (TrAX) in JAXP 1.1, and since then, JAXP is called Java
API for XML Processing. Thereafter, JAXP has evolved to an extent,
where now it supports a lot more things (like validation against schema while
parsing, validation against preparsed schema, evaluating XPath expressions,
etc.,) than only parsing an XML document.
So, JAXP is a lightweight API to process XML documents by being agnostic
of the underlying XML processor, which are pluggable.
continua...
Revolution,
geopolitics and pipelines
By F William Engdahl
After
a short-term fall in price below the $50 a barrel level,
oil has broken through the $60 level and is likely to go
far higher. In thissituation one might think the announcement
of the opening of a major new oil pipeline to pump Caspian
oil to world markets might dampen the relentless rise in
prices.
However,
even when the Organization of Petroleum Exporting Countries
agreed on June 15 to raise its formal production quota by
another 500,000 barrels per day (bpd), the reaction of NYMEX
oil futures prices was to rise, not fall. Estimates are
that world demand in the second half of 2005 will average
at least 3 million barrels a day more than the first half
of the year.
Oil
has become the central theme of world political and military
operations planning, even when not always openly said.
Caspian
pipeline opens a Pandora's box
In
this situation, it is worth looking at the overall significance
of the May opening of the Baku to Ceyhan, Turkey, oil pipeline.
This 1,762 kilometer long oil pipeline was completed some
months ahead of plan.
The
BTC (Baku-Tbilisi-Ceyhan) pipeline was begun in 2002 after
four years of intense international dispute. It cost about
US$3.6 billion, making it one of the most expensive oil
projects ever. The main backer was British Petroleum (BP),
whose chairman, Lord Browne, is a close adviser to Britain's
Prime Minister Tony Blair. BP built the pipeline through
a
consortium including Unocal of the US, Turkish Petroleum
Inc, and other partners.
It
will take until at least late September before 10.4 million
barrels can provide the needed volume to start oil delivery
to the Turkish port of Ceyhan on the Mediterranean Sea.
Ceyhan is conveniently near to the US airbase Incirlik.
The BTC has been a US strategic priority ever since president
Bill Clinton first backed it in 1998. Indeed, for the opening
ceremonies in May, US Energy Secretary Samuel Bodman attended
and delivered
a personal note of congratulations from US President George
W Bush.
As
the political makeup of the Central Asia Caspian region
is complex, especially since the decomposition of the Soviet
Union opened up a scramble in the oil-rich region of the
Caspian from the outside, above all from the US, it is important
to bear in mind the major power blocs that have emerged.
They
are two. On the one side is an alliance of US-Turkey-Azerbaijan
and, since the "Rose" revolution, Georgia, that
small but critical country directly on the pipeline route.
Opposed to it, in terms of where the pipeline route carrying
Caspian oil should go, is Russia, which until 1990 held
control over the entire Caspian outside the Iran littoral.
Today, Russia has cultivated an uneasy but definite alliance
with Iran and Armenia, in opposition to the US group. This
two-camp grouping is essential to understanding developments
in the region since 1991.
Now
that the BTC oil pipeline has finally been completed, and
the route through Georgia has been put firmly in pro-Washington
hands, an essential precondition to completing the pipeline,
the question becomes one of how Moscow will react. Does
President Vladimir Putin have any serious options left short
of the ultimate nuclear one?
A
clear strategy
A
geopolitical pattern has become clear over the past months.
One-by-one, with documented overt and covert Washington
backing and financing, new US-friendly regimes have been
put in place in former Soviet states which are in a strategic
relation to possible pipeline routes from the Caspian Sea.
Ukraine
is now more or less in the hands of a Washington-backed
"democratic" regime under Viktor Yushchenko and
his billionaire Prime Minister Yulia Timoshenko, known in
Ukraine as the "gas princess" for the fortune
she made as a government official, allegedly through her
dubious dealings earlier with Ukraine Energy Minister Pavlo
Lazarenko and Gazprom.
The Yushchenko government's domestic credibility is reportedly
beginning to fade as Ukrainian "Orange" revolution
euphoria gives way to economic realities. In any event,
on June 16 in Kiev, Yushchenko hosted a special meeting
of the Davos World Economic Forum to discuss possible investments
into the "new" Ukraine.
At
the Kiev meeting, Timoshenko's government announced that
it planned to build a new oil and gas pipeline from the
Caspian across Ukraine into Poland, which would lessen Ukraine's
reliance on Moscow oil and gas supplies. Timoshenko also
revealed that the Ukrainian government was in positive talks
with Chevron, the former company of US Secretary of State
Condoleezza Rice, for the project.
It
goes without saying that such a project would run counter
to the Russian regional interest. One reason for Washington's
strong backing for Yushchenko last year was to counter a
decision by the Kuchma government and parliament to reverse
the flow of the Brody-Odessa pipeline from a planned route
from the Black Sea port into Poland. The initial Odessa-to-Poland
route would have tied Ukraine to the West. Now Ukraine is
discussing with Chevron to build a new pipeline doing the
same. The country presently gets 80% of its energy from
Russia.
A
second project Ukraine's government and the state NAK (Naftogaz
Ukrainy) are discussing is with France's Gaz de France to
build a pipeline from Iran for natural gas to displace Russian
gas. Were that to happen it would simultaneously weaken
ties of mutual self-interest between Russia and Iran, as
well as Russia and France.
On
the same day as the Kiev conference, Kazakhstan's government
told an international investors' conference in Almaty that
it was in negotiations with Ukraine to route Kazakh oil
as well through the proposed new Ukrainian pipeline to the
Baltic. Chevron is also the major consortium leader developing
Kazakh oil in Tengiz. Given the political nature of US "big
oil", it is more than probable that Rice, Vice President
Dick Cheney and the administration in Washington are playing
a strong role in such Ukraine pipeline talks. The "Orange"
revolution, at least from the side of its US sponsors, had
little to do with real democracy and far more with military
and oil geopolitics.
Pipelines
and US-Azeri ties
The
Baku-Ceyhan pipeline was originally proclaimed by BP and
others as the project of the century. Former US national
security adviser Zbigniew Brzezinski was a consultant to
BP during the Bill Clinton era, urging Washington to back
the project. In fact, it was Brzezinski who went to Baku
in 1995, unofficially, on behalf of Clinton, to meet with
then-Azeri
president Haidar Aliyev, to negotiate new independent Baku
pipeline routes, including what became the BTC pipeline.
Brzezinski
also sits on the board of an impressive, if little-known,
US-Azerbaijan Chamber of Commerce (USACC). The chairman
of USACC in Washington is Tim Cejka, president of ExxonMobil
Exploration. Other USACC board members include Henry Kissinger
and James Baker III, the man who in 2003 personally went
to Tbilisi to tell Eduard Shevardnadze that Washington wanted
him to step aside in favor of the US-trained Georgian president
Mikhail Shaakashvili. Brent Scowcroft, former national security
adviser to George H W Bush, also sits on the board of USACC.
And Cheney was a former
board member before he became vice president. A more high-powered
Washington team of geopolitical fixers would be hard to
imagine. This group of prominent individuals certainly would
not give a minute of their time unless an area was of utmost
geopolitical strategic importance to the US or to certain
powerful interests there.
Now
that the BTC pipeline to Ceyhan is complete, a phase 2 pipeline
is in consideration undersea, potentially to link the Caspian
to Kazakhstan and Turkmenistan with its rich gas reserves,
directing that energy away from China to the West in a US-UK-controlled
route.
In
this context, it's worth noting that Bush himself made a
trip to Tbilisi on May 10 to address a crowd in Freedom
Square, promoting his latest war on tyranny campaign for
the region. He praised the US-backed "color revolutions"
from Ukraine to Georgia. Bush went on to attack Franklin
D Roosevelt's Yalta division of Europe in 1945. He made
the curious
declaration, "We will not repeat the mistakes of other
generations, appeasing or excusing tyranny, and sacrificing
freedom in the vain pursuit of stability," the president
said. "We have learned our lesson; no one's liberty
is expendable. In the long run, our security and true stability
depend on the freedom of others." Bush continued, "Now,
across the
Caucasus, in Central Asia and the broader Middle East, we
see the same desire for liberty burning in the hearts of
young people. They are demanding their freedom - and they
will have it."
What color will the Azeri revolution take?
Not
surprisingly, that speech was read as a "go" signal
for opposition groups across the Caucasus. In Azerbaijan
four youth groups - Yokh! (No!), Yeni Fikir (New Thinking),
Magam (It's Time) and the Orange Movement of Azerbaijan
- comprise the emerging opposition, an echo of Georgia,
Ukraine and Serbia, where the US Embassy and specially trained
non-governmental organizations operatives orchestrated the
US-friendly regime changes with
help of the US National Endowment for Democracy, Freedom
House and the Soros Foundations.
According
to Baku journalists, Ukraine's Pora (It's Time), Georgia's
Kmara (Enough) and Serbia's Otpor (Resistance) are cited
by all four Azeri opposition organizations as role models.
The opposition groups also consider Bush's February meeting
in Bratislava with Pora leader Vladislav Kaskiv as a sign
that Washington supports their cause.
It
seems the same team of Washington regime-change experts
are preparing for a "color revolution" for the
upcoming November elections in Azerbaijan as were behind
other recent color revolutions.
In 2003, on the death of former Azeri president Haider Aliyev,
his playboy
son, Ilham Aliyev, became president in grossly rigged elections
which
Washington legitimized because Aliyev was "our tyrant",
and also just
happened to hold his hand on the spigot of Baku oil.
Ilham,
former president of the state oil company SOCAR, is tied
to his father's power base and is apparently now seen as
not suitable for the new pipeline politics. Perhaps he wants
too big a share of the spoils. In any case, both Blair's
UK government and the US State Department's AID are pouring
money into Azeri opposition groups, similar to Otpor in
Ukraine. US Ambassador Reno Harnish has stated that Washington
is ready to finance "exit polling" in the elections.
Exit polling in Ukraine was a key factor used to drive the
opposition success there.
Moscow
is following Azeri events closely. On May 26, the Moscow
daily Kommersant wrote, "While the pipeline will carry
oil from the East to West, the spirit of 'color revolutions'
will flow in the reverse direction." The commentary
went on to suggest that Western governments wanted to promote
democratization in Azerbaijan out of a desire to protect
the considerable investment made in the pipeline. That is
only a part of the strategic game,
however. The other part is what Pentagon strategists term
"strategic denial".
Until
recently the US had supported the corrupt ruthless dictatorship
of the Aliyev's as the family had played ball with US geopolitical
designs in the area, even though Haider Aliyev had been
a career top KGB officer in the Soviet Mikhail Gorbachev
era. Then on April 12, Defense Secretary Donald Rumsfeld
went to Baku, his second visit in four months, to discuss
demands to create a US military base in Azerbaijan, as part
of the US
global force redeployment involving Europe, the Mideast
and Asia.
The
Pentagon already de facto runs the Georgia military, with
its US Special Forces officers, and Georgia has asked to
join the North Atlantic Treaty Organization (NATO). Now
Washington wants to have direct bases in Azerbaijan proximate
to Russia as well as to Iran.
The
Pentagon has also allocated $100 million to build a Caspian
Guard of special forces military, ostensibly to guard the
new BTC pipeline, though the latter was deliberately built
underground to make it less vulnerable, one reason for its
high cost. Part of the Pentagon money would go to build
a radar-equipped command center in Baku, capable of monitoring
all sea traffic in the Caspian. The US wants airbases in
Azerbaijan, which naturally would be seen in Tehran and
Moscow as a strategic provocation.
In
all this maneuvering from the side of Washington and 10
Downing Street, the strategic issue of geopolitical control
over Eurasia looms large. And increasingly it is clear that
not only Putin's Russia is an object of the new Washington
"war on tyranny". It is becoming clear to most
now that the grand design in Eurasia on the part of Washington
is not to pre-empt Osama bin Laden and his "cave dwellers".
The
current Washington strategy targets many Eurasian former
Soviet republics which per se have no known oil or gas reserves.
What they do have, however, is strategic military or geopolitical
significance for the Washington policy of dominating the
future of Eurasia.
That
policy has China as its geopolitical, economic and military
fulcrum. A look at the Eurasian map and at the target countries
for various US-sponsored color revolutions makes this unmistakably
clear. To the east of the Caspian Sea, Washington in one
degree or another today controls Pakistan, Afghanistan,
potentially Kyrgystan, Uzbekistan and Kazakhstan.
These serve as a potential US-controlled barrier or buffer
zone between China and Russian, Caspian and Iranian energy
sources. Washington is out to deny China easy land access
to either Russia, the Middle East or to the oil and gas
fields of the Caspian Sea.
Whither
Kyrgystan?
Since
early 2005, when a series of opposition protests erupted
over the fairness of parliamentary elections in February
and March, Kyrgystan has joined the growing list of Eurasian
republics facing major threat of regime change or color
revolution. The success of former Kyrgystan premier Kurmanbek
Bakiev in replacing ousted president Askar Akayev in that
country's so-called "Tulip" revolution, becoming
interim president until July residential elections, invited
inevitable comparisons with the "Orange" revolution
in Ukraine and the Georgian "Rose" revolution.
Washington's
Radio Liberty has gone to great lengths to explain that
the Kyrgystan opposition is not a US operation, but a genuine
spontaneous grass-roots phenomenon. The facts speak a different
story however. According to reports from mainstream US journalists,
including Craig Smith in the New York Times and Philip Shishkin
in the Wall Street Journal, the opposition in Kyrgystan
has had "more than a little help from US friends"
to paraphrase the Beatles song. Under the Freedom Support
Act of the US
Congress, in 2004 the dirt-poor country of Kyrgystan received
a total of $12 million in US government funds to support
the building of democracy. This will buy a lot of democracy
in an economically desolate, forsaken land
such as Kyrgystan.
Acknowledging
the Washington largesse, Edil Baisolov, in a comment on
the February-March anti-government protests, boasted, "It
would have been absolutely impossible for this to have happened
without that help." According to the New York Times'
Smith, Baisolov's organization, the Coalition for Democracy
and Civil Rights, is financed by the National Democratic
Institute for International Affairs, a Washington-based
non-profit organization in turn funded by Rice's State Department.
Baisolov told Radio Liberty he had been to Ukraine to witness
the tactics of their "Orange" Revolution, and
got inspired.
But
that isn't all. The whole cast of democracy characters has
been busy in Bishkek and environs supporting American-style
democracy and opposing "anti-American tyranny".
Washington's Freedom House has generously financed Bishkek's
independent printing press, which prints the opposition
paper, MSN, according to its man on the scene, Mike Stone.
Freedom
House is an organization with a fine-sounding name and a
long history since it was created in the late 1940s to back
the creation of NATO. The chairman of Freedom House is James
Woolsey, former Central Intelligence Agency (CIA) director
who calls the present series of regime changes from Baghdad
to Kabul "World War IV". Other trustees include
the ubiquitous Zbigniew Brzezinski, former Clinton commerce
secretary Stuart Eizenstat, and national security adviser
Anthony Lake. Freedom House lists USAID, US Information
Agency, the Soros Foundations and the National Endowment
for Democracy among its financial backers.
One
more of the many non-governmental organizations active in
promoting the new democracy in Kyrgystan is the Civil Society
Against Corruption, financed by the National Endowment for
Democracy (NED). The NED which, with Freedom House, has
been at the center of all the major color revolutions in
recent years, was created during the Ronald Reagan administration
to function as a de facto privatized CIA, privatized so
as to allow more freedom of action, or what the CIA likes
to call "plausible deniability". NED chairman
Vin Weber, a former Republican congressman, is close to
neo-conservative Bill Bennett. NED president since 1984
is Carl Gershman, who had previously been a Freedom House
scholar. NATO General Wesley Clark, the man who led the
US bombing of Serbia in 1999, also sits on the NED board.
Allen Weinstein, who helped draft the legislation establishing
NED, said in 1991, "A lot of what we do today was done
covertly 25 years ago by the CIA."
Not
to be forgotten, and definitely not least in Kyrgystan's
ongoing "Tulip" revolution is Soros' Open Society
Institute - which also poured money into the Serbian, Georgian
and Ukraine color revolutions. The head of the Civil Society
Against Corruption in Kyrgystan is Tolekan Ismailova, who
organized the translation and distribution of the revolutionary
manual used in Serbia, Ukraine and Georgia written by Gene
Sharp, of a curiously named
Albert Einstein Institution in Boston. Sharp's book, a how-to
manual for the color revolutions, is titled From Dictatorship
to Democracy. It includes tips on non-violent resistance
- such as "display of flags and symbolic colors"
- and civil disobedience.
Sharp's
book is literally the bible of the color revolutions, a
kind of "regime change for dummies". Sharp created
his Albert Einstein Institution in 1983, with backing from
Harvard University. It is funded by the US Congress' NED
and the Soros Foundations, to train people in and to study
the theories of "non-violence as a form of warfare".
Sharp has worked with NATO and the CIA over the years training
operators in Myanmar, Lithuania,
Serbia, Georgia, Ukraine and Taiwan, even Venezuela and
Iraq.
In
short, virtually every regime which has been the target
of a US-backed soft coup in the past 20 years has involved
Gene Sharp and usually, his associate, Colonel Robert Helvey,
a retired US Army intelligence specialist. Notably, Sharp
was in Beijing two weeks before student demonstrations at
Tiananmen Square in 1989. The Pentagon and US intelligence
have refined the art of such soft coups to a fine level.
RAND planners call it "swarming", referring to
the swarms of youth, typically linked by short message services
and weblogs, who can be mobilized on command to destabilize
a target regime.
Then
Uzbekistan ...?
Uzbekistan's
tyrannical President Islam Karimov had early profiled himself
as a staunch friend of the Washington "war on terror",
offering a former Soviet airbase for US military actions,
including the attack on the Taliban in Afghanistan in late
2001. Many considered Karimov too close to Washington to
be in danger. He had made himself a "good" tyrant
in Washington's eyes.
That's
also no longer a sure thing. In May, Rice demanded that
Karimov institute "political reforms" following
violent prison uprisings and subsequent protests over conditions
in the Ferghana Valley region in Andijan. Karimov has fiercely
resisted independent inquiry into allegations his troops
shot and killed hundreds of unarmed protesters. He insists
the
uprisings were caused by "external" radical Muslim
fundamentalists allied with the Taliban and intent on establishing
an Islamic caliphate in Uzbekistan's Ferghana Valley bordering
Kyrgystan.
While
the ouster of Karimov is unclear for the moment, leading
Washington backers of Karimov's "democratic reform"
have turned into hostile opponents. As one US commentator
expressed it, "The character of the Karimov regime
can no longer be ignored in deference to the strategic usefulness
of Uzbekistan." Karimov has been targeted for a color
revolution in the relentless Washington "war on tyranny".
In
mid-June, Karimov's government announced changes in terms
for the US to use Uzbekistan's Karshi-Khanabad military
airbase, including a ban on night flights. Karimov is moving
demonstrably closer to Moscow, and perhaps also to Beijing,
in the latest chapter of the new "Great Game"
for geopolitical control over Eurasia.
Following
the Andijan events, Karimov revived the former "strategic
partnership" with Moscow and also received a red-carpet
welcome at the end of May in Beijing, including a 21-gun
salute. At a June Brussels NATO meeting, Russian Foreign
Minister Sergei Ivanov backed Karimov, declaring there was
no need for an international investigation of what happened
in Andijan.
Tajikistan,
bordering Afghanistan and China, is so far the only remaining
Central Asian republic not yet to undergo a successful US-led
color revolution. It's not for lack of trying. For several
years Washington has attempted to woo Dushanbe away from
its close ties to Moscow, including the economic carrot
of US backing for Tajik membership in the World Trade Organization.
Beijing has also been active. China has recently upgraded
military assistance to Tajikistan, and is keen to strengthen
ties to all Central Asian republics standing between it
and the energy resources to the Eurasian west, from Russia
to Iran. The stakes are the highest for the oil-dependent
China.
Washington
playing the China card
The
one power in Eurasia that has the potential to create a
strategic combination which could checkmate US global dominance
is China. However, China has an Achilles' heel, which Washington
understands all too well - oil. Ten years ago China was
a net oil exporter. Today China is the second-largest importer
behind the US.
China's
energy demand is growing annually at a rate of more than
30%. China has feverishly been trying to secure long-term
oil and gas supplies, especially since the Iraq war made
clear to Beijing that Washington was out to control and
militarize most of the world's major oil and gas sources.
A new wrinkle to the search for black gold, oil, is the
clear data confirming that many of the world's largest oilfields
are in decline, while new
discoveries fail to replace lost volumes of oil. It is a
pre-programmed scenario for war. The only question is, with
what weapons?
In
recent months Beijing has signed major oil and economic
deals with Venezuela and Iran. It has bid for a major Canadian
resources company, and most recently made the audacious
bid to buy California's Unocal, a partner in the Caspian
BTC pipeline. Chevron immediately stepped in with a counter
bid to block China's.
Beijing
has recently also upgraded the importance of the four-year-old
organization, the Shanghai Cooperation Organization, or
SCO. SCO consists of China, Russia, Kazakhstan, Uzbekistan,
Kyrgystan and Tajikistan. Not surprisingly, these are many
of the states which are in the midst of US-backed attempts
at soft coups or color revolutions. SCO's July meeting list
included an invitation to India, Pakistan and Iran to attend
with observer status.
This
June, the foreign ministers of Russia, China and India held
a meeting in Vladivostock where they stressed the role of
the United Nations, a move aimed clearly at Washington.
India also discussed its project to invest and develop Russia's
Far East Sakhalin I, where it has already invested about
$1 billion in oil and gas development. Significantly, at
the meeting, Russia and China resolved a decades-long border
dispute, and two weeks later in Beijing discussed potentials
for development of Russia's Siberian resources.
A
close look at the map of Eurasia begins to suggest what
is so vital here for China, and therefore for Washington's
future domination of Eurasia. The goal is not only strategic
encirclement of Russia through a series of NATO bases ranging
from Camp Bond Steel in Kosovo to Poland, to Georgia, possibly
Ukraine and White Russia, which would enable NATO to control
energy ties between Russia and the EU.
Washington
policy now encompasses a series of "democratic"
or soft coup projects which would strategically cut China
off from access to the vital oil and gas reserves of the
Caspian, including Kazakhstan. The earlier Asian Great Silk
Road trade routes went through Tashkent in Uzbekistan and
Almaty in Kazakhstan for geographically obvious reasons,
in a region surrounded by major mountain ranges.
Geopolitical
control of Uzbekistan, Kyrgystan and Kazakhstan would enable
control of any potential pipeline routes between China and
Central Asia, just as the encirclement of Russia allows
for the control of pipeline and other ties between it and
Western Europe, China, India and the Mideast.
In
this context, the revealing Foreign Affairs article from
Zbigniew Brzezinski from September/October 1997 is worth
again quoting:
"Eurasia
is home to most of the world's politically assertive and
dynamic states. All the historical pretenders to global
power originated in Eurasia. The world's most populous aspirants
to regional hegemony, China and India, are in Eurasia, as
are all the potential political or economic challengers
to American primacy. After the United States, the next six
largest economies and military spenders are there, as are
all but one of the world's overt nuclear powers, and all
but one of the covert ones. Eurasia accounts for 75% of
the world's population, 60% of its GNP [gross national product],
and 75% of its energy resources. Collectively, Eurasia's
potential power overshadows even America's.
"Eurasia is the world's axial supercontinent. A power
that dominated Eurasia would exercise decisive influence
over two of the world's three most economically productive
regions, Western Europe and East Asia. A glance at the map
also suggests that a country dominant in Eurasia would almost
automatically control the Middle East and Africa. With Eurasia
now serving as the decisive geopolitical chessboard, it
no longer suffices to fashion one policy for Europe and
another for Asia. What happens with the distribution of
power on the Eurasian landmass will be of decisive importance
to America's global primacy ..."
This
statement, written well before the US-led bombing of former
Yugoslavia and the US occupations in Afghanistan and Iraq,
or the BTC pipeline, helps put recent Washington pronouncements
about "ridding the world of tyranny" and about
spreading democracy into a somewhat different context from
the one usually mentioned by Bush.
"Elementary,
my dear Watson. It's about global hegemony, not democracy,
you fool." |
| |