Category: web

You can enable Cross Origin Resource Sharing (CORS) for your web applications on a Liberty server.

Enabling CORS will allow JavaScript clients to make requests against your application on the Liberty server even if the client and the server are on two different domains. Web browsers prevent these requests due to same-origin policy.

I create the following configuration on my local machine  on server.xml file:

<cors domain="/ApplicationContext" <-- application context. It will work only for this app.
   allowedOrigins="http://localhost:8080"  <-- this is my local Node.js Server.
   allowedMethods="GET, HEAD, POST, PUT"
   allowedHeaders="Referer, Cache-Control, Pragma, Accept, Accept-Language, Accept-Encoding, Accept-Charset, Content-Type, Content-Length, User-Agent, Authorization, passwd, X-Update-Nonce, X-Shindig-ST, X-IC-CRE-Request-Origin, X-IC-CRE-User, X-LConn-Auth, Accept*, Content*, Access-Control-Allow-Origin*"
exposeHeaders="Content-Type, Last-Modified, etag"
allowCredentials="true" maxAge="3600" />

web WebSphere

In a world full of API’s and JSON this is a nice tool.

JSLint is a JavaScript program that looks for problems in JavaScript programs. It is a code quality tool.


Working this week on a new WebSphere Portal Project.

Several content are using AngularJS and some calls to get data go to another server in another domain.

To avoid CORS we implement a reverse proxy on the IHS side.

Bellow the config of my httpd.conf.
LoadModule proxy_module modules/
LoadModule proxy_connect_module modules/
LoadModule proxy_http_module modules/
LoadModule ibm_ssl_module modules/

SSLProxyEngine on
KeyFile /opt/IBM/HTTPServer/bin/key.kdb
SSLStashfile /opt/IBM/HTTPServer/bin/key.sth

Proxypass /acme/products  https://anotherdomain/api/v1/products
ProxypassReverse /acme/products  https://anotherdomain/api/v1/products

AngularJS web WebSphere WebSphere Portal

Flash’s death has been slow and painful, and now Google is planning to deal it another blow. Google has detailed plans to start blocking most Flash content with Chrome, with the change targeted toward the end of this year.

Under its current vision, nearly every website would have Flash content blocked by default. Visitors would still be able to enable Flash content on a site-by-site basis, but they would have to specifically choose to do so. Chrome would display a prompt offering to enable Flash; if chosen, Chrome would remember to run Flash on that site for all future visits.

See the full article here


This specification describes a method for surfacing customer experience digital data on a web or other digital resource as a JavaScript Object which can be used for communicating this data to digital analytics and reporting servers.

Uncategorized wcm web WebSphere Portal

Depois do LCTY em Belo Horizonte resolvi brincar um pouco mais de Web 2.0.
Já tenho este blog e agora criei meu perfil no LinkedIn e também uma conta no twitter vamos ver o que acontece.

      View Kenio Carvalho's profile on LinkedIn


Hoje passeando pelos blogs favoritos, entre eles o do Ed Brill li sobre o Wordle, que
gera tags com textos colocados em um campo. Coloquei meu curriculum no wordle e veja no  que deu: