hi all,
I ve a requirement for standalone travel software dat is not web based which involves rentung vehicles,arraging drivers, generating bill, making a picture of bus seats n which shows seat nos available.. i want to do it on java platform. can i do static html page using dreamweaver or use applets swings( which i am not good at no knowledge)..
please help me which development tools i shud use it also involves database to maintain details,,
hoping for reply soon.. thank you..

Dani AI

Generated

For a standalone, GUI-driven travel/booking program the quickest route is a proper desktop UI + a real data store — not static HTML or browser applets. Applets are effectively dead in modern browsers and Dreamweaver is for web pages, so those choices will cause more trouble than help for a shop-floor application. clearly needs a desktop UI with persistence; and were right to steer you away from web-only options.

Practical stack that keeps development and future maintenance manageable:

  • Use Java with a current LTS JDK (11 or 17). For the UI pick JavaFX (OpenJFX) for a modern, data-bindable interface and Scene Builder for drag-and-drop layout. Swing still works but is older.
  • IDE: IntelliJ Community, NetBeans, or Eclipse. Build tools: Maven or Gradle.
  • Database: for a single machine use an embedded DB (H2, SQLite, or Derby). If multiple terminals must share data, run a server DB (Postgres/MySQL) and add proper concurrency controls.

Implementation notes and gotchas:

  • Design a simple domain model (Bus, Seat, Driver, Booking, Invoice). Represent the seat chart in the model (2D positions + status) and bind to UI controls so seat drawing and state stay in sync.
  • Protect bookings with database transactions and constraints (unique booking rows or SELECT FOR UPDATE / optimistic locking) to avoid double-booking when multiple users access the same data.
  • Prototype first: draw screens, implement CRUD for drivers/buses, then add seat-map booking and billing. Backup and export features are vital; do not rely on single text files for production data.

Packaging and next steps:

  • Package as an executable jar or build native installers (jlink/jpackage or bundlers) so the app runs on target machines without complex setup. Test on real hardware and simulate concurrent bookings early. ’s point about drag-and-drop tools is valid for rapid prototyping, but use Scene Builder + JavaFX for a robust final product.

Recommended Answers

All 8 Replies

why did you post this twice?

if it will be stand alone why not write to a plain old file?

it involves lot of GUI its like a software which shopping malls will use not dat big..
database n user interface so can i use static html page i think it becomes web page??isnt it???

if you just need something to hold info, why do you want it to be html? usually info would be stored in XML, but if it won't be web based then you could just use a txt file, with info that your application could parse through.

it could look something like:

bus id=1001 destination ="school" totalSeats=20
seatingchart bus=1001 [
                                   [01,02,03,04]
                                   [05,04,07,08]
                                   [09,10,11,12]
                                   [13,14,15,16]
                                   [17,18,19,20]
                      ]
passenger id=102901b2bs2 bus=1001 distance=4
...etc...

parsing though this kind of text is a little tricky to get right, but if you can do that then make your program display stuff for the user.

i am still unclear as to what you want to use html for. do you want to generate a page from within the program?

I cant code from scracth using txt file the reason is i need graphical user interface(GUI)that is to take name, allocating seats ,arranging driver all those things shud in user interface and storing it in a database, which is a sstandalone project or program got it!!so i am asking shud i need to use applets ,swings n core java or shall i do it like static webpages???? can i use html for standalone project..but look n feel of a web page differs. for travel software i think shud implemnt using applets core java swings....i am confused wat to do?????any idea ???

since it is going to be a standalone non-web based application... why are you considering using html and applets?
a Swing application would do for what you're required to write

since it is going to be a standalone non-web based application... why are you considering using html and applets?

Presumably because he is another drag&drop user of Dreamweaver...

I cant code from scracth using txt file the reason is i need graphical user interface(GUI)that is to take name, allocating seats ,arranging driver all those things shud in user interface and storing it in a database, which is a sstandalone project or program got it!!so i am asking shud i need to use applets ,swings n core java or shall i do it like static webpages???? can i use html for standalone project..but look n feel of a web page differs. for travel software i think shud implemnt using applets core java swings....i am confused wat to do?????any idea ???

you don't have too, you can store the information that the GUI takes in a text file that has a certain, syntax that you design, so that it can save the information in a file that can be reopened viewed in a graphical way, i say write a swing app, that does it for you... you don't have to write any .txt by hand, you can write your gui to do it for you

k i will do that.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.