NOTE: This entry contains outdated information. Please refer to oracle.com/weblogic for more up-to-date releases.
Oracle WebLogic team delivered a Virtual Developer Day highlighting the benefits of WebLogic to the developer community. The recent WebLogic 10.3.4 release supports some of the key Java EE 6 APIs (JSF 2.0, JPA 2, and JAX-RS 1.1) and a full Java EE 6 compliant server is coming with the next major release. I helped them deliver a Java EE 6 session and how these technologies fit in the upcoming WebLogic releases. In summary, three releases are slated for the next major release:
WebLogic Developer Web Profile
WebLogic Production Web Profile
WebLogic Full Java EE 6
More details about Java EE 6 and how WebLogic is planning to embrace them is available in a replay of the webinar available here. Please use the login/password used during registration.
If you are interested in using Java EE 6 today, then GlassFish provides Web Profile and Full Platform already!
More webinars coming to your timezone:
Feb 10, 9:30am UK Time / 10:30 am Central European Time Feb 17, 9:30 India Time Feb 24, 9:30am China Time
Here is the edited transcript from the session concluded earlier this week:
Question 67 JEE 6 is reducing in code, is that also offer higher performace compare to the previous one ? if yes, how many etter ? is there a sampe application that rebuit for comparison benchmark in speed ? Answer 67 The code is certainly reduced, performance is really application dependent as there are no such requirements in the specifications. But typically application server vendors do provide better performance. Check your particular use case though. No such standard application exist for benchmarking.
Question 64 Thanks Arun. Good work. Looks like I need to explore "Web Profile" hands on :) Answer 64 Please do and let us know your feedback.
Question 65 will we have this presentation for further reading? Answer 65 Yes, will be made available in a "thank you" email post webinar.
Answer 66 Thank you very much for attending the session! The slides will be shared with you in a "thank you" email and a transcript of Q&A will be made available as well. Please stay engaged with us at OTN forums: http://forums.oracle.com/forums/forum.jspa?forumID=570
Question 63 Can we use CDI, Transaction management & Security on a non-JavaEE app? Like standalone apps? Answer 63 CDI specification does not provide that capability but Weld (Reference Implementation of Weld) has some portable extensions that allow you to leverage that capability in non-Java EE, for example Java SE, environment.
Question 62 But doesn't the dev web profile lack JMS and full EJB features? Answer 62 Right, but you can single server mode for full platform for development.
Question 61 Any plans to have a lighter weight dev profile for the full platform? It'd be nice to have something that strips out the unneeded management features, but keeps all the JEE features. Answer 61 That's what is addressed by Developer Web Profile :-)
Question 58 Will there be less time between Java EE versions? My only concern is our big apps can't be migrated every year :-) Has Oracle a clear and public commitment to not break compatibility too early? Answer 58 Java EE guarantees backwards compatibility but evolution of specs is important.
Question 60 Are there any customers who were "happily" able to move out of Spring to implement JEE6 : ) ? Answer 60 Here is one sample: http://blogs.sun.com/stories/entry/egesa_engineering_avoids_framework_explosion
Question 59 Superb presentation - thanks, Arun! Answer 59 thanks a lot, glad you liked it.
Question 57 while weblogic may be more advanced, after having played with it for a whle, I find it considerably more difficult to use than OC4J Answer 57 Please provide more feedback on our OTN forums: http://forums.oracle.com/forums/forum.jspa?forumID=570
Question 56 Thanks Arun, it was nice & worthfull presentation Answer 56 Glad you liked it.
Question 55 is there support for Java EE 6 in JDeveloper? Answer 55 Full Java EE 6 support for JDeveloper will be in 12, which is part of the FMW 12 release and currently scheduled as the next major release.
Question 54 Java EE6 annotation means configuration change implies more code changes = more build and deploye = more risk?? Answer 54 But quicker identification of errors because of lesser code.
Question 53 Can all of this question be bundled as zip after the session and downloaded by us ? Answer 53 I'll post the entire transcript on blogs.sun.com/arungupta.
Question 51 Thanks nice presentation. So what's with the "Up next" videos from you tube: School Rumble, X-Men Evolution, and The Beatiful Life. Does this mean we need to get a life? Answer 51 Hee hee ... having fun is important. Blame youtube for showing "Up Next" links :-)
Question 39 How do you manage transactions in restful webservices? Answer 39 Here is an example of TX in RESTful web services: http://blog.jonudell.net/2007/05/24/restful-web-services/
Question 48 Hi Arun, I do not see any updates after question 35. Do you have any technical issues? Answer 48 I've answered upto Question 47, still looking into answering your TX/REST question though.
Question 47 Are the Web Profiles part of the Standard JEE6 or only part of Weblogic Server? Answer 47 Java EE 6 Web Profiles are standard defined by the Java EE 6 Expert Group and WebLogic Server will start supporting them later this year.
Question 21 Hi. We have a big enterprise app, J2EE 1.4, with lots of reads from Internet (Struts/JSP/JSTL), and huge updates from our intranet. We had to drop container-managed persistance because resource usage, used bean-managed instead. Which is the best path for migration to JEE 6? Any best practices or adv Answer 21 J2EE 1.4 was many years ago, the spec and implementations have evolved a lot since then. I'd consider migrating to Java EE 6 using JPA 2/EclipseLink combination, or may be Coherence to better the performance.
Question 46 Where are the slides? I'm behind a firewall and can't see the Youtube video on the left. Answer 46 It'll be communicated in "thanks for attending" email, please stay tuned.
Question 45 There is a slide that indicates that with JavaEE6 the amount of XML is reduced by 80 percent. But I guess that reduction is only on the amount of configuration XML that we are currently doing with JavaEE5 and that the savings in XML does not refer to XML being served by the applications. Answer 45 If there is no XML in the application, then it is not served to the client :-) With annotations, no XML is generated on the fly.
Question 44 can more classes be added as needed to a web profile server? Answer 44 Sure, as long as the basic web profile compliance is met.
Question 43 What are the options for developing workflows in EE6? Answer 43 There are no JSRs as part of Java EE 6 that allows you to manage workflows today. But most of the vendors offer a product in that area.
Question 42 In a simple manner, how we can define advantages of JEE6? Answer 42 Simpler to use, light-weight deployment, flexible, extensible.
Question 41 80ess XML, I guess you mean configuration XML, correct? Not XML transported say as part of web services. Answer 41 Not sure I understand. Can you please restate ?
Question 40 On your Bean Validation slide you mention that validation is now shared among JSF and JPA. On your Email example it makes sense for JSF, but does that also mean that the email address is validated before being persisted by JPA? Answer 40 yes, if that is the constraint specified then it'll be honored by both JSF & JPA. However JPA bean validation constraints can be managed using persistence.xml and you can even disable it if you prefer it that way.
Question 38 Is it xml descriptors lose thier visibility once annotations become standards? Answer 38 XML descriptors override whatever is specified in annotations.
Question 36 Are Portlet API 2 (JSR 286) and WSRP 2 part of JEE 6 ? Answer 36 Nope, they are not.
Question 31 The J2EE is compatible with the current OAF used in Oracle EBS R12? or I need development all the new requirements with J2EE and ADF? Answer 31 Yes, it is. You still can use OAF. More details at: http://blogs.oracle.com/stevenChan/2008/04/new_whitepaper_ebusiness_suite.html
Question 37 Arun, are there best practices for migration an enterprise app from J2EE 1.4 to JEE 6? Answer 37 Java EE requires backwards compatible so your J2EE 1.4 apps would work seamless on a Java EE 6 compliant container. Then start taking migrating in a piecemeal manner, start with Servlets to begin with, then EJBs. Mostly the refactoring is about deleting the existing code :-)
Question 35 why the removal of dependency on xml based descriptors proposed Answer 35 To simplify the code, less XML less code is more easily maintainable.
Question 34 How we register FacesServlet for JSF without using Web.xml in JEE6 Answer 34 For that you do need web.xml. However Servlet 3.0 compliant containers can automatically register FacesServlet (using Servlet dynamic registration APIs) for you by introspecting your WAR file and looking for any JSF 2 specific annotatins.
Question 33 Is supported a conversation scope in JEE6 Web profile? Answer 33 @ConversationScope is a standard scope defined by CDI and is part of Java EE 6 web profile.
Question 32 I'm not following what Managed Beans do that EJBs don't -- you already mentioned EJBs have features around security that MBs don't. Why use MB? Answer 32 Start small, and then scale when you need to . ManagedBeans are light-weight EJBs but you need to create your own interceptors for all the functionality. EJBs provide declarative security, TX, etc by just using an annotation. You can start with ManagedBeans to begin with and then migrate to EJB by changing @ManagedBean -> @Stateless.
Question 30 What are the best use cases for managed beans? are these container managed objects? Answer 30 ManagedBeans are light-weight EJBs but you need to create your own interceptors for all the functionality. EJBs provide declarative security, TX, etc by just using an annotation. You can start with ManagedBeans to begin with and then migrate to EJB by changing @ManagedBean -> @Stateless.
Question 28 How does JSF configured in Java EE6? Answer 28 JSF implementation is included as part of Java EE 6 so there is no explicit configuration required. You do need to register FacesServlet for rendering your .xhtml pages though.
Question 29 Is the Schedule annotation standard or does it work only for WLS? Answer 29 @Schedule is a standard annotation and is part of EJB 3.1. It'll be supported by WebLogic Web Profile.
Question 26 Arun, can I download the presentation? Answer 26 There will be links available after the webinar is over.
Question 27 Why do we need a EAR file if everything is packaged in WAR Answer 27 You may need EAR for modular applications where you do have multiple beans.jar files and they need to be accessed from different Servlets etc.
Question 25 And what are suitable IDEs for JEE 6 Answer 25 NetBeans, Eclipse, and IntelliJ provide Java EE 6 development. NetBeans is by far the best one with all the wizards etc pretty robust. Eclipse is pretty good too and IntelliJ support is pretty basic.
Question 24 Will web.xml file will be still be used in J2EE deployment Answer 24 It becomes optional for most of the common cases, but you can still use it if you prefer that way. web.xml anyway overrides the annotations in the class files.
Question 23 what are the supported application server for JEE 6 Answer 23 Today, GlassFish, TmaxSoft, and JBoss (Web Profile only). And WebLogic has some pieces of Java EE 6 (JPA, JSF, JAX-RS).
Question 22 Can I use managed beans to replace EJB's? Answer 22 Yes, you can. But with managed beans, you'll have to write your own Interceptors for security, transactions etc though.
Question 20 Does web.xml descriptor file goes away altogether with JavaEE6? Answer 20 web.xml becomes optional for most of the common cases. However you can still use it if you want to.
Question 19 i'm an professional without employment, so how can Oracle help me to get an Java certification? Answer 19 Please look at http://education.oracle.com for more details.
Question 15 where do we find the blog url? Answer 15 Blog URL for WebLogic server is: http://blogs.oracle.com/WebLogicServer/
Question 12 Isnt GlassFish better equipped for JEE6 and Free? So for small to medium size applications, what is the argument for WebLogic? Answer 12 If you need an open source Java EE 6 implementation today, then GlassFish is the answer. WebLogic provides a much tighter integration with Coherence, Database, provide extensive clustering etc.
Question 18 When will jDeveloper support Jave EE 6? Answer 18 Full Java EE 6 support for JDeveloper will be in 12, which is part of the FMW 12 release and currently scheduled as the next major release.
Question 17 What about Jdeveloper is it as good as the Netbeans? Answer 17 JDeveloper is good for ADF type applications with a tighter integration with your application stack. But if you are interested in Java EE 6, then NetBeans is your answer today.
Question 11 Can it be used for J2EE 6 development Answer 11 JDeveloper cannot be used for Java EE 6 development today. Full Java EE 6 support for JDeveloper will be in 12, which is part of the FMW 12 release and currently scheduled as the next major release.
Question 14 Exist any relation between JEE 6 and OSGI ? Answer 14 Nope, Java EE 6 define application programming model. OSGi defines modularity and class loading mechanism. There will be some alignment coming in Java EE 7 though.
Question 8 Where do I learn more about EL 2.2? Answer 8 EL 2.2 spec (http://jcp.org/aboutJava/communityprocess/mrel/jsr245/index.html) is a good place to start. There are several documents available. You can also take a look at Java EE 5 tutorial: http://download.oracle.com/javaee/5/tutorial/doc/
Question 4 hi,i am a student in tunisia and i would like to know why oracle don't offer partnet student and free certification for student, i love very much java and sql but i can't be certified with high cotst that oracle impose? Answer 4 Please provide your email id and I can follow up with the requisite folks here @ Oracle.
Question 5 Is there an associated lab for this session? Answer 5 There are no labs available yet and we'll create ones as we get closer to the product release.
Question 7 How about Jdeveloper Answer 7 JDeveloper does not support Java EE 6 development today. Full Java EE 6 support for JDeveloper will be in 12, which is part of the FMW 12 release and currently scheduled as the next major release.
Question 6 What are all the IDE's ready for Java EE 6 development? Answer 6 NetBeans, Eclipse, and IntelliJ provide Java EE 6 development. NetBeans is by far the best one with all the wizards etc pretty robust. Eclipse is pretty good too and IntelliJ support is pretty basic.
Question 3 Is Java EE 6 fully supported by WLS 10.3.4? Answer 3 WLS 10.3.4 has support for JSF 2.0, JPA 2.0, and JAX-RS 1.1. Full compliance with Java EE 6 (including Web Profile) is coming later this year.
Answer 1 Hello all, welcome to "Exploring Java EE 6 and WebLogic" and we are ready to accept your questions.
NOTE: This entry contains outdated information. Please refer to oracle.com/weblogic for more up-to-date releases.
And here is a transcript of Q&A session from the webinar:
Q. How can I using NetBeans generate an entity class with SequenceGenerator annotation for a PostGreSQL table? A. If you use NetBeans to generate entities from database, it should do the right thing, based on the SQL types of your DB columns. If not, please file a bug report against NetBeans. Thanks.
Q. Do I need to have a good idea in Java EE 6 to attend this conference ? A. I would help a bit, but NetBeans is doing a great job at helping discovering Java EE 6 with GlassFish
Q. Is there a EOL for GlassFish? A. There is no EOL for GlassFish as a product. As the reference implementation for Java EE, GlassFish is a strategic product for Oracle. As with any software product, specific versions of GlassFish will EOL over time, as newer releases come out. For example, Oracle GlassFish Server 2.x will be supported until 2014, and we are working now on releasing GlassFish Server 3.1 in the near future.
Q. What is the link to file a bug report for NetBeans IDE? A. This should help: http://netbeans.org/community/issues.html
Q. Can we you eclipse instead of netBeans? A. Yes. The GlassFish Eclipse Plugin is available. Screencast #36 shows how to use Eclipse for Java EE 6 development and deployment with GlassFish.
Q. I would love to see a GF 3.0.2 fixing the known memory leaks. Any plans on that, or will it be GF 3.1? (And when?) A. Fixes for GlassFish Server 3.0.1 will be available either through a support contract (patch), or you can always publish an issue on issuetracker at http://glassfish.java.net, and it will get addressed in the trunk (and 3.1 releases).
Q. Hi, My name is Andrew. i'd like to know all the possible ways to pass values between different JSF pages.and the value which need to be passed is dynamic. A. The easiest way is to use the new Flash scope in JSF 2.0. Failing that you can put it in session and remove it. You could also use @ConversationScoped from CDI.
Q. Why we have no glassfish rpm packets even for Oracle Enterprice Linux? A. We have to support many Unix/Linux variant so we provide one shell script for all flavors including OS X. In the next release we provide topology creation in the installer which make a RPM less viable. Zip installs are also available.
Q. can you repeat? what blog? A. The blog we mentioned is hosted by Arun Gupta, blogs.sun.com/arungupta - and a link to all webinar content will always be available at http://glassfish.org/webinars/
Q. How do we do junit without depending on Glassfish server. I want my junit to be totally independent of runtime. A. If you want to test EJB and CDI code, you will need the embeddable container, which is server-specific. If you want to only test utility classes or JPA, this can be server-independent.
Q. is there any online classes on Java EE6 with Netbeans and GlassFish? A. This is a great starting page: http://netbeans.org/kb/trails/java-ee.html. See for example the 5-part video screencast.
Q. it is possible.. they dont have any support A. If you are asking about support for the products, yes - support is available from Oracle for GlassFish server, and for Netbeans you can go to http://netbeans.org/community/lists/index.html You can also obtain incident support for Netbeans from Oracle at http://netbeans.org/kb/support.html If you would like more information, please email email@example.com
Q. What kind of support is NetBeans providing for REST frameworks like Spring-RS? A. NetBeans has a very good and extensive REST support for JerSey (The reference implementation of JAX-RS) and GlassFish 3 which contains JerSey. For Sprin-RS you would need to regsiter as an external library... I am not sure how well it is tested with GlassFish, since there is no need to use a external RS implementation when one is provided in the Java EE 6 runtime
Q. I feel like this is just a heavy adaptation of the Ruby on Rails scaffolding capability, don't you think ? A. Yes, Rails definitely had a good influence on Java server-side development. Many good things in Java are inspired by Rails.
Q. where i can download Netbeans ? A. netbeans.org
Q. What is the difference between singleton EJB and an EJB with maxbeans-in pool=initialbeans-inpool=1 ? A. A quick answer is that the @Singleton annotation is defined by the Java EE 6 specification, is much more readable by developers, and less error-prone than editing container configuration (or other historical workarounds such as static fields). You can also ask at the GlassFish users forum at http://www.java.net/forums/glassfish/glassfish
Q. My Netbeans 6.9.1 does not have Servers or Glassfish on the Services tab, do I need Netbeans 7 to bring up Servers? A. Which edition of NetBeans do you have? If you have "all-in-one", then the Java EE development features may not be activated. When you start creating a web project, these features will be activated and you will see Servers. You need "Java" or "all-in-one" edition.
Q. What is the Oracle strategy to move forward with NETBEANS and Jdeveloper? A. Both will continue as supported IDEs at Oracle. Jdeveloper is usually for ADF development and other Fusion development. NetBeans is great for cutting edge Java SE/EE/FX/ME development. Large teams continue to work on both products. They are both swing based IDE tools -- JDeveloper may start to incorporate select netbeans features in the future.
Q. I understand netbeans IDE, but what is the benefit of glassfish? A. GlassFish offers a lightweight, modular Java EE 6 runtime. It offers rapid development features such as saving HTTP session state on redeploy.
Q. What make me move to glassfish since there's lot IDE tools ? A. GlassFish offers a lightweight, modular, and productive runtime for Java EE 6.
Did you know that NetBeans provides comprehensive tooling around several Java EE 6 technologies such as Contexts & Dependency Injection 1.0, Enterprise Java Beans 3.1, Servlets 3.0, Java Persistence API 2.0, Java Server Faces 2.0, Bean Validation and so on ?
Do you want to learn all of this in a FREE webinar and/or ask questions ?
Java EE 6 specifications are already approved! The Reference Implementation in GlassFish v3 and TCK will be released next week. An all-day virtual conference is planned on Dec 15, 2009 to provide all the details about the platform and the associated RI. The event will allow you to hear from the Java EE 6 specification leads, product leads and the engineering team.
Mark your calendars and get ready to drink from the firehose!
The complete event details with abstracts, speaker bios and more is available here.
I delivered a "Develop, Deploy, and Scale your Rails app on GlassFish" webinar earlier today. There were over 300 unique attendees. A complete replay of the webinar is available at sun.com/software/webinars.
Many thanks to all the attendees for showing their interest in the technology and the panelists who relentlessly answered all the questions. The demos shown are available at:
An edited transcript of the Q&A session is available below. All the names have been removed for privacy reasons.
Q: I took leave from office to attend ur seession..:) A: Thanks a lot, hopefully you'll enjoy it :)
Q: Is Rails an abbreviation? A: http://rubyonrails.org/
Q: can you explain the difference b/t jruby and ruby A: Ruby is a language and it's original interpreter is written in C. JRuby is pure Java based Ruby interpreter.
Q: What are the added benefits of installing JRuby on Glassfish - in compared to having it always in Rails app WAR? A: What you get is the Ruby way of developing apps, code-save-refresh or agile experience
Q: Is it true on GF v2.1 as well - since the Rails app will anyway have to be packaged in a war? A: On glassfish v2.x only WAR style Rails deployment is supported.
Q: Can I run existing rails application on GlassFish? A: Yes. sure.
Q: is there support for rails 2.3.2? having trouble getting glassfish to run anything higher than 2.2.x A: Yes, it is there. A: Please send an email to dev@glassfish with your issue, we would be happy to help you
Q: what additional config is rerquired to support rails? A: checkout http://wiki.glassfish.java.net/Wiki.jsp?page=GettingStartedGuide
Q: what I really was after is this: what is the difference of including JRuby (and dependent gems) inside your app war in compared to installing JRuby on GF and having only your own app in the war? A: When you go in to production , you freeze your gems with app. The thing with glassfish v3 is that you can deploy rails app as WAR as well as directory deployment
Q: on jboss, i have to patch activerecord to use jndi style datasources. is that necessary on glassfish, too ? A: No, you dont need to.
Q: do you have easy to follow lessons or tutorial for user to try a small real workable application to repeat what you are talking about from your website? A: Check out checkout http://wiki.glassfish.java.net/Wiki.jsp?page=GettingStartedGuide
Q: y glass fish used only in java A: GlassFish is a Java EE App Server
Q: Does Glassfish still have the PermGem out of memory issue when you deploy and undeploy applications. A: There is a reasonable default setting for PermGen in Glassfish but it depends on your app. You can always set the PermGen to higher value A: We have run significant number of tests to address this issue. If you do run into it, please let us know by sending an email to dev@glassfish
Q: what is mean by rails A: http://rubyonrails.org/
Q: what is jruby? A: Pure Java based Ruby interpreter. Checkout jruby.org
Q: what if i have glassfishv2 installed? is there any problem to install jruby gem glassfish? A: GlassFish gem can be installed in an existing JRuby installation only. For GlassFish v2, Rails applications can only be deployed as WAR file.
Q: so the PermGen out of memory issue is supposedly fixed in Glassfish v3? Or should be fixed also in Glassfish v2.1? A: when you start JVM there is PermGen space, scripting language interpreteres such as JRuby require higher perm gen. You just need to set it accordingly
Q: This may be a little off topic, but what are the Cons of using JRuby and glassfish? Because everything I've read is great A: There might be some ruby gems that have native extensions that do not work on JRuby. Having said that, most of the ruby gems that we come across at work on JRuby just fine.
Q: on jboss, serveral jruby runtimes are added. same thing on glassfish ? A: yes. you can configure the jruby runtime pool. See http://wiki.glassfish.java.net/Wiki.jsp?page=ConfiguringJRubyRuntimePool
Q: so why doesn't everyone use Jruyb? (over ruby MRI?) A: Its a choice and really depends on personal preference. BTW as a datapoint, hosting company such as engineyard.com has jruby based Ruby/Rails hosting
Q: is this presentation only for mac users? I am a bit shocked with this OSX desktop. I was hoping seeing some Opensolaris etc. A: No, it is not only for mac users
Q: does glassfish v3 already support cluster profiles? A: glassfish v3 does not support clustering
Q: i always asked myself if the multiple jruby runtimes write to the same log file. A: yes they do.
Q: so do you know when (in which release) will the clustering support be added to glassfish v3? A: It is planned for glassfish v3.1.
Q: apart from glass fish any other server supports A: mongrel, web rick work on jruby just fine.
Q: can we get support for jruby on jrails on glassfish? A: Yes you can. A: Sid, for details on GlassFish subscription support options, please email glassfish @sun.com
Q: yeah I saw that, a great option I think. I'm just at a state where I can pick either Ruby or JRuby, and JRuby seems far superior and can't really see any of it's fautls A: yeah, pick JRuby!
Q: Does Ruby create for us the basic GUI for each table? A: It's Rails that is creating the basic GUI for each table.
Q: why doesn't glassfish support clustering A: GlassFish v2.1 supports clustering and can be run in production environment.
Q: apart from glass fish any other server supports j2ee A: Which version of EE are you talking about?
Q: 1.6 A: 1.6 is not final yet, so glassfish is the only implementation of EE6 right now
Q: can you please email me the presentaion slides? A: Please see www.sun.com/software/webinars - the slides maybe there.
Q: i heard that apache and tomcat server not used for j2ee? is it so? A: Tomcat implements a subset of the Java EE specifications. It is not a fully compliant Java EE server. GlassFish is fully compliant (it's the reference implementation)
Q: We've been having some issues running Capistrano under JRuby on cygwin -- it gets confused about whether it's in a Windows or Unix-like environment. Any tips? A: Could be cygwin issue? If not please report with details to firstname.lastname@example.org
Q: What is Rail Application A: Check out http://rubyonrails.org for more details.
Q: sometimes, you might want to define a dedicated log file per deployed app. jboss logs everything to server.log by default. is it possible to define a dedicated log per app on glassfish A: I dont have an answer to this, you may like to bring this question to email@example.com A: I still dont see why this would an issue. As long as your logs shifts correctly and there is no locking etc. it should be fine. BTw, in production you limit your log anyway to severe error for perf reasons.
Q: so what're the benefits of using the glassfish gem versus mongrel or thin? A: High performance, jruby runtime pool, daemon mode etc.
Q: Is the v3 Glassfish gem considered to be production ready? A: Many users that I know already use in production.
Q: nginx or apache is recommended? can glassfish act as the comlete server? A: GlassFish v3 does not support clustering. It will be coming up in a future release. So you may like to use squid or nginx etc to scale your app
Q: this update is shown how it is updated on mac OSX? A: Update Center works on all platforms
Q: i'm new to glass fish beacuse i'm just a student....any websites or links that which makes 2 gain more knowledge on it..... A: glassfish.dev.java.net can lead you to more details
Q: hey i missed the earlier part of this presentation..! A: You can look at the recorded session later
Q: what is the built-in web server in glassfish used in the demo? wht would i use apache? A: grizzly + v3 kernel+ jruby container. You can use Apache to front-end a bunch of GlassFish instances running at the backend.
Q: how to add extra gems in directrory-based deployment? A: Just how you would use with any Rails app. gem install 'your gem'
Q: this is off the topic, is v3 glassfish going to implement directory based deployment for grails? A: GlassFish embedded is in works and yes in will support grails directory deployment or 'grails run-app'
Q: Is there a major performance difference between the gem and the standalone war-style deployments? A: Not much, With glassfish gem or glassfish v3 directory deployment, you are serving the requests at pretty low level. With war deployment its served by the web container
Q: in net beans only glassfish sever is implemented?if any other severs r there in net beans what are they..... A: There are many other servers supported by NetBeans
Q: can i get the replay after the webinar? A: Yes, the recorded session will be posted later at sun.com/software/webinars.
Q: in my company, we use a jboss / jruby / oracle setup. we have issues with newer version activerecord-jdbcadapter (> 8.1.0). is this a known problem ? A: No idea, consider switching to GlassFish as it works fine there :)
Q: ok, so how does glassfish handle updating the source for your rails app? will it fulfill existing requests and smoothly 'seesaw' to updated instances? ...or does it just drop everything, redeploy and start over? A: The experience is what you will get on native/MRI Ruby/Rails. glassfish embeds jruby using its internal API and rest is all Rails.
Q: so are gems pre packages apps to deploy? A: think of gem like packages for Ruby/JRuby platforms.
Q: Please send me a link where I can retrieve the replay of this audio and presentation coz the buffering is really disturbed out here.. A: http://www.sun.com/software/webinars/ - recording of this session will be made available
Q: Regarding java gc/memory flags, is there a recommended set of flags for optimal glassfish performance A: sun.com/glassfish/resources has a White Paper that shows how to tune GF. Although if you get the supported version, you get an add-on called Enterprise manager that can tune the server automatically.
Q: where will jruby be located when I install Jruby glassfish admin web page? A: glassfish-install-dir/glassfish/jruby
Q: can I use Netbeans to set up my JRuby on Rails app and Glassfish server, but then use another editor or cmd prompt to edit/add to my app? A: yes you can, although NetBeans provide a functionally complete IDE and serves all your needs.
Q: You are assuming that your server can access the internet. For example, to get the glassfish and Ruby and all upgrades and updates your update program gets the items from your server there on the internet. A secure vault does not have access to the intern A: True. But you can prepackage everything.
Q: JAVA AND JAVAC NO WHERE IN PICTURE A: GlassFish runs on java.
Q: is it possible to somehow change the rails.env setting _after_ a WAR has been generated? Or does it always require re-warblerizing? A: warble config; edit config/warble.config to change. Otherwise export RAILS_ENV=production
Q: How would you debug if you packaged the Rails app as a warfile? A: Thats an issue with the WAR based deployment. You should use directory deployment, specially for your development.
Q: all the server and application for jruby, integration also work on Windows XP professional? A: Yes, it should work on Windows XP
Q: so jruby is really ready for primetime? good compatibility with existing gems and plugins? A: yes it is.
Q: A different take on my blog post of the same topic http://javaevangelist.blogspot.com/2009/08/redmine-084-deployment-on-glassfish-21.html A: thanks!
Q: Who is the best person to talk to about Grizzly failing to handle multi-part posts in a jruby rails app? A: Please send email to dev@glassfish. Vivek Pandey is the lead for scripting in GlassFish
Q: are there any supports for pre-compiling ruby code to java byte code? It would be great if I can hide my ruby code when I release my apps as war. A: I know there is some jruby option that lets you do it. Either check on jruby.org or post it to users@jruby or #jruby on irc
Q: while we are using netbeans no problem because servers are inbuilt in the netbeans itself while we usin the ordinary notepad how the servers are to be implemented A: I do not understand what you mean by implementing a server. A server implemention is implementing to the JavaEE spec. I assume you mean deploying on a server
Q: is it possible to get access to the glassfish admin console using the gem? A: Sorry, not yet.
Q: so NewRelic is jruby and glassfish compatible? A: yep
Q: is there any way I can monitor server.log in glassfish admin web interface? A: http://docs.sun.com/app/docs/doc/819-3656/6n5s3qjga?a=view - See bottom of URL.
Q: what is the preferred hardware for jruby and rails ? our experience is: sparc is slow and 86based sun hardware is fast for jruby A: Not required but dual core or higher means better performance
Q: it is possible to implemet content management and ERP application with glassfish and has SUN such applications? A: We know users deploying Ruby/Rails apps in OpenESB or in SOA env. For ERP or other content management system, as long as you can run these on Glassfish you can surely host Ruby aps there as well
Q: do you have the recommendation for jruby on rails book and good glassfish book? A: There are several GlassFish books as listed at: http://blogs.sun.com/theaquarium/entry/more_glassfish_books. Practical JRuby on Rails is a nice book as well (http://www.rubyinside.com/practical-jruby-on-rails-book-by-ola-bini-625.html).
Q: Does Eclipse incorporate Ruby as NetNeans? A: Both Eclipse and NetBeans are IDEs. Both support ruby development
Q: any other new servers r gonna compatible with glassfish A: Once EE6 is final many other application servers will work towards being compatible with EE6
Q: what is the difference in case of performance between standlone war style deployement and gem deployement A: Not much. gem will give you faster development cycle, easier deployment beside being very light weight (4MB) vs for WAR you need full server.
Q: is there any other IDE which supports ruby dev A: Not integrated deployment and server side debugging. You can develop Ruby app on IDEA/Aptna studio etc. Typicaly you just need vi or text mate etc.
Q: why can't i run a project developed in netbeans 6.1 on netbeans 6.5 A: Please send an email to the netbeans forum
Q: can I deploy any ruby app I find on jruby? A: JRuby 1.3.1 is 1.8.6 compliant and going to be using 1.8.7 as the baseline for upcoming JRuby 1.4. The JRuby team is also working on adding Ruby 1.9 compatibility.
Q: i've seen in netbeans at the end of netbeans it is end with IDE what is meant by IDE A: IDE = "Integrated Development Environment" A: There is a JRuby-specific distribution of NetBeans IDE
Q: why can't i run a project developed in netbeans 6.1 on netbeans 6.5? A: You should be able to. If not, try posting to the Netbeans User's alias.
Q: We've been using JRuby on Windows, and are deploying to Solaris using Capistrano. We get mysterious problems establishing an ssh connection that we don't get when we use native Ruby. Any ideas on this? A: Please send more details to firstname.lastname@example.org A: I guess I would need more details on this. you may like to post more info to users@jruby or #jruby irc A: Paul: if you have purchased support - go through the support channel to address the issue quickly.
Q: Programming wise: are there any differences between ruby and jruby? b/c i think I'm now set on using glassfish, but I'd like to follow a lot of the tutorials out there, but almost all are for ruby A: JRuby can run any Ruby application 1.8.7 and even 1.9
Q: are there any good books on the topic ? A: There are several GlassFish books as listed at: http://blogs.sun.com/theaquarium/entry/more_glassfish_books. Practical JRuby on Rails is a nice book as well (http://www.rubyinside.com/practical-jruby-on-rails-book-by-ola-bini-625.html).
Q: the ide was complaining that some of the 'items' in the project are missing, how do i do it - netbeans 6.1 to 6.5 A: Sounds like a question that should be posted to the Netbeans email aliases. Sorry, the folks chatting away are GlassFish-centric.
Q: how i can more info about the EE6 and about the jruby A: EE6 can be obtained from http://jcp.org/en/jsr/detail?id=313
Q: can JRuby run on Windows 7 and Windows Server 2008? A: The only requirement for JRuby is JDK which is supported on those platforms, so yes JRuby should work there too.
Q: thanks! I was about to release my Jruby on rails glassfish in production. it encouraged me a lot! A: Good to know, please send feedback to email@example.com.
Q: opensource+jruby+glassfish resources on the web? A: jruby.org for JRuby, glassfish.org for GlassFish.
Q: so again there's full support for rails edge (2.3.2+) with the glassfish v2 server? A: yes, you need to use warbler gem
Q: so since we already have a support contract with Sun we can also call you and ask about how to best deploy into production? A: please email firstname.lastname@example.org and we will immediately reply with a call or answers to your questions.
Q: Is jruby compatible with all its older versions A: They do maintain backwards compatibility. Ask this question at email@example.com for a normative answer.
Q: does dun provide jruby training? A: "Ruby, JRuby, and Rails development Development (with Passion!)" is a free course that offers that training. More details at: http://www.javapassion.com/rubyonrails/.
Q: can we deploy EAR on glassfish????? A: Yes, GlassFish is a Java EE compliant app server so any standard EE artifact, such as EAR, can be easily deployed.
Q: would purchased support require us to deploy on v2? A: No, you can choose the version of GlassFish you would like to deploy
Q: Can i build complex web system with glass fish, using such things as corba? A: Very much, feel free to ask detailed question at firstname.lastname@example.org.
Q: I would like to know what would be best platform to use Glassfish on? A: Being Sun, we prefer Solaris or OpenSolaris, but GlassFish also works well on Linux and Windows.
Q: how does jruby compare to ruby 1.9? A: JRuby team is working on improving compatibility with Ruby 1.9. Ask your specific question to email@example.com.
Q: Great job guys! I am excited to use this. A: Thanks, let us know your feedback on firstname.lastname@example.org.
Q: can glassfish be installed on amazon ec2? A: Yes. There is an AMI with GlassFish, OpenSolaris, and MySQL A: http://wikis.sun.com/display/sunsoftwareincloud/EC2+Glassfish
Q: is it very easy to deploy on glassfish A: asadmin deploy yourrailsapp-dir/
Q: So what is the real advantage using ruby? Why not just use java script or some existing language, and what does the Rails part refer to? A: Its Rails that makes it interesting. Rails is a complete MVC framework
Q: from where could i got jruby A: JRuby can be downloaded form jruby.org.