Win a copy of Node.js Design Patterns: Design and implement production-grade Node.js applications using proven patterns and techniques this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
Sheriffs:
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

Same EAR, same context name, different ports?

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello. I'm new developing complex EAR files with multiple web and EJB modules.

I need to know if is possible to deploy an EAR with two (or more) web modules in the same context name but in different ports.

I.e:

http://localhost:8080/web-application
http://localhost:8082/web-application

These are different applications but are web modules inside the same EAR.

Now, I'm using two separated Tomcat instances running in different ports and AJP connectors, but I want to move to EJB and share application logic through web applications. Also I want to use Local interfaces only.

GlassFish or JBoss AS are the applications servers that I'm considering use.

Thanks In Advance!
 
When all four tires fall off your canoe, how many tiny ads does it take to build a doghouse?
Thread Boost feature
https://coderanch.com/t/674455/Thread-Boost-feature
reply
    Bookmark Topic Watch Topic
  • New Topic