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

Can I develop standalone application as a web project  RSS feed

 
Sac Jadhav
Greenhorn
Posts: 21
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Can I develop standalone application as a web project. I want to develop one standalone database management project. Please suggest me the technologies.

Thanks
 
Kumaravadivel Subramani
Ranch Hand
Posts: 171
Java Linux Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What are the requirements?
 
Amit Ghorpade
Bartender
Posts: 2856
10
Fedora Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By standalone you mean something that does not communicate to other server/services?
Database management can mean a lot more things, can you please provide details?
 
pravin rasal
Ranch Hand
Posts: 63
  • Likes 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You want to run your application on internet or on desktop. You can create project as a web application and run on single desktop only you have to take URL and run your system
 
Sac Jadhav
Greenhorn
Posts: 21
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I want to run my application on desktop. It will be a database management project for a medical shop. It will be used on a single machine. So Please suggest me ...should I devlop it as a web application or desktop application. I thought that if I make it as a web application then it will be easy for maintenace...
 
pravin rasal
Ranch Hand
Posts: 63
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how you think that it is easy for maintenance .I think you should developed your application in core java not in J2EE (web application)
 
Sac Jadhav
Greenhorn
Posts: 21
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
So should I devlop it in Swing??
 
pravin rasal
Ranch Hand
Posts: 63
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes this is better way to developed your application in swing.
 
Sac Jadhav
Greenhorn
Posts: 21
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
pravin rasal wrote:Yes this is better way to developed your application in swing.


Thanks Pravin. I want to develop this application in regional language. How should I Proceed
 
Tim Moores
Saloon Keeper
Posts: 3512
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is a "regional" language?
 
Sac Jadhav
Greenhorn
Posts: 21
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Tim Moores wrote:What is a "regional" language?


want to develop application in Indian language i.e. Marathi or Hindi
 
Tim Moores
Saloon Keeper
Posts: 3512
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by that? Java can generally handle any language that's part of Unicode, and for which you have fonts installed.
 
Sac Jadhav
Greenhorn
Posts: 21
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim, I have installed font(Marathi-Indian language) and I am able to type it in textfield but when I debug or print it on Console it prints in 'English' only not in Marathi.
 
Tim Moores
Saloon Keeper
Posts: 3512
77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Most consoles only handle ISO-8859, or even just ASCII, not Unicode in general. If you can't find one that does (unlikely, I think) you may be better off redirecting the output to a file, and then handling that with a Unicode capable text editor.
 
Sac Jadhav
Greenhorn
Posts: 21
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I tried to debug application and also saved data in database but no luck
 
Dave Tolls
Ranch Hand
Posts: 2504
27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When dealing with character sets you need to ensure that all bits of the application are using the same character set, including any things you use to check results.
So in your case, is the character set of the db correct?
Is the character set of whatever you are using to check the value(s) stored in the db correct?

What happened when you output the values to a file with correct character set (UTF-16) and opened it in a suitable editor that has the correct font?
 
Sac Jadhav
Greenhorn
Posts: 21
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes Dave. character set of db and eclipse are correct i.e UTF-8
 
Dave Tolls
Ranch Hand
Posts: 2504
27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sac Jadhav wrote:Yes Dave. character set of db and eclipse are correct i.e UTF-8


But what about what you're using to actually see the values...and does the font used actually have glyphs to represents those code points?

This is why we're suggesting printing it out to a file since then you can try and deal with the font issue more easily, if you have a suitable application.
 
Sac Jadhav
Greenhorn
Posts: 21
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dave Tolls wrote:
Sac Jadhav wrote:Yes Dave. character set of db and eclipse are correct i.e UTF-8


But what about what you're using to actually see the values...and does the font used actually have glyphs to represents those code points?

This is why we're suggesting printing it out to a file since then you can try and deal with the font issue more easily, if you have a suitable application.


I checked in the database. I can type /input in Marathi in TextField but it inserts English characters in DB.
 
Dave Tolls
Ranch Hand
Posts: 2504
27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Then somewhere in your code it is converting it between what is input and what is stored.

You're going to have to track that, and the best way is to log the values as they enter your system into a file that you can then read, using an app that has the relevant font.

Since this is a webapp, have you checked the data sent up to the server using the developer tools for your browser?
 
Sac Jadhav
Greenhorn
Posts: 21
Hibernate Java jQuery
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry This is not a webapp. This is a Desktop application. when I debug it and try to ispect then I can see English characters only
 
Dave Tolls
Ranch Hand
Posts: 2504
27
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you mean by "English" characters?
I would expect '?' for characters it doesn't have a glyph for, which is likely for the debugger.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!