Main Page

From Salespoint 5
(Difference between revisions)
Jump to: navigation, search
(News)
(News)
Line 10: Line 10:
  
 
==News==
 
==News==
 +
'''05.12.2013 Hello World - Breaking Dawn'''
 +
 +
''Changelog Salespoint 5.3.1 - 2013-12-05''
 +
 +
* Introduced <code>AuthenticationManager</code> component to allow obtaining the currently logged in user and checking for matching <code>Password</code> instances. If the former is only what you're looking for, prefer getting the <code>UserAccount</code> injected into a controller method by using <code>@LoggedIn</code> (see <code>BasketController.buy(…)</code> in the VideoShop project for example).
 +
* Introduced <code>AbstractEntity</code> to be used as base class for custom entities defining <code>equals(…)</code> and <code>hashCode</code> based on the supplied identifier.
 +
* Simplified application configuration necessary in user projects. The projects should only import the <code>SalespointWebConfiguration</code> class and add a subtype of <code>SalespointSecurityConfiguration</code> to override <code>configure(HttpSecurity)</code>. For examples see the BlankWeb or VideoShop samples.
 +
* Default configuration now exposes a <code>CharacterEncodingFilter</code> forcing the encoding to UTF-8 out of the box.
 +
* Default configuration now exposes a <code>BCryptPasswordEncoder</code> for secure password storage.
 +
* Deprecated <code>UserAccountManager.create(UserIdentifier, Passwort, Roles)</code> in favor of <code>UserAccountManager.create(String, Passwort, Roles)</code>
 +
* Deprecated <code>Order.cancel()</code> in favor of <code>OrderManager.cancelOrder(Order)</code>
 +
* Removed unused <code>@Get</code>-Annotation
 +
* Extracted <code>SalespointIdentifierConverter</code> from <code>JpaEntityConverter</code> to re-enable injecting <code>SalespointIdentifier</code> instances into controller methods.
 +
* Upgraded to Spring 4.0 RC1 and Spring Boot 0.5 M6.
 +
* Distribution now ships with JavaDoc attached.
 +
 +
''Migration guide''
 +
 +
1. In <code>pom.xml</code> upgrade the version of the parent from 0.5.0.M5 to 0.5.0.M6. Upgrade the version of the Salespoint dependency from 5.3.0 to 5.3.1.
 +
 +
2. In Eclipse, right-click your project and select "Maven > Update project", select "Force Update of Snapshots/Releases", click "OK". This step shouldn't be necessary but let's be safe.
 +
 +
3. Compare your application main classes to the ones in BlankWeb or VideoShop. Basically you should be able to do the following:
 +
 +
  - Change the <code>@Import</code> on the class to refer to <code>SalespointWebConfiguration.class</code> (should have been <code>Salespoint.class</code> before).
 +
  - Remove the previously contained class configuring security with the ones you find in current VideoShop or BlankWeb . Make sure you move over all customizations you made in <code>configure(HttpSecurity http)</code>.
 +
  - Generally speaking: if you didn't make any customizations to the configuration in the main application class, it should be safe to simply copy over the ones now available in VideoShop or BlankWeb.
 +
 +
4. Rightclick on Project -> Maven -> Download Sources, to import the Salespoint 5.3.1 Javadoc
 +
 +
 
'''05.11.2013 Hello World - Eclipse'''
 
'''05.11.2013 Hello World - Eclipse'''
 
* yet another update: blankweb.zip & videoshop.zip  
 
* yet another update: blankweb.zip & videoshop.zip  

Revision as of 12:56, 5 December 2013

LogoBig.png
Welcome to Salespoint 5 Framework Wiki.
To get started with Salespoint 5 check out our tutorials.
If you want to have more information and get deeper into Salespoint 5 check out documentation. You will find quicklinks to all topics below.


Contents

News

05.12.2013 Hello World - Breaking Dawn

Changelog Salespoint 5.3.1 - 2013-12-05

Migration guide

1. In pom.xml upgrade the version of the parent from 0.5.0.M5 to 0.5.0.M6. Upgrade the version of the Salespoint dependency from 5.3.0 to 5.3.1.

2. In Eclipse, right-click your project and select "Maven > Update project", select "Force Update of Snapshots/Releases", click "OK". This step shouldn't be necessary but let's be safe.

3. Compare your application main classes to the ones in BlankWeb or VideoShop. Basically you should be able to do the following:

  - Change the @Import on the class to refer to SalespointWebConfiguration.class (should have been Salespoint.class before).
  - Remove the previously contained class configuring security with the ones you find in current VideoShop or BlankWeb . Make sure you move over all customizations you made in configure(HttpSecurity http).
  - Generally speaking: if you didn't make any customizations to the configuration in the main application class, it should be safe to simply copy over the ones now available in VideoShop or BlankWeb.

4. Rightclick on Project -> Maven -> Download Sources, to import the Salespoint 5.3.1 Javadoc


05.11.2013 Hello World - Eclipse


04.11.2013 Hello World - New Moon


28.10.2013 Hello World


Full Changelog

Tutorials

The Tutorials page gives a short overview on the topic a tutorial covers.

Installing and configuring Eclipse

Guestbook

VideoShop


Apache Derby Network Server

Documentation

Salespoint 5.3 Javadoc

External Documentation

Download

Downloads

FAQ

Solutions for common mistakes and problems and how to solve them.

Contact

Forum
old Forum
Make sure you have read the FAQ first and you are using the most recent Salespoint 5 release.

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox