Showing posts with label open-source. Show all posts
Showing posts with label open-source. Show all posts

Thursday, February 11, 2010

xCMIS

eXo Platform today introduced xCMIS, an open source implementation of the Content Management Interoperability Services (CMIS) specification. Fully compliant with the latest CMIS 1.0 – cd06 specification, xCMIS supports eXo's standards-based Java content repository (JCR) and works with third-party CMIS clients as well as a new eXo CMIS client based on Google Web Toolkit (GWT). The xCMIS server is being released as open source code under the LGPL at http://code.google.com/p/xcmis/.

eXo's new GWT-based CMIS client offers the flexibility of building both standalone web applications and Google gadgets. Applications or gadgets created with this framework can be loaded from a remote location or integrated into a portal such as GateIn (http://gatein.org), the portal runtime co-developed by eXo and JBoss. The eXo CMIS client comes bundled in the xCMIS download, and will be accessible as a remote gadget leveraging GWT client libraries at http://xcmis.org.

Created by OASIS to enable greater interoperability of enterprise content management (ECM) systems, CMIS provides a common interface using either AtomPub or Web Services to enable content sharing across different content management systems. Applications are no longer tied to any one specific content repository, so developers can write new applications without concern for the development platform or language dependencies on any single content system. With xCMIS, eXo joins the rank of ECM providers that have rallied behind CMIS.

"eXo was founded on open standards, which remain core to our DNA," said Benjamin Mestrallet, CEO of eXo Platform. "We started with the industry's first Java portlet container, one of the first open source Java content repositories, one of the first enterprise OpenSocial implementations and now one of the most complete CMIS implementations available. In line with this commitment to open standards, we're making xCMIS widely available as open source to ensure that any developer can have access to a first-class CMIS server with which to write their applications."

The xCMIS server is available as a community beta release today with a production-ready version planned when the final CMIS 1.0 spec is ratified. Commercial support for xCMIS will be included in the next enterprise version of the eXo Platform, version 3.0, which will be based on GateIn. For more information on xCMIS or to participate in the project, visit http://xcmis.org.

eXo will be hosting a free one-hour webinar about xCMIS on 24 February 2010. The webinar will include an overview of the CMIS specification, an introduction to the features of xCMIS and a step-by-step tutorial for creating gadgets that can make newly unlocked content even more useful. To register for the webinar, visit http://www.exoplatform.com/portal/public/website/community/__webinar-xcmis.

About eXo Platform

Known for its pioneering work with portal technologies and open standards, eXo Platform (http://exoplatform.com) extends Enterprise Java platforms with consumer web services such as social, collaboration, mashups and rich user interfaces. The Company offers a services-based architecture built on GateIn (http://gatein.org), the advanced open source runtime it co-develops, to deliver web applications and content. This architecture can be further enhanced with applications for content management, email, calendaring and other collaborative capabilities. eXo maintains U.S. headquarters in San Francisco, Calif. with global headquarters in France and offices in Tunisia, The Ukraine and Vietnam. For news and updates from eXo, follow @exoplatform on Twitter.

SOURCE eXo Platform

RELATED LINKS
http://exoplatform.com

Tuesday, May 27, 2008

Tomcat for Eclipse

Tomcat launcher Eclipse plugin for debud
Home page
Download page
Direct download (ver. 3.2.1) !
Comments for tomcat plugin
Tomcat Tutorial: HelloWorld for Complete Fools
Documentation (translated with google)

Read before, note: replace my tomcat home "/home/alexey/java/exo-working/exo-tomcat" with your's.

1. Install
Unpack it to eclipse/plugins dir.
Start or restart Eclipse.
Be sure that you see the new tomcat panel.

2. Configure
Configure plugin under eclipse
Window -> Preferences... -> Tomcat:
2.1
Set version of your tomcat (e.g.: 5.x)
Set tomcat home (e.g.: /home/alexey/java/exo-working/exo-tomcat)
Context declaration mode: Server.xml

2.2 Advanced
Set tomcat base (e.g.: /home/alexey/java/exo-working/exo-tomcat)
Check projects for "Add java projects to tomcat classspath" (e.g.: Select All)
2.3 JVMSettings
In section "Append to JVM Parameters" add both:
"-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog"
"-Djava.security.auth.login.config=/home/alexey/java/exo-working/exo-tomcat/conf/jaas.conf"


2.4 Source Path
Manually select or check "Automatically compute source path"
Click "Apply" and "OK".

3. Use
Set launch configuration.
"Run" -> "Open Debug Dialog..." -> Double click on "Java Application" for creating new configuration.
Tabs:
3.1 Main
Type in the field "Name" launch configuration name (e.g.: Tomcat5).
Choose "Project" (e.g. Portal)
Set in the "Main class" value "org.apache.catalina.startup.Bootstrap"
3.2 Arguments
Program arguments:
-config "/home/alexey/java/exo-working/exo-tomcat/conf/server.xml" start
VM arguments:
-Dcatalina.home="/home/alexey/java/exo-working/exo-tomcat"
-Djava.endorsed.dirs="/home/alexey/java/exo-working/exo-tomcat/common/endorsed"
-Dcatalina.base="/home/alexey/java/exo-working/exo-tomcat"
-Djava.io.tmpdir="/home/alexey/java/exo-working/exo-tomcat/temp"
-Dorg.apache.commons.logging.Log=org.apache.commons.logging.impl.SimpleLog
-Djava.security.auth.login.config=/home/alexey/java/exo-working/exo-tomcat/conf/jaas.conf


3.3 JRE
Skip
3.4 Classpath
Remove user entries projects jars to avoid some strange exceptions while the tomcat is starting.
Add two jars to the "User Entries"
"tools.jar" from JAVA_HOME/lib
"bootstrap.jar" from TOMCAT_HOME/bin

3.5 Source
Skip

Click "Apply" and "Debug"

Wednesday, November 28, 2007

Ubuntu for developers

Other my posts:
Maven for Eclipse
Tomcat for Eclipse
Subversive for Eclipse

Install JDK

howto jdk on ubuntu wiki
sudo aptitude install sun-java5-jdk
update-alternatives --config java


In your home directory within .profile file add lines with changes according your path:
export JAVA_HOME=/home/alexey/java/jdk1.5
export PATH=$JAVA_HOME/bin:$PATH

SmartSVN
Download page
Screenshots
Direct link 3.0.4 !
License for 1 month
how-to-installsetup-smartsvn-in-ubuntu

Picture1: info
Picture2: working
Picture3: add ignore
(Project -> Settings ...)
Note: window resizing on compiz bug


Eclipse
Web Tools Platform All-In-One Package:
Download page(ver. R-2.0-200706260303)
Download direct link(ver. R-2.0-200706260303) !

Picture1: starting
Picture2: info
Picture3: working

Configure Eclipse it at "Window" -> "Preferences..."

Setting formatter:
Java -> Code Style -> Formatter
Choose: "Edit..." or "Import..." or "Export..."
Example: "Import..." this file

Setting templates:
Java -> Editor -> Templates
Choose: "New..." or "Import..." or "Export..."
e.g.0: "Import..." this file
e.g.1: "Edit..." for sysout: "System.out.println(">>> ${user}: ${enclosing_type}.${enclosing_method} ${word_selection} = " + ${word_selection});${cursor}"
e.g.2: "Edit..." for systrace: System.out.println(">>> ${user}: ${enclosing_type}.${enclosing_method}()");

If Content assist doesnt work by "Ctrl"+"Space", so some application intercepts it. Check for in in SCIM. Right button on and choose "SCIM setup". Edit there hotkeys or keyboard for remove necessary for eclipse hotkeys.

Mark occurrences:
Java -> Editor ->
Mark Occurrences
Check the "
Mark occurrences of the selected element in the current file".


P.S.: If you are developer of eXo Platform then look at screenshot of my working directory (java dir within home on ubuntu)

Wednesday, October 3, 2007

Subversive for Eclipse

For Ubuntu
Install tigris console subversive client:
"sudo apt-get install subversion"

1. Install

1.1. CSC
Help -> Software Updates -> Find and Install ... ->
Search for new feature to install -> Next -> New Remote Site ...
Name: CSC
URL: "http://vpms.de.csc.com/projectset/update"
Docs

1.2. Mylyn
Download derect link: mylyn-2.1-e3.3.zip
Help -> Software Updates -> Find and Install ... ->
Search for new feature to install -> Next -> New Archived Site...
And select from filesystem downloaded file.
Docs

1.3. Subversive
Help -> Software Updates -> Find and Install ... ->
Search for new feature to install -> Next -> New Remote Site ...
Name: Subversive
URL: "http://www.polarion.org/projects/subversive/download/1.1/update-site/"

Or you can install subversive as "New Archived Site..." with downloaded this archive
Docs

2. Configure
2.1. Settings for SVN.
Window -> Рreferences... Team -> SVN
Change in tab SVN Client from "Subversive Default" to "SVN Kit"

3. Use
3.1. Share project.
Click right-button mouse on project and select Team -> Share Project SVN, Next, Next,
Enter user/password, check Save password, Finish
3.2. Use SVN client.
Click right-button mouse on project and select Team -> and command what are you want.


For Windows
I'm pretty sure it's same as described above for Ubuntu.
Install
1. mylar-site-0.9.0-e3.2.zip
(http://mirrors.ibiblio.org/pub/mirrors/eclipse/technology/mylar/update-site-archive/)
через UpdateSite
2. com.csc.dip.projectset.feature_2.1.0.jar
(http://vpms.de.csc.com/projectset/update/features/)
скопировать разархивированную папку в \eclipse\features\
3. Subversive_1.1.0.RC1a-LocalUpdateSite.zip
(http://www.polarion.org/index.php?page=download&project=subversive)
через UpdateSite
Configure
1. Window -> Рreferences... Team -> SVN
Change in tab SVN Client from "Subversive Default" to "SVN Kit"
Use
1. Click right-button mouse on project and select Team -> Share Project SVN, Next, Next,
Enter user/password, check Save password, Finish
2. Use SVN client.
Click right-button mouse on project and select Team -> and command what are you want.

HTH, Alexey.

Thursday, September 27, 2007

Ubuntu Installing Programs

Debs files download:
http://archive.ubuntu.com/ubuntu/pool/multiverse/
New to Linux? Need a program?
The table of equivalents software: Windows and Linux

Rename text in multi files
(based on KFileReplace)
Гордым пользователям Убунты, для тех кто знает конкретно что нужно менять
1. Установка:
sudo apt-get install kfilereplace
2. Запуск:
ALT+F2 kfilereplace
или Applications -> Accessories - > KFileReplace
3. Docs
at: http://kfilereplace.kdewebdev.org/

System
Print system info:
uname -a
cat /proc/cpuinfo
cat /proc/meminfo
Soundcard mixer:
alsamixer
Temperature:
acpi -t

Power consumption:
sudo powertop

Temperature sensor applet:
1. sudo apt-get install lm-sensors
2. sudo sensors-detect
на все вопросы ответ yes
3. sudo apt-get install sensors-applet
рестар машины
Потом добавляем на панель апплет "Hardware Sensors Monitor"
Спасибо rainf0x :)

Updating
sudo apt-get dist-upgrade
sudo apt-get update


Install mc - Midnight Commander
Download:
http://us.archive.ubuntu.com/ubuntu/pool/universe/m/mc/mc_4.6.1-7ubuntu2_i386.deb
Install double click on the file or:
dpkg -i mc_4.6.1-7ubuntu2_i386.deb

Оказывается, что приостановить вывод в терминал можно CTRL+S, вообновить CTRL+D

Install fonts
sudo apt-get install ttf-xfree86-nonfree
sudo apt-get install msttcorefonts


Automatix
(home)
Getted from here

echo "deb http://www.getautomatix.com/apt feisty main" | sudo tee -a /etc/apt/sources.list
wget http://www.getautomatix.com/keys/automatix2.key
gpg --import automatix2.key
gpg --export --armor E23C5FC3 | sudo apt-key add -
sudo apt-get update
sudo apt-get install automatix2


Beryl
(wiki)
sudo apt-get dist-upgrade
sudo apt-get update
sudo apt-get install beryl
sudo apt-get install beryl-manager
beryl-manager


Skype

Skype for Linux
Skype for Uuntu Feisty Fawn (7.04)

Skype Beta 2.0 for video call

Tux Commander
Main page:
Screenshots:
Description:
Download:
Download direct link (tuxcmd_0.5.103-1_i386.deb):

Games
luchshie-igry-pod-linux-za-2007-god

Other
sudo apt-get install gparted
chmod +x /some-file.txt
LANG=en_US.UTF-8
env |less
xfontsel
df -h
Kill X server by "Ctrl"+"Alt"+"Backspace"

sudo umount /media/fat32
sudo mount /dev/sda7 /media/fat32 -a
sudo mount -a

!NUMBER_OF_COMMAND
history |grep cd
history
Run command "Alt + F2"
mtr

Thanks for the help to rainf0x
and andrew00x

Friday, July 6, 2007

Web Services: AXIS, XFire, CXF, JAX-WS

wiki

Monitoring SOAP messages
Axis SOAPMonitor User's Guide
Apache TCPMon (Tutorial)
java.net tcpmon)

Axis1
official and wiki
JIRA and mail
sources

Release notes and what in this realise
User Guide
Commands - Axis Reference Guide

  • SOAP 1.1/1.2 compliant engine
  • Flexible configuration / deployment system
  • Support for "drop-in" deployment of SOAP services (JWS)
  • Support for all basic types, and a type mapping system for defining new serializers/deserializers
  • Automatic serialization/deserialization of Java Beans, including customizable mapping of fields to XML elements/attributes
  • Automatic two-way conversions between Java Collections and SOAP Arrays
  • Providers for RPC and message based SOAP services
  • Automatic WSDL generation from deployed services
  • WSDL2Java tool for building Java proxies and skeletons from WSDL documents
  • Java2WSDL tool for building WSDL from Java classes.
  • Preliminary security extensions, which can integrate with Servlet 2.2 security/roles
  • Support for session-oriented services, via HTTP cookies or transport-independent SOAP headers
  • Preliminary support for the SOAP with Attachments specification
  • An EJB provider for accessing EJB's as Web Services
  • HTTP servlet-based transport
  • JMS based transport
  • Standalone version of the server (with HTTP support)
  • Examples, including a client and server for the SoapBuilders community interoperability tests and experimental TCP, JMS, and file-based transports.
  • This version has passed the JAX-RPC 1.1 and SAAJ 1.2 TCKs.

Axis uses it's own internal databinding system (referred to as de/serialization) that's based on SAX. It is not a pluggable option. (Perhaps you've seen messages such as "no deserialized found for [qname]). Axis provides built-in de/serializers for beans and arrays, and you can provide custom de/serializers for other types. You specify the de/serializers to use, and the mapping between qnames and types in the WSDD using the beanMapping and typeMapping options.

If you want to use a third-party databinding system, then you must use the low-level message provider (provider="MSG"), which deserializes the message into DOM, which you can then bind to your object model.


Axis2
official and wiki
JIRA and mail
sources

Release notes
Commands - Code Generator Tool Guide for Command Line and Ant Task
Reference (WSDL2Java and Java2WSDL)
Constants
Code Generator Wizard Guide for Eclipse Plug-in
Service Archive Generator Wizard Guide for Eclipse Plug-in


Programming Model:
  • Improved XML-centric client API with full WSDL and policy support
  • Support for POJO and Spring services and clients
  • Support for any message exchange pattern (MEP)
  • Synchronous and asynchronous programming model
  • Archived service deployment model supporting full service encapsulation with versioning support
  • Archived module deployment model supporting controlled extensibility with versioning support
  • Hot deployment
  • WS-Policy driven code generation extensions
  • Flexible service life cycle model
  • Automatic support for POX (REST) style invocation of services
  • Support for querying service's WSDL (with ?wsdl), schema (with ?xsd) and policies (with ?policy)
  • WSDL 2.0POJO annotation (JSR 181)
  • JAX-WS intregration
  • Custom Deployers
  • Binary serialization (Fast Infoset)
  • JSON support
  • EJB Provider support
  • Supported Specifications:
  • SOAP 1.1 and 1.2
  • Message Transmission Optimization Mechanism (MTOM)
  • XML Optimized Packaging (XOP)
  • SOAP with Attachments
  • WSDL 1.1, including both SOAP and HTTP bindings
  • WS-Addressing submission and 1.0
  • WS-Policy
  • SAAJ 1.1
Transports:
  • HTTP, SMTP, JMS, TCP
  • Supported Data Bindings:
  • Axis Data Binding (ADB), XMLBeans, JibX, JaxMe (Experimental), JaxBRI (Experimental)
Tools:
  • WSDL2Java, Java2WSDL, Eclipse Plugins, Maven2 Plugins, ...
XFire
official and wiki
JIRA
and mail

  • Support for important Web Service standards - SOAP, WSDL, WS-I Basic Profile, WS-Addressing, WS-Security, etc.
  • High performance SOAP Stack
  • Pluggable bindings POJOs, XMLBeans, JAXB 1.1, JAXB 2.0, and Castor support
  • JSR 181 API to configure services via Java 5 and 1.4 (Commons attributes JSR 181 syntax)
  • Support for many different transports - HTTP, JMS, XMPP, In-JVM, etc.
  • Embeddable and Intuitive API
  • Spring, Pico, Plexus, and Loom support.
  • JBI Support
  • Client and server stub generation
  • JAX-WS early access support

Howto use wsgen and wsdlgen
Client and Server Stub Generation from WSDL
Web Services on XFire – Fast Forward to 2007
Eclipse Plugin
Axis vs XFire
Stack Comparison

CXF
official and wiki
JIRA and mail

  • JAX-WS frontend
  • Java2WSDL and WSDL2Java tools and Maven plugin
  • SOAP 1.1 & 1.2, XML and RESTful HTTP bindings
  • JAXB 2.0 Databinding support
  • JSON support with Jettison
  • WSDL 1.1 support
  • WS-Addressing, WS-ReliableMessaging, and WS-Policy support
  • MTOM attachment support
  • HTTP, Servlet, JMS and Local Transports
  • Simple POJO service frontend
  • Javascript frontend
  • JBI Service Engine. CXF services can be deployed into any JBI compliant container (ServiceMix or OpenESB)
  • JCA 1.0 support, J2EE application can integrate with legacy application through JCA 1.0 support in CXF
  • Spring Support

Reease notes
wsdl-to-java

JAX-WS
official and wiki

  • JAX-WS 2.0/2.1 (JSR 224)
  • WS-I Basic Profile 1.1
  • WS-I Attachments Profile 1.0
  • WS-I Simple SOAP Binding Profile 1.0
  • WS-Addressing 1.0 - Core, SOAP Binding, WSDL Binding

Other resources

WSDL Version 1.1
WSDL Version 2.0
Web Services Addressing 1.0 - WSDL Binding
SOAP Version 1.2
ESB
BPEL
JAX-WS

Monday, June 25, 2007

SVN and CVS

SVN wiki
SVN - is Subversion
TortoiseSVN official and wiki
Tigris official

CVS wiki
CVS - is Concurrent Versions System
TortoiseCVS official and wiki

Links:
List of revision control software
SVN vs CVS
CVS to SVN Crossover Guide