This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
The XE version has some restrictions on the number of processes.
Log into the database as SYS and run the command
where SomeValue is something higher than 100, try 200.
You'd need to restart the database after running that command.
And yes, don't repeat yourself in the code. Create reusable classes/methods.