Blackberry Application to Access Remote Databases or Web-Services #Java Short Notes

Definitely, you can write a web application (web-site) to access remote databases or web-services, and you can access that web-application from Blackberry devices. However, you can also write Blackberry applications that will access remote databases and web-services. An example Blackberry application that accesses remote databases can be found at:https://www6.software.ibm.com/developerworks/education/os-blackberry/index.html. This application assumes that there is a web-application (with web-pages to be accessed from Blackberry devices), and the Blackberry application accesses those web-pages internally from code. For example, this application accesses posttransaction.php to insert data into a transaction table in a remote database. The application works alright. You have to download the code, create a Blackberry Application in JDE (for example) – also with the server side code, you have to setup a database driven web-site. The supplied PHP/MySQL code may not work exactly as it is, use the right version of PHP/MySQL or adjust the code/database. In my test, I also added one more option to show information from the database (in the Blackberry device). Change the URL of the web-site (in PHP) in the code (J2ME)

You can also write Blackberry applications that will utilize remote web-services. You can find one such example at: http://www.simplified-tech.com/website/webapp.nsf/webpages/ArticlesBBWebServices

Other Resources that you may be Interested in

From: http://sitestree.com/?p=5185
Categories:Java Short Notes
Tags:
Post Data:2011-08-02 05:52:17

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Your First Black Berry Application #Java Short Notes

The Idea: You need to install J2SE, JDE (from Blackberry web-site), Blackberry Device Simulator (from blackberry web-site). In JDE, you can write Blackberry applications. When you will run your applications in JDE, the application will be executed in a simulated Blackberry device. When you are done with your development, you can deploy your applications to a real black berry device.

From: http://sitestree.com/?p=5180
Categories:Java Short Notes
Tags:
Post Data:2010-04-01 08:35:24

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

iBATIS: Some Notes #Java Short Notes

  • You can download iBatis library from http://ibatis.apache.org/. Just make the Jar files available to your application
  • iBatis with Spring: Need to configure at least three files.
    1. Spring config file (applicationContext.xml) – Define database connection parameters, the location of the SQL Map config file, and one or more Spring beans for use within the application in Spring Config file.
    2. SQL Map config (SqlMapConfig.xml) – Define any iBATIS-specific configuration settings, and declare the location of SQL Map files in SQL Map config file
    3. SQL Map(s) (domainObject.xml) — SQL Map files typically map domain objects (POJOs) to database objects [tables]
  • In iBATIS web application, you need to use web.xml file as well
  • Steps in writing a simple iBATIS application
    • Write a POJO for the domain object
    • Create database table to represent the domain object
    • Use the Spring configuration file to configure properties, and JDBC DataSources (iBATIS SimpleDataSource, Jakarta DBCP (Commons), and any DataSource that can be looked up via a JNDI context), define location of SQL Map file, define beans
    • The sqlMap property must be wired with a reference to an iBATIS SqlMap-Client (through SqlMapClientFactoryBean) (Spring configuration file)
    • Configure SQL Map file (SqlMapConfig.xml): For domain objects list sql map files
    • Create actual SQL Map files that will contain SQL code and the mappings for parameter objects and result objects
    • Start writing Java code. Start with the service layer. Service interface, service Interface implementation with methods for database operation using iBatis
    • Write iBatis test client that will make use of the service interfaces for database operations

From: http://sitestree.com/?p=5157
Categories:Java Short Notes
Tags:
Post Data:2008-07-11 00:50:30

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Hibernate: Basic Concepts #Java Short Notes

Hibernate

  • Object Relational Mapping Software
  • ORM qualities: Pure relational, Light object mapping, Medium object mapping, Full object mapping
  • ORM Metadata: ORM metadata provides support for mapping between classes and tables, properties and columns, associations and foreign keys, Java types and SQL types.
  • Full Object Mapping: Supports advanced object modeling: composition, inheritance, polymorphism, persistence.
  • Hibernate provides database persistence
  • Hibernate provides persistence query
  • Hibernate may look like very similar to JPA (Java Persistence API)
  • Hibernate adds more features in addition to JPA features
  • Hibernate allows developers to develop persistent classes following object-oriented concepts such as association, inheritance, polymorphism, composition, and collections
  • Benefits of ORM and Hibernate: Productivity, Maintainability, Performance, Vendor Independence
  • Core Hibernate interfaces: Session Interface, Session Factory Interface, Configuration Interface, Transaction Interface, Query & Criteria Interface
  • Extension interface for Hibernate: Proxy Factor, Connection Provider, Transaction Factory, Transaction Interface, Transaction Management lookup, Cache Interface, Cache Provider Interface, Class Persister Interface, Identifier Generator, Dialect
  • Hibernate can be configured in both managed (Weblogic, Websphere) and non-managed (Tomcat) environments
  • You can set the SessionFactory to a JNDI by configuring a property hibernate.session_factory_name to make it easily accessible from different places
  • HQL: Hibernate allows developers to express queries in its own portable SQL extension that is called HQL

From: http://sitestree.com/?p=5156
Categories:Java Short Notes
Tags:
Post Data:2008-11-13 10:09:21

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Spring and iBatis: Some Notes [Will be updated later] #Java Short Notes

Implementing the data access layer of a Spring application using iBATIS.
Spring Framework and IBATIS

You can use JDBC with Spring for sure. Spring also simplifies the use of JDBC. iBATIS can provide one more step in simplification. Using iBATIS, you can mapdata and Java objects, also make use of simplified database operations.

Using iBatis with Spring involves three steps
Configuration: Configure various files at Data layer to be able to use iBatis
Mapping files: The mapping of the selected rows to the properties of the domain objects.
CRUD Operations: Learn how to use iBatis for select, delete, and update operations.

iBatis Notes:
allows the developer to write the custom SQL code they need to populate the bean properties
In a Spring iBATIS application, you need to configure the reference file and the mapping files.
org.springframework.orm.ibatis.SqlMapClientFactoryBean takes care of loading the configuration files.
You should not create and manage database transactions manually in the iBATIS mapping files. Always delegate the transaction management to Spring
In reference configuration file, you can list the sqlmap files.
You also need to use spring context file (applicationContext.xml ) that will link all configuration file together
it is a good idea to create a separate sqlMap file for each domain object.
Domain objects are POJOs
Mapping files for domains:

                                                         select * from Test     

Configuring iBATIS and Spring
Define the TestDao interface for example and its iBATIS implementation and then add the familiar dataSource bean.
Use the applicationContext.xml file to link the beans together.

usage in a sample application:
context = new ClassPathXmlApplicationContext(“applicationContext.xml”);
TestDao testDao = (TestDao)context.getBean(“testDao”);

Use select operation:
Add methods in the DAo as follows:
public List getAll() {
return getSqlMapClientTemplate().queryForList(“getAllTests”, null);
}

From: http://sitestree.com/?p=5154
Categories:Java Short Notes
Tags:
Post Data:2012-08-13 08:19:19

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Topics to Learn in Java Spring framework #Java Short Notes

Why Spring Framework?

  • What’s wrong with Java EE (EJB)
  • Light-weight vs. heavy-weight containers
  • Motivation for Spring
  • Spring Background

Spring Framework Overview

  • Spring features
  • Spring light-weight container architecture
  • Spring application context
  • Inversion of Control (IoC) design pattern
  • Dependency Injection (DI)
  • Advantages of IoC/DI
    • Design for testability
    • Low coupling
    • Code re-use
    • Consistent architecture and configuration
    • Easy-to-follow design
    • Good OOP

Spring Installation and Configuration

  • Spring libraries and dependancies
  • XML configuration files
  • Annotations

Spring IDE

  • Overview
  • Features
  • Installation
  • Editors, Wizards, Graphs, Views, Validators

Spring Persistence/DAO Support

  • Overview
  • JDBC
    • DataSources via JNDI
    • Templates
    • Exception Translators
    • Queries and updates
  • Hibernate ORM
    • Resource management and SessionFactory
    • Templates
    • Exception Translators
    • Transactions (intro to AOP)
    • API

Spring JMS

  • Overview
  • Templates
  • Connection, Destination, Transaction management
  • Sending and Receiving Messages (sync/async)
  • Listeners
  • Message-driven POJOs

Spring Testing

  • Unit Testing
  • Integration Testing
  • Mocks, Stubs, Fixtures
  • jUnit Integration
  • Spring TestContext Framework

Spring MVC and WebFlow

  • Overview
  • The DispatcherServlet
  • Configuration
  • Controllers: simple, form, multi-action
  • Views and view resolution: JSP/JSTL
  • Forms with Spring tag libraries
  • Data-binding, Property Editors, and Validation
  • I18N
  • Exception handling
  • Convention over configuration with annotation-driven controllers
  • Overview of Spring WebFlow
  • Integration with other frameworks – e.g. Sturts, JSF, Tapestry, WebWork (as requested)

Spring AOP

  • Overview
  • Concepts
  • Proxies
  • @AspectJ vs Spring AOP
  • API
  • Built-in aspects
  • Defining and using aspects

Spring Security (Acegi) Framework

  • Overview
  • Installation
  • Architecture
  • Configuration
  • Web Security
  • AOP-based security
  • Integration

Final Thoughts

  • Overview of Spring JMX
  • Overview of Spring Remoting
  • New features in Spring 2.5
  • Annotation vs. XML configuration (wiring)
  • Direction of Spring Framework
  • Best practices and architectural/design patterns

From: http://sitestree.com/?p=5119
Categories:Java Short Notes
Tags:
Post Data:2012-05-19 07:47:35

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Java/J2EE:Important Resources: Struts, Spring, Hibernate, JPA #Java Short Notes

Java/J2EE:Important Resources: Struts, Spring, Hibernate, JPA …… …. ….. …. … … … … … … .. ..
Struts

Spring, Hibernate, JPA

JSF

Servlets & JSP

Ajax, GWT, JavaScript

From: http://sitestree.com/?p=5116
Categories:Java Short Notes
Tags:
Post Data:2009-10-06 10:41:14

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Topics that You Need to Learn to Develop Service Oriented Architecture (SOA) based Enterprise Applications #Java Short Notes

Topics that you need to learn to develop Service Oriented Architecture (SOA) based Enterprise Applications.[Knowing what to learn is the first step of learning.]

  • Web Service Overview: SOA, Web-services, Web Service Standards, and Standard Managers
  • XML Syntax: XML vs. HTML, W3C and the XML Specification, XML Syntax
  • XML Namespaces: XML Name Conflicts, Qualified and Unqualified Names, Global and Local Scope
  • XML Schema: Specifications, Namespaces, Schema Document, Schema Root Element, Element, Importing/Including Schemas, Validating Documents
  • Advanced XML Schema: Non-atomic Simple Types, Restrictions or Facets, Extensions, Groups, Commenting Schema
  • Schema Best Practices and Patterns: Designing Good Schemata, Design Goals, Naming Conventions, Enumerations, Element vs. Type, Element vs. Attribute, Global vs. Local, Qualified vs. Unqualified, Default Namespace, Common Schema Design Patterns
  • SOAP: Specification, Basics, Envelope, Header, SOAP Body, Faults, SOAP and Protocols
  • WSDL: Specification, portType, message, types, Concrete, binding, Style and Use, service, How is WSDL Used?, WS-I Testing Tools
  • XML to Java Mapping: WSDL Definition Mapping, WSDL portType Mapping, Type Mapping
  • UDDI: UDDI Servers, Registry System, Business Entity, Business Service, Binding Template, Publisher Assertion
  • Java Web Service APIs: Java and XML Processing, JAX-RPC, JAXP, JAXR, JAXB, JAXM, SAAJ, JAX-WS, Enterprise Web Services
  • Axis: JWS Web Services, Building a Java Service Consumer with Axis, JWS Pros/Cons, Axis Custom Deployment Web Services, Axis Custom Deployment Options, Web Service Scope, Web Service Types, Java Bean Mapping, Axis Handlers and Chains, Axis MessageContext, Axis TCP Monitor (TCPMon), SOAP Monitor
  • Versioning: Classifying Changes, Handling Backward Compatible Change, Handling Non-Backward Compatible Change, Behavioral Change, WSDL Versioning
  • DOM and SAX: DOM Specifications, DOM Interfaces, Document Interface, Node Interface, NodeList Interface, NamedNodeMap Interface, Event-Based Parsing, SAX, Limitations of SAX, Benefits of SAX, Benefits of DOM

From: http://sitestree.com/?p=5111
Categories:Java Short Notes
Tags:
Post Data:2011-07-16 04:41:04

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

Content Management Systems in Java/J2EE platform #Java Short Notes

From: http://sitestree.com/?p=5110
Categories:Java Short Notes
Tags:
Post Data:2008-09-05 02:12:11

Shop Online: https://www.ShopForSoul.com/
(Big Data, Cloud, Security, Machine Learning): Courses: http://Training.SitesTree.com
In Bengali: http://Bangla.SaLearningSchool.com
http://SitesTree.com
8112223 Canada Inc./JustEtc: http://JustEtc.net (Software/Web/Mobile/Big-Data/Machine Learning)
Shop Online: https://www.ShopForSoul.com/
Medium: https://medium.com/@SayedAhmedCanada

#Engineering: #Canada: #Job/Contract/Project: Any #Engineering: #Computer, #Electrical, #Electronics, #Civil, #Chemical, #Mechanical, #Naval, #Biomedical, and misc Engineering

Date Posted:2021-07-22 .Apply yourself, or submit others as candidates; Build a recruitment team to submit others as candidates; submit RFP to be considered for projects in future; Try to become a vendor so that you are asked to submit consultants/resources in future. If these work for you. This list is posted in this blog everyday provided there are new projects under the criteria

  1. electrical-and-electronics-10006
  2. Electrical 1
  3. machinery-and-tools-10015
  4. Mechanical Street Sweeper
  5. architect-and-engineering-services-10048
  6. On-Demand Subsurface Utility Engineering (SUE) Retainer Services
  7. Woodsdale Road Detailed Design & Engineering
  8. Engineering Consulting Services for Scale House & Scale Replacement
  9. natural-resources-services-10051
  10. SP22TFF005 Mechanical Site Prep- Grand Forks East
  11. SP22TED251 – Mechanical Site Preparation – Excavator – Kamloops
  12. Mechanical Site Preparation – Excavator – Kamloops Field Team
  13. operation-of-government-owned-facilities-10039
  14. Engineering Services for Intersection Improvement Program
  15. research-and-development-r-d-10036
  16. Software reverse engineering prototypes development (W7701-217332/A)
  17. Engineering Services for Intersection Improvement Program
  18. Keywords Used:engineer,civil,mechanical,electrical,electronics,mechatronics,naval,biomedical,computer engineer,software engineer,civil engineer,biomedical,electrical engineer,electronics engineer,mechanical engineer,metallurgical,chemical engineer,industrial engineer,communications engineer,quality assurance engineer,Aerospace engineer,aeronautical engineer,Engineering manager,Agricultural Engineer,Automotive Engineer,Environmental Engineer,Geological Engineer,Marine Engineer,Petroleum Engineer,Acoustic Engineer,Acoustic Engineer,Aerospace Engineer,Agricultural Engineer,Applied Engineer,Architectural Engineer,Audio Engineer,Automotive Engineer,Biomedical Engineer,Chemical Engineer,Civil Engineer,Computer Engineer,Electrical Engineer,Environmental Engineer,Industrial Engineer,Marine Engineer,Materials Science Engineer,Mechanical Engineer,Mechatronic Engineer,Mining and Geological Engineer,Molecular Engineer,Nanoengineering,Nuclear Engineer,Petroleum Engineer,Software Engineer,Structural Engineer,Telecommunications Engineer,Thermal Engineer,Transport Engineer,Vehicle Engineer,engineering