Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Deploy MS Access DB on Server

 
De La Hai
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello !

I am trying to deploy a *.mdb file along my ear-project on the glassfish server. But I have no clue how to do it ... . Obviously just hanging the mdb-file to the ear-project // ejb project doesn't work.

Can someone tell me what is the general method to deploy a MS Access Database along with your EAR-Project ?

Unfortunately I need to use MS Access....
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
MDB files are just that: files. Have you encountered problems when you tried using them from someplace on the server? And yes, they won't work inside of war/ear files.
 
De La Hai
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,

My Server is Glassfish v2 can you tell me where I can put my DB file ? In which Folder can I put my file in order to read it from my EJB ? or is it even possible to read it from the EJB ? or is the EJB (SFSB) bound in anyway to a namespace on the server ?



This is the code which is called from my SFSB ... for this instance , where do I have to put my DB.file on ?

Thanks in advance
 
De La Hai
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
okok , I have noticed my misunderstanding ... :p ... nevermind my stupid posts ;)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic