Home

This is the home of the ByteSource Wiki space.

Blogs

The Atlassian Confluence is a great enterprise wiki and colaborative tool which we intensively use along with other Atlassian products like JIRA. We also maintain several instances of the Confluence for our customers and from one of them we got a requirement which has no clear solution using existing Confluence features. The problem is that every document gets an unique ID in the moment of its creation and this ID is used for the whole life cycle.…
I have just seen that the new 11G XE beta is out for Windows and Linux x64 and decided to try it out. You can download it at http://www.oracle.com/technetwork/database/express-edition/11gxe-beta-download-302519.html. Unfortunately there is just an RPM and no DEB file. Here is the way how I achieve to run it on my Ubuntu 10.04 LTS x64. Create a .deb out of the RPM I used alien for the conversion, the resulting .…
We prefer the Google Web Toolkit (GWT) for creating rich intranet applications mainly for it's flexibility, fast development and availability of component frameworks. We also use Maven to build our Java projects. The combination of both frameworks works pretty good as Google provides all required artifacts via public repositories. In the last weeks we were evaluating the SmartGWT Enterprise Edition. The enterprise edition adds a lot of server side features.…
One of my colleagues asked me recently to help him with building and configuring a simple web application with support of Spring IoC and JPA. Application should serve as a simple platform for testing and its only goal is persisting and reading of several entities. He wanted to learn how to add new services, how to write JUnit tests etc. So instead of usual RTFM I decided to create a tutorial describing how to create such application and how to interconnect particular layers.…
If you use the dozer library from http://dozer.sourceforge.net, you will probably hate the fact that your application will try to connect to the internet and download the DTD from http://dozer.sourceforge.net/dtd/dozerbeanmapping.dtd . That is due to the DOCTYPE declaration in the dozer XML mapping file, e.g.: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE mappings PUBLIC "-//DOZER//DTD MAPPINGS//EN" "http://dozer.sourceforge.net/dtd/dozerbeanmapping.dtd"> <mappings> ....</?xml></mappings></!DOCTYPE>…
The dm-crypt tool is as an encryption layer for the device-mapper used by all major Linux distributions to encrypt storage volumes. I’m going to describe here how to use it for encryption of e.g. USB-sticks or any other removable media used quite often to transfer or backup data. LUKS LUKS (Linux Unified Key Setup) does not provide any encryption. It’s a tool creating and managing a partition header containing all information required by encryption/decryption tools.…
Audit information containing, at least, logged-in user id and timestamp can be very useful information for each persisted object. Customer's specifications do not usually mention it besides some cases when an entity requires some kind of sophisticated changes history tracking. From my experience having such an information quite often pays off. Our solution should fulfill several conditions: It must not add any additional work to the application developer.…
This how-to describes one way how to configure a liferay portal in a way that the credentials supplied (especially during the login process) are always encrypted (by using HTTPS) but still it is possible to browse the public content by HTTP for guest users. There is already a build-in property that should provide similar functionality (by setting company.security.auth.requires.https=true) but it seems to not work with the newer versions of tomcat (security feature,…
Below are the 45 labels used in bytesource public listed alphabetically. Click on a label to see its associated content.
aop, apache, archetype, blogs, classpath, configure, confluence, document, dozer, dtd edition, encryption, express, gwt, hibernate, http, httpd, https, install j2ee, java, jpa, jpa2, liferay, linux, login, managenent, maven, oracle
plugin, release, secure, security, smartgwt, spring, ssl, techblogs, tutorial ubuntu, usb-stick, visible_on_dashboard, wiki, xe 11g, 2