I installed the J2EE_SDK on my computer,but it can't run with command line. If use "j2ee -verbose",there's an exception: java.lang.NoClassDefFoundError: Files\Common If use the Start_J2EE in start_menu,it run successfully.
You can use the deploytool which is an additional tool in J2EE_SDK to deploy EJB on J2EE server,or you have to use another server such as Weblogic server.
I test the length of String from 32k to 15M(the size of memory on my computer is 384M) the length can be any digit less than 15M, when the length is 15M,exception: Exception in thread "main" java.lang.OutOfMemoryError