- This topic has 4 replies, 2 voices, and was last updated 18 years, 8 months ago by wshao518.
-
AuthorPosts
-
wshao518ParticipantI have a question about deployment. We have 2 webapps depending on 1 java project and this java project should be deploied under shared/lib. I played with deployment for a while and cannot figure out how to deploy to shared/lib directly by using myeclipse. Any solution or suggestion?
Riyad KallaMemberYou can’t, we only support deployment to well known locations. It’s not typical that people need to deploy “utility” apps to their app server’s install dirs, if you need to a quick Ant script should fix the problem. Sorry.
wshao518ParticipantThanks for replying.
Just have to clarify your point. Yes, it’s not typical to deploy things under shared/lib for small web applications. But we are talking about Enterprise solution here. Thinking about what an Enterprise web software have? Let’s say any big website, can you imagine they have only 1 web application? I cannot. For customer’s view layer, for sale’s view layer and for manager’s view layer, there will always be different web applications being involved. That’s an enterprise. And I cannot imagine those web application don’t share something in between them. Can you? I don’t understand why shared/lib is a installation directory while it’s empty and designed for you to deploy shared objects there, such as the most common thing – cache. Sorry, no offense, but if MyEclipse is named as enterprise solution, don’t you think it should have something match its name?
I am very happy with my eclipse since last year. And I won’t hesitate to buy new subscription after it expires. However, if you set your bar to be enterprise level. I think you can do more than just say sorry.
Riyad KallaMemberBut we are talking about Enterprise solution here. Thinking about what an Enterprise web software have?
Enterprise solutions a) wouldn’t be using Tomcat and b) would be deploying *everything* inside of an EAR to a J2EE 1.3/1.4/5 compliant application server.
Let’s say any big website, can you imagine they have only 1 web application? I cannot. For customer’s view layer, for sale’s view layer and for manager’s view layer, there will always be different web applications being involved.
Correct, and you would be deploying all of these as modules in an enterprise application archive.
Sorry, no offense, but if MyEclipse is named as enterprise solution, don’t you think it should have something match its name?
Yes. File > New > Project > MyEclipse > J2EE > Enterprise Application Project
The problem here is that you are trying to aparently use Tomcat as your enterprise solution, it has never been and will never be intended for this use case. You need a full J2EE/JEE compliant app server like JBoss, Glassfish, WebLogic, WebSphere, etc. Just the wrong tool for the job.
wshao518ParticipantWell, I am not sure how many companies here in sillicon valley are still staying with J2EE. We were working in EA and EA.com’s architect is still sitting besides me. We used Weblogic and were one of Weblogic’s biggest users. Weblogic used to have developers sitting side by side to us in EA and we fixed a lot of their bugs. However, if you goto EA.com today. It’s using Tomcat. I know Sony Online is using Hibernate. I know my friend’s company is developing next generation of web application for a big insurance company is using Tomcat. Actually, I don’t really know any1 around here in big companies is still using J2EE. And as long as people just need a JSP/Servlet container, I don’t see anything wrong with Tomcat. I am not sure you are saying Tomcat or MyEclipse is the wrong tool for my job. But thanks for pointing that out for me.
-
AuthorPosts