[JBoss Tools] - J2EE 5.0 libraries (JBoss Tools) contains only subset of API
by henk de boer
henk de boer [http://community.jboss.org/people/henk53] created the discussion
"J2EE 5.0 libraries (JBoss Tools) contains only subset of API"
To view the discussion, visit: http://community.jboss.org/message/535019#535019
--------------------------------------------------------------
Hi,
Normally, I have the JBoss 5.1 Runtime added to my project, but today I noticed that Eclipse also offers an entry called "JEE 5.0 libraries" when adding a library to the project build path (project -> properties -> Java Build Path -> Add Library... -> JEE 5.0 libraries).
I noticed though that this doesn't really contain the entire Java EE 5.0 API. It know consists of:
* javax.annotation
* javax.ejb
* javax.enterprise.deploy
* javax.jms
* javax.persistence
* javax.resource
* javax.security.jacc
* javax.servlet
* javax.transaction
* javax.xml
This is surely a lot, but some important ones are missing like javax.faces and javax.mail. This might be confusing to users, who are maybe going to add those libs to their projects opening the door to all kinds of deployment problems.
A small extra thing, which might improve the perception of this library is its name. In the selector box it's called "JEE 5.0 libraries", but afterwards it's called "J2EE 5.0 libraries (Jboss Tools)". It's a small change, but adding the 2 in there might be confusing for users new to Java EE. Finally, although I personally don't really care about it, but I've noticed that some Java EE spec leaders are asking not to use the abbreviation JEE, but just use Java EE. See e.g. http://www.theserverside.com/news/thread.tss?thread_id=59733#333373 http://www.theserverside.com/news/thread.tss?thread_id=59733#333373 . Java EE might indeed be easier for users new to Java, who are a little intimidated by all those scary acronyms ;)
Hope this is helpful.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535019#535019]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[JBoss Tools] - Summary of My Impressions at EclipseCon 2010
by Brian Fitzpatrick
Brian Fitzpatrick [http://community.jboss.org/people/bfitzpat] created the document:
"Summary of My Impressions at EclipseCon 2010"
To view the document, visit: http://community.jboss.org/docs/DOC-15091
--------------------------------------------------------------
h2. Fitz's Impressions of EclipseCon 2010
First of all, I have to say that Oisin Hurley and Don Smith did a great job of organizing the conference. Though there was overall lower attendance than in previous years, the quality of the talks was higher and the number of people at each talk was significantly higher. As with all EclipseCons (this is my fourth EclipseCon and some years have been hit/miss), it's as much about the social aspects as the talks. And this year was no different.
That said, I attended a number of talks:
h3. WTP Uncovered: All You Need to Know About Building Applications With WTP
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1233 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1233
This presentation went way too fast for me and the presenters were a little less than organized, but if you go to the file link after the talk description above, you're able to download the slides and a working project that implements a RSS feed from a simple application. I plan on playing with this as time allows.
h3. Lions, Tigers, and Bears: Scrum, XP, and Continuous Integration at Eclipse
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1079 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1079
Dave Carver, one of the stronger and more vocal voices in the Eclipse community, presented some of his ideas and experiences around using Agile methods with Eclipse projects. (His slides are downloadable from the link above.)
Ultimately it all boils down to continuous communication as much as continuous integration. Communication with your developers, your users, and your community. He recommends integrating tools such as FindBugs and ECLEmma into the build process alongside simple test pass/fail results after running JUnit test suites.
Definitely check out his slides though, as he goes into some detail about the Agile Manifesto and how to make it work at Eclipse as well as Software Craftsmanship and making your code better.
h3. SOA at REST (John Graham's talk)
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1471 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1471
John's talk was interesting, as it discussed SOA and REST at a very high level instead of delving into any sort of best practices or code demo. Basically it boils down to using the simpler Internet Design Pattern of REST, with its gets and puts, for state workflow in SOA applications. To get his slides, look here: https://docspace.corp.redhat.com/docs/DOC-36528 https://docspace.corp.redhat.com/docs/DOC-36528
h3. KeyNote: Community and Adaptation
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1601 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1601
Jeet Kaul from Sun/Oracle and Steve Harris from Oracle did this keynote together to discuss the state of Java and Oracle post-merger. The main focus was on JEE 6, with some juicy tidbits about JDK 7's OSGi support under the covers and some of the JavaFX work that's going on. I think it will be interesting to see how Java changes under Oracle's mandates, but they're certainly putting effort into keeping the developer communities alive for Java.
h3. Eclipse, Eclipse, Everywhere
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1250 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1250
This talk focused on making sure developers and managers know about possible pitfalls when integrating with open source technologies and code. The danger of copied code from Google coming back to haunt a company later is certainly a good one to bring up. They mentioned a tool they used called Black Duck that searches their code repository for copied code and possible license issues, which is probably a good idea in any company to protect their intellectual property.
h3. A world-class Linux IDE: how do we get there from here?
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1203 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1203
Andrew Overholt, Dominique Toupin, and Doug Schaefer spoke passionately about the future of the Linux IDE. Like in many places in Eclipse, the Linux tooling could use some help here and there to simplify the job of the developer. It will be interesting to see how Linux tools development matures over the next few years.
h3. Graphiti - The Graphical Tooling Infrastructure Speaking Plain Java
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1306 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1306
Graphiti is a new Eclipse project proposal coming out of SourceForge that is supposed to simplify graphical editor development on the Eclipse platform. Simpler than GMF, but seems to do many of the same things. It takes an incoming EMF ecore model and uses GEF/Draw2D code to speed development for model-based UIs.
h3. Towards Contributors Heaven: from CVS and SVN to EGit/JGit
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1219 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1219
Git is one of those terms that's been thrown around a lot over the last year and a half at Eclipse. And not always in a good way. Though now it seems that has changed. The EGit/JGit movement at Eclipse has been swift and I think once the tooling matures a bit, I think it could be the wave of the future.
CVS/SVN require network connectivity in order to do anything with the repository. With Git you end up with a local copy of the entire repository, which means you can work disconnected and then upload changes and sync up with the main repo down the line.
In addition, the use of Gerritt for code reviews will be interesting, especially with the MylynReviews project coming up to speed. I think if we can do more with our source code control system AND handle a more structured method for code reviews, we'd be able to tow the line a bit better.
h3. Keynote: Rocket Science and the Republic
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1600 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1600
All I can say after this keynote from Dr. Jeff Norris of the NASA/JPL lab is... wow. It takes hundreds and thousands of people working diligently to create complex constructs. And though one programmer can't do everything necessary to design and control robots they're sending to the Moon and Mars, it takes everyone working together in their own areas of expertise and leveraging that expertise to get the job done. Amazing talk and I look forward to seeing what the next few NASA robot projects discover.
h3. Eclipse UI Test Automation with SWTBot
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1258 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1258
With a lot of focus internally on designing SWTBot tests at RH/JB, I thought it would be good to get more information about how to use the tool myself. The tutorial helped get my head around what SWTBot can do (test most of SWT, but has issues with the Forms toolkit and GEF editors) and I was able to write tests fairly quickly. It is a manual process, but it's not as bad as some UI test tools I've used in the past.
The PDF of the slides includes some good step-by-step tutorial bits on how to get set up and started with SWTBot, and I'll be trying it in some of our tools as time allows. I'd be especially interested in developing some use-case-based tests to test our tools from start to finish through a development process.
h3. Java EE 6, application development, OSGi, and Eclipse Users
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1226 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1226
This was a great talk, but unfortunately a good portion of it flew over my head. (I think my brain was already full by this point.) But I want to grab the slides and figure out what I missed.
h3. Eclipse Swordfish Reloaded
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1181 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1181
The STP project is no more and the SOA top-level-project will now take its place, merging SOA Tools and Runtimes together. In addition, there's a new SOA Industry Working Group, so it's nice to see there's some movement in this space at Eclipse.
Swordfish is an ESB runtime in Eclipse that looks interesting. Need to look into it further.
h3. The Future of Open Source (Panel)
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1563 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1563
What happens when you get four high-level open source folks on a panel led by Mike Miliknovich? You have some disagreements. This panel included: Justin, President of the Apache Software Foundation; Martin, CEO of Eucalyptus and ex-CEO of MySQL; Steven from Redmonk; and Jason from Apache/Sonatype. Mike asked several questions and I didn't get much out of it beyond "Open source fails at polish and 'pretty'". We already knew that and are working to improve it in our own tools. :)
h3. Keynote: Software Professionalism and the Art of Saying "No"
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1588 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1588
"Uncle Bob" Martin provided an entertaining talk about what "professionalism" means in software development. It all boils down to responsibility.
What did I take away from this talk?
- "Do no harm to the program's functionality" means reducing bugs to zero and taking responsibility when things do break
- TDD proves the absurdity of a QA group. QA should be redefined to set the quality criteria, not clean up our messes
- manual tests are desperately expensive
- try for 100% code coverage, though it's impossible to achieve
- If a project can't be done with current time/resources, say so. Take a stand for quality work. "Hope is the project killer" - don't say "We'll try."
- short iterations kill hope and inject reality
- short cycles allow us to fail frequently and give managers real data
- "The things you do under pure stress are your true disciplines." - Have to be able to say no to yourself and hold to your ideals & disciplines
- Say no to overtime - can only do what you can do
- Say no to meetings - meetings prevent progress
- Make your argument emphatically and work with management to achieve quality results
h3. Understanding and Using Git at Eclipse
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1220 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1220
Like the earlier Git talk, this tutorial just reinforced that Git isn't quite baked yet as far as functionality or UI in Eclipse. It's getting there. Give it 6 months or a year and they'll be 90% there. And I think we'll be using it into the future.
h3. Mylyn Reviews: Finding a new Home for ReviewClipse
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1400 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1400
Mylyn Reviews used to be the ReviewClipse project on SourceForge. The idea of merging the code review process into Eclipse is a great one. And I think by integrating with Mylyn's task-centric views, this will be a boon to us to use at RH/JB in our processes. Currently in incubator at Mylyn, but will graduate after Helios(?).
h3. Integration of BPEL with OSGi for an effective SOA Solution
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1087 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1087
Uses the BPEL editor code we do, but injects some OSGi specific orchestration abilities. Creation review next week (April 7, 2010). Code currently at spagic.org. Slides are available in the talk link.
h3. Eclipse SOA TLP: Lock, Stock, and Barrel
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1180 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1180
This is the new SOA top level project merging STP (SOA Tools) with runtimes in once place. Included are Swordfish, SOA Tools, eBPM, JWT, Mangrove, Governance, and Management tools/runtimes. We really need to see if RH/JB SOA can work with this functionality. Slides available at SlideShare.net, but don't seem to be downloadable.
h3. Other Talks
Beyond the talks that I attended, I also participated in a few talks/panels/BoFs. I've added slides where I can.
h4. Eclipse Community Project Spotlight
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1611 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1611
h4. Distributed Teams and Eclipse
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1156
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1156
h4. DTP in the Real World
http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1157 http://www.eclipsecon.org/2010/sessions/?page=sessions&id=1157
h4. DTP BoF Session
We actually had three non-PMC members attend our DTP BoF this year! Shengxoe from Oracle and Ray & Chris from Ingres dropped by and we had a lively discussion about the state of DTP and how we really need help from the community to stay alive. We were very encouraged by their interest in helping out by prioritizing bugs and creating patches wherever possible. We have a lot of work to do (huge bug backlog) and very few folks to do it.
--------------------------------------------------------------
Comment by going to Community
[http://community.jboss.org/docs/DOC-15091]
Create a new document in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=102&co...]
14 years, 9 months
Re: [jboss-user] [Spring Integration] - @Autowiring of beans from Spring applicationcontext
by Stefan Rufer
Stefan Rufer [http://community.jboss.org/people/stefanrufer] replied to the discussion
"@Autowiring of beans from Spring applicationcontext"
To view the discussion, visit: http://community.jboss.org/message/535008#535008
--------------------------------------------------------------
I struggled with a similar problem and solved it with the following configuration in web.xml of the WAR file exposing my SOAP service:
<!--
The MessageDispatcherServlet is the entry point for all kinds of
SOAP requests. It implicitely loads an application context file
/WEB-INF/<servletname>-servlet.xml if not configured otherwise.
However, as we want component scanning and everything
we configure an own application context and context loader.
Component scanning did not work if relying on the parent
Spring context (the parent context is the one loaded via
ContextLoaderListener). It only works if the default spring-ws
context mechanism is reconfigured to use the application context
in the classes directory. If done so, <import .../> and component
scanning works.
-->
<servlet>
<servlet-name>trxservice</servlet-name>
<servlet-class>org.springframework.ws.transport.http.MessageDispatcherServlet</servlet-class>
<init-param>
<param-name>transformWsdlLocations</param-name>
<param-value>true</param-value>
</init-param>
<init-param>
<param-name>contextClass</param-name>
<param-value>org.jboss.spring.vfs.context.VFSXmlWebApplicationContext</param-value>
</init-param>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath:applicationContext-web.xml</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>trxservice</servlet-name>
<url-pattern>/*</url-pattern>
</servlet-mapping>
Hope this helps
Stefan
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535008#535008]
Start a new discussion in Spring Integration at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months
[jBPM] - jboss-4.2.3.GA (guvnor) and web project
by Johanna Voxy
Johanna Voxy [http://community.jboss.org/people/voxy] created the discussion
"jboss-4.2.3.GA (guvnor) and web project"
To view the discussion, visit: http://community.jboss.org/message/535006#535006
--------------------------------------------------------------
Hi Guys,
i recently installed jboss-4.2.3.GA (guvnor StandAlone) to create web application. But actually, what i want to do is use guvnor's rule (the jboss-4.2.3.GA is also named guvnor) for a form i created in servlet.
To help you to understand what i'm trying to do... this is my project:
I (actually, my boss) have a website of Human resource and would like offer help to people having HR trouble in their company.
We have a form, and would like personalized the result page (when the user click on submit) using the rules of guvnor, but, i would like to be able to use servlet (just to display the form) and then, when the user click on the submit button, the guvnor takes the answers gave by him (the user), and then generate the corresponding result page.
I created my form in java servlet, but i don't know how to import the war file to guvnor. I also created the rules in guvnor, but i have to be sure, guvnor will take the inputs from the servlet form, and then create an output i could display in the result page.
Do you have any idea of how i could do this stuff? it is even possible with guvnor and the servlets?
Thank you for any answer.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/535006#535006]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
14 years, 9 months