Skip to main content

Posts

Data Models in Database

Recent posts

Entity-Relationship Diagram ERD in Data Base Management System (DBMS)

  An Entity-Relationship (ER) diagram is a visual representation of entities and their relationships in a database. Entities : Entities are the objects. They are usually represented by rectangles in an ER diagram. Each entity has attributes that describe its characteristics. Relationships : Relationships represent how entities are related to each other. They are typically depicted by lines connecting entities, with labels indicating the nature of the relationship. Relationships can be one-to-one, one-to-many, or many-to-many. Example : Let's consider a simple example of a library database: Entities of Library  Database : 1. Book : enity can include attributes like ISBN, title, author, and publication year. 2. Author : enity can include attributes like author ID, name. 3. Member : enity can include attributes like member ID, name, address, and contact information. Relationships : 1. Book-Author Relationship : Each book is authored by one or more authors, and an author ca...

Computer Network

Computer Network is essentially systems of interconnected computers and devices that communicate with each other for various purposes, such as sharing resources, exchanging data, or providing services. HUB Hub is a device that connects multiple devices in a network.  It operates at the physical layer of the OSI model and essentially broadcasts data to all devices connected to it.  Hubs are considered outdated technology and have been largely replaced by switches, which offer better performance and efficiency by only sending data to the intended recipient. ROUTER Router is a networking device that forwards data packets between computer networks.  It operates at the network layer of the OSI model and is responsible for determining the best path for data to travel from the source to the destination across interconnected networks.  Routers use routing tables and algorithms to make these decisions.  Additionally, routers often include features such as firewall pro...

Please create domain manually using asadmin command line utility

   In netbeans this errors is visible while installing a glassfish server. "Please create domain manually using asadmin command line utility" Asadmin is a command-line tool for managing GlassFish Server, which is an open-source application server for the Java EE platform. Asadmin provides a set of commands for performing various administrative tasks such as deploying and undeploying applications, configuring server properties, and managing server resources such as JDBC connection pools, JMS destinations, and security realms. To use asadmin, you need to have GlassFish Server installed on your system and the GlassFish bin directory should be added to your system's PATH environment variable. Once you have done that, you can open a terminal or command prompt and type "asadmin" followed by the desired command and its options. Here are some examples of asadmin commands: To start GlassFish Server: asadmin start-domain domain1 To deploy an application: as...