Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9075833
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T18:57:42+00:00 2026-06-16T18:57:42+00:00

I have two questions regarding implementation of a small Database Application generated by me

  • 0

I have two questions regarding implementation of a small Database Application generated by me in JAVA using Netbeans 7.2 for school.

  1. I am using MS SQL Server 2008 with java using Netbeans 7.2. if i
    will implement my Database Application on my client computer do i
    need to install MS SQL Server 2008 on my client computer for using a
    small Database Application.

  2. The database i have created in MS SQL Server 2008 for my a small
    Database Application can i embedded my database file in my
    Database Application using Netbeans 7.2 because the database file i
    have created is on my computer. So how i will implement my a small
    Database Application on my client computer with database file
    without installation MS SQL Server 2008 on my client computer.

My Database Application development tools:

  1. Language JAVA
  2. IDE Netbeans 7.2
  3. Database MS SQL Server 2008
  4. Windows 7
  5. Jasper iReport

My Database Application Java database connectivity class file source code so how i can convert Java database connectivity source code for embedded database source code because Java Driver Manager using current my computer MS SQL Server 2008 instance name with username and Password.

import java.sql.*;
import javax.swing.*;

public class Conect {
    Connection conn=null;

    public static Connection Connector()
    {
    try 
        {
         Class.forName("com.microsoft.sqlserver.jdbc.SQLServerDriver");
         Connection conn = DriverManager.getConnection("jdbc:sqlserver://STAR;databaseName=test","me","778899");
        return conn;
        }

         catch (Exception exp)
            {
            JOptionPane.showMessageDialog(null, exp);
            }
        return null;
     }
}
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T18:57:43+00:00Added an answer on June 16, 2026 at 6:57 pm

    If you have a “desktop” app that needs a database (i.e. it needs to persist a dataset that’s not shared between users), use an embedded database engine. For Java, H2 is a good choice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have two questions regarding Java web application deployment and its impact on performance.
I have two questions regarding to the positioning of a mpl window (using WXAgg
I have two questions regarding the multidimensional arrays. I declared a 3D array using
I actually have two questions regarding exception/error handling in the iPhone app that I
I have two questions regarding Pysandbox: How do I achieve the functionality of eval
I have two questions regarding how to create / use the JDO persistence manager
I have two questions regarding the Evil Dicom library. I know with the floats
I have two questions regarding my script and searching. I have this script: $searchTerms
I am very new to these issues, please help. I have two questions regarding
I have two questions regarding the Flex combo box. The string representing the function

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.