RUVIDEO
Поделитесь видео 🙏

Two Databases Configuration using Spring Roo смотреть онлайн

A special thanks to jD from whose tutorial and files I could create my video:
http://viralpatel.net/blogs/2011/01/spring-roo-two-database-configuration.html

You can find all files used in this video here:
http://dl.dropbox.com/u/13667204/YouTube/Twodb-Roo.rar

1) Take the db.roo and copy it into the spring-roo-X.X.XRELEASE folder within the springsource installation folder (min 0:07 - 0:20)

2) Now open this file (db.roo) and change "--password password" with "--password yourpassword" in the first line of this file (min 0:20 -0:40)

3) Create two new schemas in your mysql and call the first one "twodbone", and the second one "twodbtwo" (min 00:40-01:07)

4) Open STS and click on "Spring Roo Project", "twodb" as project name, and "org.twodb" as Top level package name.folder (min 01:11-01:43)

5) Write into the Roo Shell: "script --file db.roo" and press ENTER (min 01:43-02:30)

6) Open the TWODB folder and copying and overwriting all the files prepared:
copy aplicationContext.xml into the META-INF/spring folder
copy database.properties into the /src/main/resources/META-INF/spring folder
copy persistence.xml into /src/main/resources/META-INF folder
copy web.xml into /src/main/resources/WEB-INF folder
copy DbOne.java and DbTwo.java into /src/main/java/org/twodb/domain folder
(min 02:50-03:30)

7) Open the database.properties file and change database.password and database.url if they are set not correctly (min 03:32-03:45)

8) Open with the Text Editor the applicationContext.xml file and replace "org.josean.twodb" with "org.twodb". Do the same thing with the persistence.xml file (min 03:46-04:12)

9) Open with the Text Editor the web.xml file and replace "twodb" with the name of your project, in my case was the same (min 4:13-4:21)

10) Open DbOne.java and DbTwo.java files and replace "org.josean.twodb" with "org.twodb"(min 4:22-4:40)

11) Right clik on the project, Run As, Run on Server, Finish to start the server (min 4:49-5:30)

12) Test some CRUD operations and control their actions on respective databases (min 5:30-8:05)

13) Copy log4j.properties into /src/main/resources folder (min 8:05-8:20)

14) Right clik on the project, Run As, Run on Server, Finish to start the server (min 8:21-8:53)

15) Test again some CRUD operations (min 8:53-10:50)

Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Two Databases Configuration using Spring Roo» бесплатно и без регистрации, вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.

Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.

Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!

Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.