Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Attaching an Image  RSS feed

 
Rohan Kalra
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey,
So I'm having problems attaching an image into a java application. The application is mainly JDBC oriented and connecting to a database, but I would like the image to remain on the local machine but the location should be referenced in the database so that we can pull it up. Each image is associated with a person whose details are to be stored in the database.
Does anyone know how I can do this?
Thanks,
Rohan
 
Joe Ess
Bartender
Posts: 9406
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should have mentioned your previous post as it contains a lot of information about your project.
Also, your project sounds a lot like homework. You need to do your own homework, as well as mention the parameters of your assignment. There are lots of solutions that would make sense in the real world but may be constrained in your assignment. Mentioning them ahead of time will save us a lot of time and energy. For example, do you really want to locally cache images? It may be more trouble than it is worth because you have to identify when images have changed or been deleted on the server. Are you certain that storing images in the DB and downloading them will be a performance bottleneck?
You say you are "having problems" caching. Exactly what problems are you having? You need to show you have made some effort at solving your own problems.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!