• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

jndi best practices

 
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi friends,

I am in an issue with my web application. here is some description about that issue --> where should is put my JNDI properties file.

currently i have put that file in a working directory made for that tamcat in eclipse.

My problem is my development team is extended and every time i make some changes in the jndi file, i am forced to change and provide a copy of that file to all the developers.

i want to investigate where else can i save this file so, the change process will be stream lined.

i use SNV to share my project between team, and working directory is not shared.


 
Bartender
Posts: 10336
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Put it under source control and write a build script (also under source control) your team mates can use to deploy it.
 
vijay shanker
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi paul,

this is what i am planing to do for this. But we currently not using any build tool. can you please suggest some good tool for our problem with source code support.

i tries to study and implement both ant and maven, but they are to complicated for me.

as they what modularity in the project. I also understand the need for modularity and it should have been there form start. But I did not go with because, when i started all this project.

How should i proceed to create a good web project.
 
author & internet detective
Posts: 41860
908
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

vijay shanker wrote:i tries to study and implement both ant and maven, but they are to complicated for me.


They are the standard solutions and it would be wise to learn one. Ant and Maven can get extremely complicated, but the basics shouldn't be. As far as I know, Maven is easier if your projects are organized "the Maven way" otherwise Ant is. Since it sounds like you aren't following Maven's approach, I think you will find Ant easier to setup on your project.
 
vijay shanker
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Jeanne Boyarsky,

In between i have created my whole project as a maven project. all dependency are added to a POM. I am also able to run this project in eclipse embbeded server.

Now i got some issues with tomcat-maven-plugin
as my project requires javax. activation jar and so is container.

So i need to find out a solution that will help me out to satisfy both the dependencies


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic